d11591fc16
session: move err_rollback test. ( #4412 )
2017-09-11 16:37:52 +08:00
88e1666ac6
*: change the log package to logrus ( #4452 )
2017-09-08 00:45:07 -05:00
31a48f8d75
server: SSL/TLS support ( #3716 )
2017-09-07 13:36:28 +08:00
778b221d2e
Support client specified collation ( #4409 )
2017-09-05 10:08:30 +08:00
14e0149119
*: Add the DDL SQL log ( #4325 )
2017-08-24 20:40:48 +08:00
ff34a46446
store/tikv: implement MVCCStore interface using leveldb backend ( #3970 )
2017-08-22 03:48:42 -05:00
7d6c79d09f
util: remove context cancel debugger ( #4226 )
2017-08-18 18:55:03 +08:00
f5fd467f46
*: change terror.ErrorEqual to Error.Equal, which is more effetive ( #4217 )
2017-08-17 20:06:48 +08:00
8639a47e7d
*: start GCWorker after bootstrap finish. ( #4167 )
...
GCWorker should not be start when newTikvStore, because
the system maybe not bootstrap yet. Move the logic to
BootstrapSession.
2017-08-15 14:36:56 +08:00
a88ebb1cf6
*: use structure to store user identity ( #4078 )
...
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
678c6924be
*: support priority for SELECT HIGH_PRIORITY statement ( #4119 )
...
*: support priority for SELECT HIGH_PRIORITY statement
2017-08-10 01:09:57 -05:00
1eebb87156
ddl: remove backgroud worker, use delete-range to speed up something. ( #3993 )
2017-08-09 16:59:25 +08:00
ab53786d33
*: Define the schema change at the table level ( #3999 )
2017-08-04 17:53:38 +08:00
96c3ff7c2f
*: add variable to control batch size of index join ( #4028 )
2017-08-04 14:53:05 +08:00
8a1e93bc8e
*: add cbo switch. ( #3877 )
2017-08-03 19:28:17 +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
da91cf8a87
util,store/tikv: trace caller of cancel() by a new WithCancel ( #3812 )
2017-07-21 10:44:22 +08:00
d8aaa222c8
*: make SET TRANSACTION ISOLATION LEVEL READ COMMITTED take effect ( #3619 )
2017-07-17 19:16:23 +08:00
88616f0433
parser, session: fix wrong comment in selection field ( #3767 )
2017-07-17 13:55:26 +08:00
bffbc00302
*: log some crucial sql for user/privilege related operations. ( #3557 )
2017-06-29 19:01:16 +08:00
77c7e0037a
tidb: add some privilege columns to mysql.db ( #3532 )
...
* tidb: add some privilege columns to mysql.db
Create_tmp_table_priv
Lock_tables_priv
Create_view_priv
Show_view_priv
Create_routine_priv
Alter_routine_priv
Execute_priv
Event_priv
Trigger_priv
2017-06-27 10:18:11 +08:00
eea5cb2237
*: tiny clean up ( #3542 )
2017-06-26 10:47:52 +08:00
b535fd0b7e
*: remove the useless variable of TiDBSkipDDLWait ( #3527 )
2017-06-22 16:30:18 +08:00
1bdb72e4ec
tidb: reset transaction when session retry statement in history meets error ( #3503 )
2017-06-19 14:28:57 +08:00
7c9e18621f
*: add some privilege columns to mysql.user ( #3445 )
...
Create_tmp_table_priv
Lock_tables_priv
Create_view_priv
Show_view_priv
Create_routine_priv
Alter_routine_priv
Event_priv
2017-06-13 21:11:43 +08:00
821d928e7a
*: use async get timestamp API && remove asyncGetTSWorker ( #3459 )
2017-06-13 13:05:30 +08:00
a438237317
*: refactor binlog and reenable test ( #3433 )
2017-06-09 11:39:24 +08:00
78319c7530
*: reset statement context for prepared statements ( #3413 )
2017-06-07 10:06:32 +08:00
7b6e4475b3
variable: add a varaible to read current timestamp ( #3400 )
2017-06-06 07:27:30 +08:00
f453b19341
privileges: Upgrade stored password format to Compatible with MySQL. ( #3292 )
...
Password stored in mysql.user of TIDB is the format of SHA1(pwd),
which is not compatible with MySQL.
Different password format will cause user migrate data from MySQL
login failed on TIDB.
2017-06-01 09:37:41 +08:00
9b6fc032fc
*: add References_priv to mysql.user ( #3343 )
2017-05-26 17:58:32 +08:00
31579bb3f0
Fix asyncGetTSWorker goroutine leak ( #3291 )
2017-05-22 16:53:31 +08:00
0dfc245aad
*: change the schema of stats_bucket and stats_hist. ( #3295 )
2017-05-22 00:44:01 +08:00
b3c43e52ca
*: retry commit for prepared statement when schema change ( #3297 )
2017-05-21 10:42:10 +08:00
97c8e3618a
tidb: fix retry when commit get infoschema change error ( #3270 )
2017-05-17 14:46:24 +08:00
213954d2e7
*: add specified columns for LOAD DATA INFILE Syntax ( #3240 )
...
* : add specified columns for LOAD DATA INFILE Syntax
2017-05-15 16:40:47 +08:00
10fc9fcd44
tidb: eliminate runtime.morestack from getTimestamp call stack ( #3054 )
2017-05-04 20:06:37 +08:00
3f296ed82d
*: add Trigger_priv column to mysql.user ( #3143 )
2017-05-03 13:49:07 +08:00
1ba5b0b273
tidb: fix version7 bootstrap ( #3198 )
2017-05-02 21:52:02 +08:00
0595143194
*: add Process_priv column to mysql.user ( #2994 )
2017-04-28 22:35:46 +08:00
93f4780f40
plan: add variable countReliable to physicalPlanInfo ( #3011 )
2017-04-24 17:07:31 +08:00
42dec329fe
session: return correct LastInsertID. ( #3071 )
...
When insert into an auto_increment column with a given value, the last insert id write to client should be the value.
2017-04-18 18:53:24 +08:00
b698bb54c3
*: fix data race when defer cancel() is called ( #3068 )
...
* *: fix data race when defer cancel() is called
defer cancel() was introduced in this PR
https://github.com/pingcap/tidb/pull/3010
2017-04-17 17:17:07 +08:00
3126e5e341
*: online update count in table stats. ( #3053 )
...
When insert and update happens, we will cache the changed info in every session. After a duration(five minutes now) passes, handle will sweep every cache and merge them. Then dump the delta info to TiKV.
2017-04-15 21:20:44 +08:00
846ad93577
*: update stats after creating table. ( #3048 )
2017-04-14 14:26:54 +08:00
d5f049abd5
tidb: add lock for session values ( #3049 )
2017-04-13 13:25:14 +08:00
4ce98317ce
*: put the stats map to stats handle to make test more easier. ( #3014 )
2017-04-10 17:01:00 +08:00
f7cc682eed
*: support Super_priv ( #2990 )
2017-04-05 19:21:07 +08:00
b9deb5e7aa
privilege: rename interface name from Checker to Manager ( #2969 )
2017-03-31 10:55:38 +08:00
ad13ca15ca
session: reset affected rows in retry. ( #2949 )
2017-03-29 16:09:47 +08:00