Commit Graph

75 Commits

Author SHA1 Message Date
wangbin579
3f9a87cf23 Fix problems related to connection creation 2018-05-23 09:19:05 +08:00
wangbin579
b3501eb2c6 Fix several problems revealed by static analysis 2018-05-21 15:14:39 +08:00
jingxiaobing
5f3a73c8f1 check plugin type earlier 2018-05-21 11:36:37 +08:00
jingxiaobing
e2defcf76c Merge branch 'vdb2table' 2018-05-18 14:49:15 +08:00
jingxiaobing
8cf4f1ef79 not use alloca, it's obsolete 2018-05-17 20:04:14 +08:00
wangbin579
2536c633a1 Optimize code hinted by coverity scan and cppcheck 2018-05-17 18:01:41 +08:00
tsthght
b00195af73 duplicate declare cetus_monitor_open 2018-05-17 16:33:06 +08:00
jingxiaobing
913b6a8987 compatible with mysql5.1 authentication 2018-05-17 14:24:42 +08:00
jingxiaobing
23cadebb1e fix change user bug 2018-05-16 20:27:13 +08:00
wangbin579
1e68639524 Add options for client idle timeout 2018-05-16 18:56:18 +08:00
jingxiaobing
c0fa3f3128 Merge branch 'auth-switch', #44 mysql8 client can login after switch to mysql_native_password
Conflicts:
	plugins/admin/admin-plugin.c
2018-05-16 18:19:59 +08:00
jingxiaobing
dea8ae911d implement server-side auth switch, now mysql8 client can login 2018-05-16 17:57:23 +08:00
wangbin579
b4a967bb14 Fix more warnings 2018-05-16 17:42:42 +08:00
wangbin579
2549cc5abd Fix warnings 2018-05-16 17:30:56 +08:00
wangbin579
106f03c599 Merge branch 'master' of https://github.com/wangbin579/cetus 2018-05-16 17:10:27 +08:00
liuyanlei25
b2b75a75bf Ip whitelist or blacklist supports ip range 2018-05-16 15:42:49 +08:00
wangbin579
501d40fc56 Remove duplicate code 2018-05-15 18:40:23 +08:00
tsthght
32fb5f4e76 fix concurrency problems temporarily 2018-05-15 17:38:16 +08:00
tsthght
e8e0c06653
Merge pull request #52 from tsthght/bug/save_settings
make variables which type are OPTION_ARG_NONE support command of save
2018-05-14 20:26:32 +08:00
jingxiaobing
0b8bc3cf97 not save challenge from backends, cetus can generate challenge directly 2018-05-14 17:41:18 +08:00
tsthght
9bf1e12bfd make some variables which type are OPTION_ARG_NONE support save settings 2018-05-14 17:31:03 +08:00
jingxiaobing
e7f9a2521b fix OPENSSL precompile switch 2018-05-11 15:50:51 +08:00
jingxiaobing
e4e0cbdf61 Merge branch 'ssl-support', Closes #7 2018-05-11 15:16:15 +08:00
jingxiaobing
2e93afac01 Add --ssl option, default to false, when set to true, client can connect with SSL
User must provide 'server-key.pem' and 'server-cert.pem' in the --conf-dir, which can be generated by mysqld
2018-05-11 15:11:38 +08:00
wangbin
b36adde0c0
Merge pull request #48 from wangbin579/master
Fix set autocommit related problems
2018-05-10 09:10:23 +08:00
wangbin579
65966050bf Fix set autocommit related problems 2018-05-10 09:07:16 +08:00
jingxiaobing
5160791330 SSL_writev 2018-05-09 17:41:28 +08:00
jingxiaobing
dad2fccd48 Merge branch 'master' into ssl-support
Conflicts:
	plugins/admin/admin-plugin.c
2018-05-09 14:52:45 +08:00
wangbin
c9e5ba13e9
Merge pull request #41 from tsthght/feature/saveconfig
1 support save settings 2 fix some bugs about show/set variables
2018-05-09 09:24:11 +08:00
wangbin579
9555d9323a Disable client plugin auth 2018-05-08 14:23:20 +08:00
wangbin579
bd4478a48a Try to fix default charset problems 2018-05-08 11:36:56 +08:00
jingxiaobing
4c4e19b053 compatible with zlib compression 2018-05-04 17:30:14 +08:00
jingxiaobing
fb6135262e OpenSSL basic support, not yet compatible with compression 2018-05-03 16:31:41 +08:00
tsthght
3848861646 1 support save settings 2 fix some bugs about show/set variables 2018-05-02 09:17:08 +08:00
tsthght
db11d4af10 support sharding key type int64 2018-04-25 16:42:32 +08:00
wangbin579
e4aedef38d Change version to 1.0 and remove warning related logs 2018-04-17 11:43:20 +08:00
jingxiaobing
50b05fc40d fix error, delete null pointer when init 2018-04-13 14:55:04 +08:00
jingxiaobing
1b153b61ae use GHashTable<(schema, table), sharding_table_t*> to quick find table info
shard_conf_get_fixed_group() don't need a `db` parameter, just pick from all groups
2018-04-12 11:15:47 +08:00
jingxiaobing
f712e4ea94 vdb define sharding method for tables, not for schemas 2018-04-11 17:45:33 +08:00
wangbin579
9ee19bd296 Fix admin_show_variables related problems 2018-04-10 15:55:14 +08:00
jingxiaobing
4842e493ef fix error when GROUP BY db.table.col style name 2018-04-09 14:20:26 +08:00
wangbin579
a2c5ad42b9 Fix the 'attempt to free invalid pointer' problem revealed by tcmalloc 2018-04-08 15:22:16 +08:00
wangbin579
9f47875bde Fix chaos when some backends reports err while others not 2018-04-08 10:24:19 +08:00
wangbin579
02c2d3817b Try to add tcmalloc support 2018-04-04 15:19:12 +08:00
wangbin579
635635c472 Fix admin add backend related problems 2018-04-02 18:06:32 +08:00
wangbin579
ed61769cf7 Add pending event check when prematured returned 2018-04-02 16:27:32 +08:00
wangbin579
ce0bc4b6ff Fix dup write wait problems when tcp streamed 2018-03-30 09:12:39 +08:00
wangbin579
5e504c1d1c Fix dead session when tcp streamed 2018-03-29 11:28:54 +08:00
wangbin579
8aec1a9b4a Remove cmake error related to tests 2018-03-28 17:24:10 +08:00
wangbin579
ce978e117c Add timeout for idle conn, etc 2018-03-28 17:05:12 +08:00