Commit Graph

60 Commits

Author SHA1 Message Date
d8589df2f3 *: add a variable to control the back off time and disable txn auto retry by default (#10266) 2019-05-08 10:23:49 +08:00
abeddab5ba privilege, executor: support SET DEFAULT ROLE (#9949) 2019-04-17 14:25:49 +08:00
2ee8f42c49 server: Change runTestConcurrentUpdate to use runTestsOnNewDB (#9906) 2019-04-01 21:13:54 +08:00
5ffa06b6c3 *: unify and normalize the format of the log in the pkg of server (#9878) 2019-03-25 16:10:36 +08:00
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
c190de3d04 server: add test for OPTIONALLY keyword (#9200) 2019-02-12 15:37:44 +08:00
46bebb4db1 server: return correct response if pass specified (#9140)
Improves MySQL compatibility
2019-01-24 19:14:23 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
33b4c3e3c8 executor: fix csv parser (#9005) 2019-01-15 22:46:23 +08:00
73c91738d7 executor: privilege check USE command (#8418) 2018-11-27 19:06:17 +08:00
e69aa2749b server: unix socket should verify user's authentication (#8381) 2018-11-22 13:43:38 +08:00
9ec7515743 *: Add few error checks in tests, clean error messages and fix a misspell (#8101) 2018-10-31 18:50:43 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
48704b8420 *: fix Command and Time in show processlist (#7844) 2018-10-12 14:06:54 +08:00
e7409e38ee *: correct comment mistakes. (#7661) 2018-09-11 09:41:30 +08:00
9070bb6b86 executer: fix the last_insert_id in insert on duplicate key update (#7534) 2018-08-30 14:16:30 +08:00
e28a81813c *: check the schema-validity when the DDL fails (#6797) 2018-07-09 17:35:04 +08:00
87ce884b2e *:check max/min timestamp bound with timezone aware (#6581)
- mytime: max/min configure with UTC tz, convert to local tz during process starting, convert it to session tz before checking bound.
- time: so `check()`/`add()` need force pass `StatementContext` parameter.
- builtin_time: pass `StatementContext` from `b.ctx.sessionVars` into check/add.
- dump: also set timezone for StatementContext with UTC.
- *_test/mock: fix test case, make mock context with stmt TimeZone.
- add testcase for checkTimestamp and mytime convert timezone.
2018-05-24 15:27:38 +08:00
65131a44a0 server: support binary time type (#6516) 2018-05-20 11:13:02 +08:00
50e98f427e config: add validation for configuration (#5864) 2018-03-06 14:56:28 +08:00
0157fe5e70 metrics: unify metrics naming (#5863) 2018-02-11 18:31:38 +08:00
e6eb3ae9f5 executor, metrics: add metrics for expensive executors and statement nodes (#5798) 2018-02-09 12:15:20 +08:00
ddca655fcb server: forget to add StmtCommit when loading data (#5758) 2018-02-01 14:22:12 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
66c19def93 util/codec: support decode data to chunk. (#5066) 2017-11-13 18:34:22 +08:00
8fd5c7de6e server: use types.Row to write result set. (#5056) 2017-11-10 15:41:02 +08:00
7afae3f89c *: support write slow query log into seperate files (#4804) 2017-10-20 14:22:10 +08:00
117ff28207 *: move InitLogger from SetUpSuite to TestT (#4532) 2017-09-15 15:16:22 +08:00
97242d362a config: add config file support. (#4509) 2017-09-14 19:38:49 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
06001ed1c1 fix race test compile issue (#4461) 2017-09-07 15:37:34 +08: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
971d8fa2de server: Refactor server tests (#4207) 2017-08-24 10:21:44 +08:00
ac77039d83 *: Make travis happy (#3821) 2017-07-20 13:33:05 +08:00
d309490b6a server,expression: fix CI and make golint happy (#3723) 2017-07-12 11:40:14 +08:00
c8feff878f conn: fix database info leaking problem (#3699) 2017-07-11 17:39:35 +08:00
77b87ed170 variable: remove GoSQLDriverTest (#3361) 2017-05-31 11:43:38 +08:00
5f34aa4776 *: Add warnings for load data (#3224) 2017-05-11 08:11:52 +08:00
654c10fd80 *: use etcd for privilege update notification (#3030) 2017-04-11 19:47:25 +08:00
93083651ba http_test:wait until http is already started before http test. (#2888) 2017-03-20 13:44:47 +08:00
ce3f61c6b7 regions:fix bug for function not defined in make race (#2861) 2017-03-17 14:32:41 +08:00
b3a57325a0 *: make TiDB more robust when synchronize mysql.user table (#2722)
* load privilege table will ignore data that can't recognize
* convert IP to domain for connection verification
2017-02-24 13:04:59 +08:00
95f6b237ab executor: fix statement count metrics for prepared statement. (#2704) 2017-02-22 13:22:45 +08:00
2828e29a5b executor: refine statement count metrics (#2477) 2017-01-16 12:34:21 +08:00
0f15c2ec5d kv: limit transaction size, len, and entry length, reduce retry times (#2426) 2017-01-10 12:26:18 +08:00
7c87b92468 *: Use standard error code/message for incorrect function argument count error (#2335)
* *: Use standard error code/message for incorrect fuction argument count
error
2016-12-28 14:57:39 +08:00
f4b78e44da server: speed up unit test (#2010)
run many test cases parallel
split databases in server package for parallel
2016-11-23 10:46:43 +08:00
7ddb150920 executor: add more statements for metric of statement counter (#1967) 2016-11-15 14:34:15 +08:00