Commit Graph

403 Commits

Author SHA1 Message Date
tsthght
c979314cad modify select help 2019-01-07 18:58:20 +08:00
lazio579
69b2dc0c87 Merge branch 'master' into subtable 2019-01-07 14:35:32 +08:00
lazio579
0902c0fbb0 Reject sub query aggregate functions 2019-01-07 14:09:43 +08:00
lazio579
f074722a09 Just a try 2019-01-07 10:35:58 +08:00
lazio579
2837f12f89 Support dist tran in one instance 2019-01-04 15:03:36 +08:00
lazio579
1907c7d435 Merge branch 'master' into optimize 2018-12-29 11:18:46 +08:00
lazio579
69eca5123d Fix join problems when one vdb contains two dbs 2018-12-29 11:09:23 +08:00
lazio579
3d45b1699c Add options for fast streaming 2018-12-27 14:26:47 +08:00
lazio579
2889741311 Optimize xa transactions when only one server does write operations 2018-12-27 11:15:56 +08:00
lazio579
a6228a287f Merge master 2018-12-26 14:31:17 +08:00
lazio579
43b68dbd86 Don't supplement order by when MySQL version < 8 2018-12-26 11:12:58 +08:00
lazio579
fdfdc69f9f Fix issue 164 2018-12-26 09:39:41 +08:00
lazio579
12e7f85e6c Support kill query through the admin client 2018-12-25 21:35:25 +08:00
lazio579
4098cc54de Merge branch 'master' into optimize 2018-12-24 11:01:19 +08:00
lazio579
91d4c7260e Fix issues reported by coverity scan 2018-12-24 11:01:00 +08:00
lazio579
a3d249c6a2 Don't send large contents to client in one time 2018-12-20 15:21:50 +08:00
lazio579
d3fbf2f61d Close server connections when adjusting attribute failed 2018-12-20 11:47:07 +08:00
lazio579
f08817525c Merge master 2018-12-20 08:03:37 +08:00
lazio579
e96b75ae8b Add option for charset checking 2018-12-19 16:30:48 +08:00
lazio579
ffea5741d6 Go fast streaming when tcp stream is disabled 2018-12-14 15:51:39 +08:00
lazio579
9b55834beb Merge branch 'master' into optimize 2018-12-13 15:54:07 +08:00
lazio579
388e231b3b Merge remote-tracking branch 'origin/parser/index_hint' 2018-12-13 15:18:20 +08:00
lazio579
209a8063f3 Merge branch 'master' into optimize 2018-12-13 14:17:35 +08:00
lazio579
e9eadc2f80 Fix problems related to drop dababase 2018-12-13 10:39:55 +08:00
lazio579
f0859c7c75 Merge master 2018-12-12 14:59:42 +08:00
lazio579
d8b6a1cb0d Fix black list 2018-12-11 18:01:48 +08:00
lazio579
f1cc71db09 Fix black list 2018-12-11 17:59:29 +08:00
lazio579
20a524b355 Merge branch 'master' into optimize 2018-12-11 15:16:14 +08:00
lazio579
7262be1182 Fix tcp stream related problems 2018-12-11 15:15:53 +08:00
tsthght
c529eb3cd7 fix problem about index hint 2018-12-10 15:57:58 +08:00
lazio579
72c64ed4f8 Optimize memory allocations 2018-12-10 10:35:27 +08:00
lazio579
d9963d1291 Merge branch 'master' into optimize 2018-12-10 08:02:54 +08:00
lazio579
098b41157e Fix explain modification problems 2018-12-07 17:40:43 +08:00
lazio579
40450248d2 Merge branch 'master' into optimize 2018-12-06 14:20:06 +08:00
lazio579
6b2cbc97be Optimize order by rewrite 2018-12-06 11:00:27 +08:00
lazio579
9f7a584aae Fix order by rewrite problems when meeting case when 2018-12-06 09:24:34 +08:00
lazio579
199f96f4c9 Apply patch which is lost 2018-12-04 11:02:03 +08:00
lazio579
bf1c991c38 Fix problems caused by git --hard -f 2018-12-04 09:42:05 +08:00
lazio579
bf87b71e9f Fix more memory leaks related to the master process 2018-11-30 18:04:49 +08:00
lazio579
7f74bc2cd9 Fix regression errors 2018-11-28 16:14:01 +08:00
lazio579
791dc999ca Fix issue 162 2018-11-28 16:04:50 +08:00
lazio579
3806d85c35 Remove buffer overflow detected problems 2018-11-21 19:57:25 +08:00
lazio579
2af13cc9de Fix resp related problems when server prematurely closed connections 2018-11-21 14:56:47 +08:00
lazio579
3309ac3d83 Remove idle conn efficiently 2018-11-19 12:29:31 +08:00
lazio579
953b25d5ac Change max long query time 2018-11-19 11:35:24 +08:00
lazio579
0810424e55 Add code for removing old connection when needed 2018-11-19 09:15:29 +08:00
lazio579
0c7a084cc8 Fix issue 157 2018-11-16 13:47:48 +08:00
lazio579
4e6cc8d364 Config mysql trx isolation level 2018-11-14 11:42:19 +08:00
lazio579
000d5eaed2 Fix problems related to the sql log status command 2018-11-13 17:27:27 +08:00
lazio579
7822e5bdb7 Remove some message logs 2018-11-12 07:52:19 +08:00
tsthght
59e22af305 fix bug in range scenario when using between 2018-11-09 09:25:01 +08:00
lazio579
a3777814f2 set errno zero before calling g_ascii_strtoll 2018-11-07 10:34:35 +08:00
lazio579
5b78650e9b Support 64 integer for sharding 2018-11-07 09:15:04 +08:00
lazio579
ab9e577fca Support 64 int for max resp len 2018-11-06 10:56:02 +08:00
tsthght
e07036d142 modify:1 update/select tb_heartbeat interval 10ms 2 check slave delay interval 100ms 3 check slave interval 1s 4 'select * from backends' show accurate delay 2018-11-05 16:11:07 +08:00
lazio579
4f94b4a927 Add ms for slave delay checking 2018-11-05 15:09:10 +08:00
lazio579
f6e2cfa654 Fix admin concurrency problems 2018-10-25 16:40:12 +08:00
tsthght
8b90ecd786 admin support: 1 remove backend xx; 2 remove backend where backend_ndx=xx|address=xx 2018-10-24 14:44:55 +08:00
tsthght
cc35f360b8 admin support: 1 /**/; 2 select @@version_comment limit 1; 3 quit command 2018-10-22 15:32:48 +08:00
tsthght
d78b043742 modify bug about mgr 2018-10-18 15:13:01 +08:00
lazio579
7ef8d4527f Support multiple-cols for group by and order by 2018-10-12 17:52:40 +08:00
lazio579
5a0c6644a1 Only support HAVING condition without limit 2018-10-12 11:49:38 +08:00
lazio579
ceba8e4e53 Fix sql modification related problems 2018-10-12 11:03:34 +08:00
lazio579
23b66031e2 Close admin listen socket when receiving change binary signal 2018-09-30 10:25:59 +08:00
lazio579
8de3c3a4f0 Add debug logs 2018-09-30 08:54:14 +08:00
lazio579
7035110d59 Remove unix domain socket link when restarting 2018-09-29 10:09:45 +08:00
lazio579
17b443c49e Fix ssl related problems when ssl_new returns nil 2018-09-28 16:21:05 +08:00
lazio579
1d0291eec3 Support single instance 2018-09-28 10:42:29 +08:00
tsthght
701c8404d0
Merge pull request #143 from tsthght/bugfix/saveconf
allow-nested-subquery/ssl can save to the config file
2018-09-27 20:57:13 +08:00
tsthght
cdcb5f4a6f allow-nested-subquery can save to the config file 2018-09-27 20:38:50 +08:00
lazio579
f5af82cfff Fix client connections stat related problems 2018-09-27 09:41:50 +08:00
lazio579
2024aae3de Send QUIT when closing backend connections 2018-09-26 17:54:13 +08:00
lazio579
fa8b82200f Don't return pid for 'select conn_num from backends' 2018-09-25 14:29:39 +08:00
lazio579
d510eabff9 Fix admin related problems 2018-09-25 14:10:25 +08:00
wangbin579
afeaf54362 Set admin_read_merge true when just reading 2018-09-18 18:20:18 +08:00
wangbin579
7d11a77642 Add help for show maintain status 2018-09-18 09:39:24 +08:00
wangbin579
2080acde82 Add pid for some admin commands 2018-09-18 09:06:19 +08:00
wangbin579
3879c486fb Don't return dup user passwords 2018-09-18 08:49:54 +08:00
jingxiaobing
4903929611 Any aggregate function column can be HAVING condition 2018-09-17 18:10:33 +08:00
wangbin579
ffdb548b1b Merge branch 'single-process' of https://github.com/Lede-Inc/cetus 2018-09-17 08:55:33 +08:00
tsthght
cc6a52018b fix error by mysqltest 2018-09-14 21:49:35 +08:00
tsthght
a8234212a8 fix some warning by scan coverity 2018-09-14 21:27:56 +08:00
wangbin579
9650c23f91 Remove reassigned variables 2018-09-14 10:36:35 +08:00
wangbin579
93be0ceeed Merge 1.1 2018-09-13 10:45:24 +08:00
liuyanlei25
b7c2c57a9e fix rename problem 2018-09-06 20:56:51 +08:00
liuyanlei25
be00892bcd
Merge pull request #136 from liuyanlei25/master
auto save settings
2018-09-06 17:49:46 +08:00
tsthght
6b5c1ea1e0
Merge pull request #137 from tsthght/bugfix/adminpwd
fix bug about admin pwd
2018-09-06 17:24:33 +08:00
tsthght
cfbbd4593a modify admin pwd 2018-09-06 17:21:57 +08:00
liuyanlei25
88b6939657 consider remote config 2018-09-06 14:58:17 +08:00
tsthght
9768282755
Merge branch 'master' into master 2018-09-06 11:08:13 +08:00
liuyanlei25
8afd490654 maintaining backend doesn't save BD config 2018-09-06 10:41:53 +08:00
tsthght
7bb654a530 only one rw node allow 2018-09-05 21:23:51 +08:00
liuyanlei25
3aee3052f3 save allow_ip/deny_ip settings 2018-09-05 18:00:48 +08:00
wangbin579
c91b5a37ef Admin with no bpf enabled 2018-09-04 18:42:17 +08:00
wangbin579
e924323e28 Fix admin related problems for multiple proccesses 2018-09-04 15:21:51 +08:00
jingxiaobing
f1144467ec admin: SHOW VARIABLES print hashed admin-password 2018-09-04 15:19:33 +08:00
liuyanlei25
1ef7a6f228 add auto save settings;fix affacted_rows when update backends;deleted backend changed type not writen in files 2018-09-03 16:53:33 +08:00
wangbin579
c5c1011539 Merge branch 'master' into multi-processes 2018-09-03 11:02:40 +08:00
jingxiaobing
5b1bd43d4f fix bug: CREATE SHARDED TABLE; logging when creating VDB and table 2018-08-29 21:31:09 +08:00
wangbin579
cd8a650bb4 Merge branch 'master' into multi-processes 2018-08-29 17:32:25 +08:00
wangbin579
26840215de Fix problems related to autocommit=1 2018-08-29 16:57:57 +08:00
wangbin579
a9b2cd8629 Add more log for recording server attr 2018-08-29 09:36:03 +08:00
wangbin579
96b4d82613 Fix regression errors 2018-08-29 08:26:35 +08:00
wangbin579
e65b6aea11 Merge branch 'master' into multi-processes 2018-08-28 16:00:50 +08:00
wangbin579
7e09ee727d Add more logs 2018-08-28 09:52:44 +08:00
wangbin579
8e73123afd Merge branch 'master' into multi-processes 2018-08-27 16:10:50 +08:00
wangbin579
b40a5700b3 Merge branch 'libev' of https://github.com/Lede-Inc/cetus 2018-08-27 16:09:06 +08:00
tsthght
8222240ea5
Merge pull request #128 from tsthght/feature/variables
support command: config reload variables
2018-08-24 19:06:26 +08:00
tsthght
2c1297aed9 support command: config reload variables 2018-08-24 18:31:50 +08:00
wangbin579
90423ea469 Merge branch 'master' into multi-processes 2018-08-24 18:10:16 +08:00
wangbin579
ac7a233f50 Tolerate MySQL SERVER_STATUS_IN_TRANS abnormal settings(5.6) 2018-08-24 17:47:29 +08:00
wangbin579
0cb447ee43 Remove srv in network_mysqld_write 2018-08-24 16:38:49 +08:00
wangbin579
6b0a939e2f Merge master 2018-08-24 15:07:50 +08:00
jingxiaobing
e3962ae44e extract acl module 2018-08-21 19:04:33 +08:00
wangbin579
1370d956ae Optimize code hinted by cppcheck 2018-08-21 14:13:07 +08:00
jingxiaobing
5af0d54307 unused code 2018-08-21 12:15:28 +08:00
tsthght
12c5210a5c Optimize more code hinted by coverity scan 2018-08-21 10:05:05 +08:00
wangbin579
78826aa070 Optimize more code hinted by coverity scan 2018-08-20 18:15:16 +08:00
wangbin579
1546298081 Optimize code hinted by coverity scan 2018-08-20 17:46:43 +08:00
wangbin579
ded6e6c8e4 Merge code for kill query 2018-08-20 16:08:09 +08:00
wangbin579
87f6be8dc0 Add code for kill query 2018-08-20 15:19:00 +08:00
jingxiaobing
5acc623945 kill query from <admin> 2018-08-20 15:13:42 +08:00
jingxiaobing
fff439299c session id 2018-08-20 14:45:46 +08:00
wangbin579
8f3087d974 Merge branch 'master' into multi-processes 2018-08-20 11:07:15 +08:00
wangbin579
cd3f134c3d Fix coredump caused by show warnings and large responses 2018-08-20 10:40:37 +08:00
tsthght
b4f6735978
Merge pull request #124 from tsthght/enhance/hidesql
change sql-log-filename to sql-log-prefix
2018-08-17 18:36:16 +08:00
tsthght
25b01d1933 change sql-log-filename to sql-log-prefix 2018-08-17 18:30:04 +08:00
Mikurula
b870a543b9 config set variables can change remote settings 2018-08-17 16:17:24 +08:00
wangbin579
5ce1be8ade Merge master 2018-08-16 18:05:47 +08:00
wangbin579
a0ddb9835b Modify backend index related problems 2018-08-16 17:34:41 +08:00
wangbin579
027c7a3a4b Fix xa command truncated problems 2018-08-16 16:15:35 +08:00
wangbin579
3724a7ca7f Add pid for sql log status 2018-08-16 14:59:10 +08:00
wangbin579
25e75fc42c Change some admin commands for multiple processes 2018-08-16 10:29:51 +08:00
wangbin579
0183498c1e Fix dup xa id problems when multi-processed 2018-08-15 14:33:23 +08:00
wangbin579
ffa21bc963 Merge branch 'master' into multi-processes 2018-08-14 17:08:46 +08:00
tsthght
d41479c558 fix warning about sql_log_maxsize 2018-08-13 16:03:46 +08:00
wangbin579
dcd3305d54 Fix warnings and problems related to server timeout revealed by tcpcopy 2018-08-13 11:05:20 +08:00
jingxiaobing
f158e87159 fix bug: HAVING field check 2018-08-10 15:42:59 +08:00
wangbin579
6171380c3c Merge master 2018-08-10 14:38:39 +08:00
tsthght
5278bbea80
Merge pull request #109 from tsthght/feature/sqllog
add full log
2018-08-09 11:37:48 +08:00
tsthght
fb36676d9c add full log 2018-08-09 11:32:44 +08:00
wangbin579
468166cdb2 Merge branch 'master' into multi-processes 2018-08-07 14:36:56 +08:00
wangbin579
810828350c Add log for tracing session sqls 2018-08-07 12:17:13 +08:00
wangbin579
802b168a84 Add log for checkint reuse port 2018-08-06 14:37:13 +08:00
wangbin579
e2839023ab Remove reconfigure,etc and limit show connectionlist num 2018-07-31 14:28:48 +08:00
wangbin579
3bde189a05 Support non-stop upgrade 2018-07-31 10:10:30 +08:00
wangbin579
40f942880b execve sucess 2018-07-30 18:57:59 +08:00
tsthght
1681a06255
Merge pull request #107 from tsthght/enhance/log-level
adjust log level
2018-07-29 11:15:57 +08:00
tsthght
5bd4541a25 adjust log level 2018-07-29 11:14:38 +08:00
wangbin579
6ce519e33a Merge branch 'master' into multi-processes 2018-07-27 17:02:07 +08:00