Commit Graph

8026 Commits

Author SHA1 Message Date
79953e261c tidb: add a metric for logging system time backward jump (#2650) 2017-02-15 18:20:45 +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
7fa9e18b0f Update README.md 2017-02-15 16:28:42 +08:00
31d3b87704 executor: fix a bug about table name comparison (#2643) 2017-02-15 13:27:56 +08:00
ce1447449b parser: support the field of column optional (#2634) 2017-02-15 13:12:45 +08:00
de89263a21 tidb: avoid privilege check in loadCommonGlobalVariablesIfNeeded (#2641) 2017-02-15 12:44:22 +08:00
4d2cfb78f2 tidb: return fields for prepared statements. (#2642)
Prepared statement should return result fields.
2017-02-15 11:41:22 +08:00
69a2dbed64 store/localstore: fix a bug that blocking store.Close. (#2635)
When Store.Close is called delete worker may exit before checker,
Then delCh may be full, blocking forever.
2017-02-14 18:57:31 +08:00
3aa6be2bb1 plan/typeinferer: refine type inferer of builtin func greatest/least (#2628) 2017-02-14 18:28:54 +08:00
13d99938e8 *: add error stack (#2630) 2017-02-14 12:32:50 +08:00
8a28721864 executor: fix log format (#2633) 2017-02-14 10:23:45 +08:00
96e8ab6128 ddl: fix the statement of modify | change column (#2627) 2017-02-13 13:26:00 +08:00
4fd95363b2 *: flush privileges statement (#2602) 2017-02-13 13:17:54 +08:00
05413a474f ddl: Support some definitions and fix a bug to modify|change column (#2629) 2017-02-13 11:18:41 +08:00
60cf9eddc4 ddl: Support to modify column with default value and comment (#2621) 2017-02-10 12:32:59 +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
8ba5d9ee2a *: avoid using TypeDecimal (#2619)
TypeDecimal is misleading, it is not used as Decimal type, it's an unspecified type.
2017-02-10 10:53:05 +08:00
be2812f9c3 Fixed 386 build (#2591)
* Fixed 386 build again
2017-02-09 20:46:22 -06:00
1d17824890 plan/typeinferer: fix a bug when mathematic expression contains datetime or duration operands (#2610) 2017-02-10 09:48:58 +08:00
1aa005190f executor: set text for execute prepared statement. (#2620) 2017-02-09 19:22:43 +08:00
281e8553b4 tidb,privilege: use new privilege implementation for connection verification (#2607) 2017-02-09 18:08:37 +08:00
51defd89bb *: Support the statement of drop default (#2616) 2017-02-09 17:21:44 +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
4cab38cd1b *: fix issue2600 (#2614) 2017-02-09 13:53:19 +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
87f51736ee *: support the statement of alter table alter column set default (#2608) 2017-02-08 15:03:27 +08:00
3e31802e1c plan: collect visit info during logical plan build (#2423) 2017-02-08 14:55:31 +08:00
94e6032bff README: resize logo, use markdown img syntax (#2609) 2017-02-08 12:36:51 +08:00
2afa11f8fa executor: do not log expensive query for system table. (#2601) 2017-02-07 21:03:02 +08:00
16c1aae54c parser: remove useless code (#2604) 2017-02-07 19:43:42 +08:00
f0be2c608c privilege/privileges: use stringutil for like pattern match (#2603) 2017-02-07 18:00:38 +08:00
76bf890f0b ddl/model: fix ddl log format (#2599) 2017-02-07 09:12:31 +08:00
6f8fc91a76 ddl: remove the useless test to make TestCheckOwner more stable (#2596) 2017-02-06 16:36:13 +08:00
5b84277ac9 store/tikv: make lock TTL test more stable. (#2595) 2017-02-06 15:57:22 +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
b15ed6ddf0 tidb-server: fix interval format in metric log (#2594) 2017-02-06 00:30:33 -06:00
cb1c2f0ff9 *: update privilege Checker interface and use it (#2557) 2017-02-06 11:28:06 +08:00
395a9c6129 *: add builtin function UTC_TIMESTAMP (#2592)
* *: add builtin function UTC_TIMESTAMP
2017-02-05 02:16:18 -06:00
c131b3c4b5 store/tikv: extend lockTTL for txns that takes a long time to read. (#2585) 2017-02-05 14:03:30 +08:00
15d2065287 Support builtin function timestamp (#2498) 2017-02-05 13:06:27 +08:00
1c01055496 plan: add Contains function on Schema (#2588)
Improve readablity.
2017-02-04 14:25:12 +08:00
8ddea101df store/tikv: fix gc lifetime metrics. (#2587) 2017-02-04 13:54:03 +08:00
fa72f5c7d4 plan: support decorrelate projection. (#2540) 2017-02-04 12:59:26 +08:00
90d64eff39 *: Support information_schema.table_constraints (#2586) 2017-02-04 12:07:19 +08:00
15176a6513 Tiny cleanup (#2583) 2017-02-03 23:42:56 +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
59de1e5494 parser: Parse primary key name and ignore it (#2582) 2017-02-03 14:07:09 +08:00
dd988d07d4 xeval: Use a short-cut way to way And/Or/Xor expr (#2563) 2017-02-03 13:26:56 +08:00