Commit Graph

4323 Commits

Author SHA1 Message Date
61868f44dc *: Support the statement of "create table ... like" (#2707) 2017-02-22 23:57:04 +08:00
f7c95f3f42 executor: grant statement allow pattern string in db and table name (#2688) 2017-02-22 22:59:18 +08:00
ceeeb2ad36 ddl: remove useless argument (#2710) 2017-02-22 18:49:59 +08:00
b277b613f7 model: fix ddl data race (#2708) 2017-02-22 18:18:06 +08:00
94418b289f *: add a ctx parameter to distsql.Select, kv.Client and tikv.Client (#2699) 2017-02-22 16:02:22 +08:00
a2f2e3f40a tidb,store/tikv: use special session to execute ExecRestrictedSQL (#2687) 2017-02-22 15:08:17 +08:00
95f6b237ab executor: fix statement count metrics for prepared statement. (#2704) 2017-02-22 13:22:45 +08:00
5e59fabd1c Fix compatibility with navicat (#2698) 2017-02-22 13:08:03 +08:00
4f95252ab0 *: add Cancel method for tidb.Session, Canceled for context.Context (#2636) 2017-02-22 12:56:20 +08:00
16fa15d890 *: support revoke statement (#2661) 2017-02-21 22:05:50 +08:00
bb2aace0d6 ddl: Fix the bug that showing status row count is 0 (#2696) 2017-02-21 21:01:14 +08:00
b4e7a39d69 *: update tipb, add default_val on column info (#2700)
Prepare for #2690
2017-02-21 20:26:07 +08:00
62340db3c0 mysql: change the default decimal for datetime. (#2694) 2017-02-21 19:50:54 +08:00
e6435e4fb1 server: ignore parseAttrs error in handshakeResponse (#2692)
It seems .NET send the wrong packet format.
Connection attribute is not important and can be ignored.
2017-02-21 16:07:47 +08:00
624e7edebe executor: fix bug about topn pushing down. (#2693) 2017-02-21 14:54:56 +08:00
657a74fdf6 *: add parser and definition for all unsupported builtin funcs (part 6) (#2679) 2017-02-21 11:47:39 +08:00
3294103a37 *: add parser and definition for all unsupported builtin funcs (part 7) (#2680) 2017-02-21 11:23:43 +08:00
fee2ed1849 ddl: Make verification background job more stable (#2683) 2017-02-20 22:43:11 +08:00
6859d121b9 txn:improvement for point get by unique key or pk (#2631) 2017-02-20 22:39:36 +08:00
416ed4d961 plan: prune cor cols in gby items. (#2568) 2017-02-20 22:34:30 +08:00
fd9744c5e9 executor: start a goroutine to consume task channel if errorred. (#2678)
Fix goroutine leak.
2017-02-20 22:18:14 +08:00
24fc89333b server, session: add commitRetryLimit config. (#2684) 2017-02-20 22:01:28 +08:00
43c73b7caa util/types: fix bug when truncating string values. (#2686) 2017-02-20 20:35:47 +08:00
846b267b46 util/types: ignore string truncate error. (#2685) 2017-02-20 19:51:08 +08:00
1ac3a5a278 Make tidb comptible compatible with navicat (#2681) 2017-02-20 15:08:39 +08:00
a202e5085a *:add parser and definition for: (#2677)
BENCHMARK, CHARSER, COERCOBILITY, COLLATION, ROW_COUNT, SESSION_USER, SYSTEM_USER

:q!
2017-02-20 10:41:32 +08:00
41afe4e934 *: add parser and definition for: (#2667) 2017-02-19 17:07:22 +08:00
faf74ee5ca executor: fix a bug when subquery meet update. (#2669) 2017-02-18 19:18:50 +08:00
6847aaaafa tikv/oracle: remove updated channel and mutext for last TS. (#2675) 2017-02-18 16:33:13 +08:00
4dcd7c8d41 *: fix bug about scalar subquery. (#2674) 2017-02-18 15:42:26 +08:00
417122af42 ddl: save original schema ID for allocator when rename table. (#2671)
Fixes a bug that renamed table to another database failed to insert.
2017-02-17 22:19:00 +08:00
128e8e86d5 executor: fix bug about left outer join. (#2672) 2017-02-17 20:27:26 +08:00
37977865df *: add max1row info and refine scalar subquery's decorrelation. (#2646) 2017-02-17 19:25:00 +08:00
a8d185d8cb *: add parser and definition for all unsupported builtin funcs (part 3) (#2657) 2017-02-17 16:49:42 +08:00
f922344ab1 travis: Use go 1.8 (#2664) 2017-02-17 16:15:16 +08:00
2bbc3b2525 expression: handle timestampdiff with null argument. (#2665)
Fixes https://github.com/pingcap/tidb/issues/2662
2017-02-17 14:08:06 +08:00
b001b8cec5 parser: Unify time unit string literal (#2660)
Use upper case for time unit string literal in parser.
2017-02-17 11:43:06 +08:00
7f8f16f27c *: add parser and definition for all unsupported builtin funcs (part 2) (#2655) 2017-02-17 10:58:33 +08:00
2b9c173119 cmd/benchfilesort: Add micro benchmark for util/filesort (#2625) 2017-02-16 19:31:26 +08:00
50af37fd83 store/tikv: open switch of topn. (#2658) 2017-02-16 19:22:33 +08:00
cd0cfa0a75 tidb-server: add a parameter to optionally disable ddl worker. (#2656)
If we don't want the tidb-server run ddl jobs, we can use this parameter `-run-ddl false` to disable it.
2017-02-16 18:19:29 +08:00
8907dee098 privilege/privileges: use case insensitive check for DB and Table name (#2659) 2017-02-16 18:03:34 +08:00
2f07f7141d *: Support basic aes_encrypt/aes_decrypt function. (#2640) 2017-02-16 14:03:44 +08:00
0f1c182a92 *: Reduce useless log (#2644) 2017-02-16 13:34:04 +08:00
dcc7715ec2 *: support with grant option for grant statement (#2647) 2017-02-16 12:58:07 +08:00
3f4c71bdbb *: add parser and definition for all unsupported builtin funcs (part 1) (#2649)
* *: add parser and definition for builtin funcs:
bin, elt, exportSet, format, fromBase64, insert, instr, loadFile, lpad
2017-02-16 11:37:42 +08:00
6b2ac5ad0d variable: Enlarge default value for max_allowed_packet (#2652)
* variable: Enlarge default value for max_allowed_packet
2017-02-15 09:27:49 -06:00
79953e261c tidb: add a metric for logging system time backward jump (#2650) 2017-02-15 18:20:45 +08:00
0864f17749 plan: handle int64 type when evaluate limit and count. (#2648)
Fix parameter mark limit for prepared statement.
2017-02-15 17:43:23 +08:00
7fa9e18b0f Update README.md 2017-02-15 16:28:42 +08:00