Commit Graph

40 Commits

Author SHA1 Message Date
8bafc3d515 tidb: accelerate unit test (#2590)
Avoid BootstrapSession everytime, just do it once in testSessionSuite.SetUpSuite
2017-02-06 15:11:38 +08:00
9d536e34a7 *: run a bootstrap session before store is ready (fix race) (#2491) 2017-01-22 11:39:25 +08:00
999517c4f1 Revert "*: run a bootstrap session before store is ready" (#2490) 2017-01-17 15:14:24 +08:00
e1ecc1059e *: run a bootstrap session before store is ready (#2481) 2017-01-17 14:46:35 +08:00
1f6737ef67 *: remove SetLease method in domain (#2149) 2016-12-12 18:26:38 +08:00
9cca7b0b02 types: move Bit, Enum, Set, Hex to types package (#2085)
Consistent with Time and MyDecimal.
2016-11-24 12:28:55 +08:00
f8c0b059d5 driver.go & interpreter: remove driver.go and interpreter.go (#2066) 2016-11-23 18:17:57 +08:00
1c6c145f94 *: Set custom verbose flag to true (#1956)
* *: set custom verbose flag to true

* *: update .gitignore
2016-11-05 18:00:13 +08:00
cbac6da6ee *: Remove SetCharsetStmt, use SetStmt instead (#1422)
"set @@session.sql_mode=1, names utf8, charset utf8;" is a valid sql statement.
2016-07-11 16:22:33 +08:00
4eca9cc825 *: fix data races detected by go test -race (#1407) 2016-07-07 15:35:40 +08:00
4e177d3b74 Add a switch for perfschema (#1390)
Add a switch for perfschema and disable it by default.
You can enable perfschema by set tidb-server flag.
2016-07-05 11:15:49 +08:00
67378982bf parser: add ANALYSE TABLE syntax (#1323) 2016-06-15 16:21:39 +08:00
991428a998 perfschema: Add some missing stmt to prevent perfschema warning log (#1313) 2016-06-13 10:05:25 +08:00
93577c17d1 *: Fix infoschema/perfschema concurrent bugs (#1232)
* *: Fix infoschema/perfschema concurrent bugs

Make it safe to create Handle on multiple stores.
2016-05-16 16:32:34 +08:00
dcec06daad fix concurrent map writes error when a large number of connection comes concurrently (#1226) 2016-05-12 21:57:51 +08:00
36ef582b93 perfschema: fixed concurrent map bug (#1160) 2016-04-26 13:06:59 +08:00
bbffc220ed *: Tiny cleanup (#1145)
Fix typo
2016-04-23 10:27:13 +08:00
130f9f2452 table/tables: change bounded table cursor type from int32 to int64 (#1127)
In case when executed statements exceeds max int32, the cursor becomes a negative value.
2016-04-21 10:24:50 +08:00
ecc59c99eb perfschema: Fix nil pointer panic when perfschema is uninitialized (#1111)
In bootstrap stage, ps may be not well initialized. We should make it
safe.
2016-04-19 17:28:17 +08:00
74ffeb8011 perfschema: make go vet happy. (#1110) 2016-04-18 21:38:14 +08:00
64546d478b perfschema: fixed memory leak issue (#1099) 2016-04-18 06:17:35 -05:00
708c195782 *:generate local schema ID for memory table. (#1094)
* *:generate local schema ID for memory table.

* meta/autoid: reorder import
2016-04-13 10:29:16 +08:00
dd21a4d970 perfschema: log error's stack when perfschema init failed. (#1077) 2016-04-09 22:36:58 -05:00
cfc2698ec2 perfschema: Do not ignore error when initialization.
* perfschema: Do not ignore error when initialization.
2016-04-07 01:15:59 -05:00
83665b8f5b perfschema: turn off current statement update.
Temporary fix for https://github.com/pingcap/tidb/issues/1037
2016-04-01 13:45:10 +08:00
xia
6aacddd44e *: unify error format 2016-03-31 16:20:47 +08:00
ff94659286 *: replace interface{} with Datum in index range 2016-03-03 22:15:17 +08:00
d5941446c2 table: replace interface{} with Datum in table. 2016-03-02 21:01:20 +08:00
68eb8e567e *: remove old code 2016-02-29 11:40:32 +08:00
64912c8597 *: Implement perfschema with MemoryTable 2016-02-29 10:28:30 +08:00
b16875f250 performance_schema: Add initial support for statement instruments 2016-02-23 20:38:44 +08:00
4e90674b39 performance_schema: revised according to cuiqiu's comments 2016-02-16 10:59:52 +08:00
7efb4d1732 performance_schema: revised according to shenli&cuiqiu's comments 2016-02-15 17:13:54 +08:00
432b66d063 performance_schema: support insert operation 2016-02-15 15:24:42 +08:00
69cc8b6747 performance_schema: revised according to liuqi's comments 2016-02-05 11:57:00 +08:00
bdc432c16b performance_schema: revised according to liuqi&cuiqiu's comments 2016-02-04 18:00:33 +08:00
8ff5322094 performance_schema: revised support for SELECT 2016-02-04 15:40:47 +08:00
d1356f4307 performance_schema: code refactoring and remove old implementation 2016-02-02 15:25:51 +08:00
30337c9f07 performance_schema: revised according to liuqi, cuiqiu's comments 2016-01-25 17:11:58 +08:00
5c1bc1c086 performance_schema: initial empty tables 2016-01-25 16:24:10 +08:00