Commit Graph

15 Commits

Author SHA1 Message Date
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
744c5c1d67 planner, executor: fix error code (#13733) 2019-12-03 13:14:49 +08:00
421de5ef20 executor,server: re-implement the kill statement by checking the Next() function (#10841) 2019-06-20 11:03:21 +08:00
08e4bd988f store/tikv: support single statement rollback for pessimistic transaction (#10654) 2019-06-05 13:40:12 +08:00
c9cc3b7e32 executor: support prepare DDL statements with no parameters (#10144) 2019-05-06 08:29:23 +08:00
62d37a8356 executor: fix the error message when granting to a non-exist user (#10239) 2019-05-05 22:11:38 +08:00
778c3f4a5a privilege, executor: add SET ROLE and CURRENT_ROLE support (#9581) 2019-03-21 13:11:27 +08:00
b845f2a4da executor, planner: support show create view (#9309) 2019-02-19 10:18:57 +08:00
7ab61d85ce executor: improve SHOW commands compatibility (#8417) 2018-11-26 20:39:56 +08:00
0c3e9c1652 session,executor: run statement without transaction (#8260)
`set @@autocommit = 0`
`select 1` // This statement should not make the session enter a transaction,
because it never need Txn().
Make txn lazy initialize
2018-11-14 20:10:58 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
d1f2587903 *: admin check table return tidb specific error code. (#7363) 2018-08-14 13:54:16 +08:00
4a203fd525 executor: add placeholder count check in prepare stage (#7162) 2018-07-29 13:35:59 +08:00
b5f9b35a45 plan: refactor the code of building Insert. (#7068) 2018-07-25 22:41:42 +08:00
a54ab4270c executor: gather all the error definitions together (#6772) 2018-06-07 10:58:03 +08:00