cc07b11082
executor: set the correct stmtCtx for explain statement ( #11186 )
2019-08-27 14:09:35 +08:00
ad404bb645
*: avoid tidb-server -h output test flags ( #11209 )
2019-07-12 15:19:57 +08:00
cb23b524ac
*: directly save prepare execute args as datums in binary proto ( #10884 )
2019-07-02 13:49:06 +08:00
91ab534be3
server: add http api to get some info of sub-optimal query ( #10717 )
2019-06-24 16:59:52 +08:00
08e4bd988f
store/tikv: support single statement rollback for pessimistic transaction ( #10654 )
2019-06-05 13:40:12 +08:00
ba7134d4e9
executor: correct range calculation for CHAR column ( #10124 )
2019-05-14 16:15:31 +08:00
98dbbffceb
executor: fix IsPointGet judgment condition ( #10278 )
...
index lookup should not the max ts optimization
2019-04-28 17:47:02 +08:00
aabd330d1e
*: support "show create user" ( #9240 )
2019-02-21 13:58:19 +08:00
98b96cc769
executor: speedup unit tests by spliting them into separate suites ( #8618 )
2018-12-24 21:37:12 +08:00
7528a059cf
executor/server/session: add extra info message sent to mysql client ( #8285 )
2018-12-19 15:32:49 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
edaec7bdaf
*: move Statement and RecordSet from ast to sqlexec package ( #7970 )
2018-10-21 13:21:26 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
f18176f806
util/testkit: make the msg of failed check more readable ( #7386 )
2018-08-15 09:24:58 +08:00
f287451eed
tidb: move tidb/*.go to session directory ( #6062 )
...
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
e1121814d2
*: don't import golang.org/x/net/context as goctx alias ( #5895 )
...
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
274a344ad1
server: fix sub query error in prepare statement ( #5761 )
2018-02-06 06:49:38 -06:00
d95f96505a
*: refine join result generator to return MaxChunkSize chunk ( #5715 )
2018-01-31 20:00:59 +08:00
a7b0a1f915
server,tidb: move cancel function from session to clientConn ( #5346 )
2017-12-09 15:27:58 +08:00
c6e8f36835
*: avoid double Close() executor during test ( #5285 )
2017-12-01 18:13:50 +08:00
69c9e4efe4
*: limit chunk size to MaxChunkSize ( #5252 )
2017-11-28 21:05:30 +08:00
4f91997b56
executor: improve show full processlist tests ( #5222 )
2017-11-27 07:10:52 -06:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
cf5a22b5fd
*: replace *ast.Row with types.Row ( #5124 )
2017-11-16 18:36:28 +08:00
7891b638bc
util/testkit: fix Sort ( #5044 )
2017-11-08 01:33:38 -06:00
0977fd07e6
*: begin opentracing from dispatch() and change interface to Execute(ctx, sql) ( #5027 )
2017-11-07 02:52:15 -06:00
63347051d7
executor,util/testkit: fix data race in test TestOnlyFullGroupBy ( #5020 )
2017-11-06 00:59:12 -06:00
1c653f7168
*: move tests. ( #4524 )
2017-09-14 19:49:01 +08:00
94c5420a86
expression: rewrite builtin function: TRUNCATE ( #4179 )
2017-08-16 12:53:10 +08:00
58dca67d6e
*: fix close problem for index look up executor. ( #3957 )
2017-07-31 21:13:42 +08:00
5943198358
*: Add the two states test ( #3804 )
...
* ddl: add different state tests
* ddl: update
* ddl: clean up
* ddl: add a comment
* ddl: make more readable
* ddl: add a comment
* ddl: add the error check
* ddl: address comments
2017-07-26 00:24:56 +08:00
62450b9024
Use etcd to speed up DDL process
...
Add the mock owner-manager and schema-syncer and enable using etcd to speed up DDL process by default.
2017-06-04 10:00:41 +08:00
b4f20e6f0b
util/testkit: refine testkit ( #3177 )
2017-04-29 23:20:49 +08:00
ebbbf8993b
ddl: speed up create table without the need to change lease. ( #2332 )
...
DDLs that doesn't modify rows like create/drop/truncate table, create/drop database
do not need to wait 2 lease on ddl worker, we can safely remove those wait to
speed up DDL.
But user may create a table, then insert data on that table on another TiDB server,
So we need to wait in session.
User can set a session variable to skip DDL wait if needed, and there is no risk of
data inconsistency.
This solution remove the need for user to set lease to zero when loading data,
It's much more safe and easy to use.
2016-12-28 22:08:19 +08:00
1f1a60c02a
*: improve log ( #1944 )
...
Add logging for set system variable.
Add connection ID in log.
Adjust some log level.
Improve readability.
2016-11-04 17:11:10 +08:00
945fd1d371
*: add error trace ( #1477 )
2016-07-20 11:50:33 +08:00
5408833b9a
ddl: improve ddl test ( #1387 )
2016-07-05 11:21:50 +08:00
c24ef9face
util/testkit: print error stack when assert error. ( #1381 )
2016-07-02 12:59:22 +08:00
d78e4044cc
*: fix misspells ( #1143 )
2016-04-22 11:30:37 +08:00
3a25f68469
*: replace interface with Datum in ast.Row.
2016-03-02 15:32:42 +08:00
404e1348bd
Merge branch 'master' into zimuxia/move-test
2016-03-02 09:56:18 +08:00
539d2e5de2
*: move statement tests to executor package
2016-03-01 20:23:40 +08:00
784f135938
*: Remove duplicate getRows function
2016-03-01 15:55:21 +08:00
b5fbabc05e
*: Remove plan.go/stmt.go/rset.go
...
Move interface into ast and remove interfaces.
2016-03-01 13:53:48 +08:00
32c6ee2cbf
executor: support Explain
2016-02-24 17:46:59 +08:00
138a40eca7
*: Support grant stmt in new plan.
2016-02-17 14:51:07 +08:00
926fbab7c9
*: address comment, add more tests.
2015-12-31 12:01:06 +08:00
041da15fd0
plan: address comments
2015-10-09 17:23:54 +08:00
d4a9152d22
util: add testkit
...
The testkit package used to run sql statements and check results.
It simplifies testing code.
2015-09-24 13:48:28 +08:00