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
50af37fd83
store/tikv: open switch of topn. ( #2658 )
2017-02-16 19:22:33 +08:00
dcc7715ec2
*: support with grant option for grant statement ( #2647 )
2017-02-16 12:58:07 +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
31d3b87704
executor: fix a bug about table name comparison ( #2643 )
2017-02-15 13:27:56 +08:00
4d2cfb78f2
tidb: return fields for prepared statements. ( #2642 )
...
Prepared statement should return result fields.
2017-02-15 11:41:22 +08:00
8a28721864
executor: fix log format ( #2633 )
2017-02-14 10:23:45 +08:00
4fd95363b2
*: flush privileges statement ( #2602 )
2017-02-13 13:17:54 +08:00
1972558dc9
*: change default collation to utf8_bin ( #2617 )
...
Currently we doesn't support case insensitive index, our duplication check is always case sensitive.
We should not use case insensitive collation as default collation.
2017-02-10 11:45:35 +08:00
1aa005190f
executor: set text for execute prepared statement. ( #2620 )
2017-02-09 19:22:43 +08:00
f5fac14afb
util/sqlexec: introduce a SQLExecutor interface and use it ( #2618 )
...
This tiny change also fix a bug that privilege background session never commit
2017-02-09 16:44:15 +08:00
79be7364a9
*: fix reset stmt ctx when there are multiple statements ( #2613 )
2017-02-08 21:13:22 +08:00
59e8ccf0a5
expression: workaround for wrong timediff function input ( #2611 )
2017-02-08 20:57:27 +08:00
7520cb8972
fix issue2300 ( #2605 )
2017-02-08 19:48:51 +08:00
2afa11f8fa
executor: do not log expensive query for system table. ( #2601 )
2017-02-07 21:03:02 +08:00
8bafc3d515
tidb: accelerate unit test ( #2590 )
...
Avoid BootstrapSession everytime, just do it once in testSessionSuite.SetUpSuite
2017-02-06 15:11:38 +08:00
cb1c2f0ff9
*: update privilege Checker interface and use it ( #2557 )
2017-02-06 11:28:06 +08:00
90d64eff39
*: Support information_schema.table_constraints ( #2586 )
2017-02-04 12:07:19 +08:00
7ec875c952
executor: fix a bug of left outer semi join. ( #2573 )
...
* executor: fix a bug of left outer semi join.
2017-02-03 07:33:44 -06:00
950583eaf8
plan, tidb-server: add a flag to control statistic info reading. ( #2565 )
...
* plan, tidb-server: add a flag to control statistic info reading.
* pass test.
* address comment
2017-01-30 11:29:43 +08:00
7965666bce
executor: ajust some code. ( #2574 )
2017-01-30 09:45:50 +08:00
e68dcf77dc
*: remove ctx from function args. ( #2566 )
2017-01-28 18:44:02 +08:00
4d9b70f0a6
plan, executor: give special treat for index columns when analyze table ( #2436 )
...
* plan/statistics: statistics support add index info
2017-01-26 11:24:53 +08:00
461fd98bb0
*: rename the plan interface. ( #2547 )
2017-01-25 15:10:44 +08:00
32173e988f
plan: fix a bug of exists sub query ( #2549 )
2017-01-25 14:41:53 +08:00
d7ed20cd62
executor: add log. ( #2545 )
2017-01-24 17:10:07 +08:00
873403ab70
plan: refine the range calculating. ( #2534 )
2017-01-24 12:49:12 +08:00
150574bacf
plan: remove aggregation grouped by unique key. ( #2424 )
2017-01-23 19:08:48 +08:00
fb429408c9
*: make schema as a pointer. ( #2533 )
2017-01-23 16:23:47 +08:00
96ee4446e3
*: refactor function. ( #2499 )
2017-01-22 18:10:38 +08:00
1a0ccaf9d6
executor: log expensive query. ( #2529 )
...
An expensive query may run for a long time, we need to see the log before query is finished.
2017-01-22 14:23:47 +08:00
9d536e34a7
*: run a bootstrap session before store is ready (fix race) ( #2491 )
2017-01-22 11:39:25 +08:00
f145a32063
*: refactor apply plan and executor. ( #2411 )
2017-01-22 11:06:17 +08:00
6ae4b77d7f
plan, executor: clean code ( #2520 )
2017-01-22 10:18:10 +08:00
0d9744261b
*: slow log and metrics includes execute prepared statement. ( #2512 )
...
Execute prepared statement was ignored in slow query log and query metrics.
2017-01-21 10:06:55 +08:00
2cad815a89
plan: change distinct to aggregation. ( #2515 )
2017-01-20 15:34:36 +08:00
2123638476
executor: add rows in table scan log. ( #2507 )
2017-01-19 00:04:07 +08:00
12ae004603
executor: fix join leak ( #2505 )
...
In HashJoin Executor When Close is called after fetched 1000 rows, the result channel is full,
Close is blocked forever.
2017-01-18 23:31:41 +08:00
83e57cc203
plan: ignore the ambiguous error when retrieving schema first. ( #2480 )
...
* plan: ignore the ambiguous error when retrieving schema first.
* address comment.
2017-01-17 23:22:30 +08:00
999517c4f1
Revert "*: run a bootstrap session before store is ready" ( #2490 )
2017-01-17 15:14:24 +08:00
e1ecc1059e
*: run a bootstrap session before store is ready ( #2481 )
2017-01-17 14:46:35 +08:00
fce6256117
*: Clean up error trace ( #2475 )
2017-01-16 13:13:49 +08:00
5f6f101c9a
executor: optimize begin ( #2474 )
2017-01-16 12:57:03 +08:00
2828e29a5b
executor: refine statement count metrics ( #2477 )
2017-01-16 12:34:21 +08:00
ba8b6a9c26
fix bug of union type converting ( #2471 )
2017-01-16 12:09:27 +08:00
527256627b
ast: clean some code. ( #2465 )
2017-01-16 10:17:41 +08:00
122195718b
executor: fix log format and add transaction start TS. ( #2469 )
2017-01-15 13:34:37 +08:00
c470a46283
*: remove useless code. ( #2457 )
2017-01-15 11:37:48 +08:00
217c26bd0b
*: Support the statement of rename table ( #2444 )
2017-01-15 00:58:10 +08:00