718822530b
domain: update log level ( #2088 )
2016-11-24 14:35:10 +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
4388bfd57d
ddl: update lease ( #2086 )
2016-11-24 12:13:04 +08:00
15e446c25b
*: Speed up test ( #2083 )
...
* *: reduce test time
2016-11-24 11:34:52 +08:00
b19cc75a94
mysql, types: move MyDecimal and Time from 'mysql' to 'types' package. ( #2082 )
...
So we don't need to handle sql mode in 'mysql' package, avoid potential dependency cycle.
2016-11-24 10:50:31 +08:00
7a8c3c32a7
distsql: push nullif down ( #2068 )
...
* distsql: support pushing nullif down
2016-11-23 20:46:54 +08:00
d179a84610
plan: correct enforcer's correlated attribute. ( #2079 )
2016-11-23 20:04:23 +08:00
12360f6e7a
domain: add log ( #2080 )
2016-11-23 19:48:07 +08:00
2a3426ca9d
*: make explain result more clearly. ( #2063 )
2016-11-23 18:58:12 +08:00
f8c0b059d5
driver.go & interpreter: remove driver.go and interpreter.go ( #2066 )
2016-11-23 18:17:57 +08:00
3683d5f950
plan & expression: split the logic of column pruning and indices resolving. ( #2051 )
2016-11-23 18:01:27 +08:00
23136f8e0f
distsql: push ifnull down ( #2067 )
2016-11-23 17:35:30 +08:00
79a8c3fc8d
plan: add a Cache plan in physical plan ( #2052 )
...
plan: add Cache plan
* format code
* tiny change
* optimize the logic of code
* rename some variable and optimize logic
* move e.cursor++ down
2016-11-23 15:53:44 +08:00
0af8520a78
sessionctx/variable: remove dependency on context package. ( #2064 )
...
Makes using session variable easier and faster.
Prepare for use session variable to handle data truncated error.
2016-11-23 14:39:48 +08:00
308032b784
store/tikv: exclude some tests for race detector. ( #2065 )
2016-11-23 12:01:10 +08:00
951f88294d
distsql: support pushing isnull down ( #2069 )
2016-11-23 11:35:53 +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
2432209720
domain: Fix data race ( #2062 )
...
* *: fix data race
2016-11-22 20:59:05 +08:00
1181acc640
*: Reduce loading schema times ( #1984 )
...
* *: only if it's success to do DDL or in reloadLoop to load schema
2016-11-22 18:34:06 +08:00
3612ba0e0f
binlog: add sequence to binlog.TableMutation ( #2060 )
...
Add sequence in binlog.TableMutation to preserve the original mutation order.
2016-11-22 17:54:24 +08:00
8b070e03ff
executor: fix ci. ( #2058 )
2016-11-22 16:26:28 +08:00
7e041d2cba
expression: let first_row get the first value no matter if it's null ( #2057 )
2016-11-22 16:07:14 +08:00
c9d114f3d5
ddl: Fix the data race in foreign_key_test.go ( #2054 )
...
* ddl: fix the data race in foreign_key_test.go
2016-11-22 16:02:42 +08:00
81d1bddc9a
store/tikv: fix prewrite return error. ( #2056 )
2016-11-22 15:10:49 +08:00
60c251b08d
ddl: speed up test ( #2049 )
2016-11-22 10:26:33 +08:00
649ab2852e
ddl: tiny clean up ( #2050 )
2016-11-22 10:01:40 +08:00
6b444f8e55
server: check an array out of range for malform packet ( #2048 )
2016-11-21 23:10:28 +08:00
af5b0e71fc
infoschema: implement infoschema table. ( #2034 )
...
Creates a information schema specific table that implements table.Table interface.
The rows in this table is generated by `[]*model.DBInfo` on request.
Further reduce memory allocation.
2016-11-21 19:47:41 +08:00
91050ff1f8
parser: parse decimal literal instead of float literal ( #2044 )
...
Improves MySQL compatibility.
2016-11-21 19:29:25 +08:00
84756589da
mock-tikv: return correct Locked error. ( #2043 )
2016-11-21 17:19:35 +08:00
b92330c068
store/tikv: increase lock ttl for large transactions. ( #2004 )
2016-11-21 14:35:15 +08:00
d7318e72bd
plan: distinguish the physical plan test and logical plan test. ( #2042 )
2016-11-21 14:20:52 +08:00
8e1e13d797
Update bootstrap_test.go ( #2041 )
2016-11-21 09:33:36 +08:00
f3263f92f3
tikv: using 32k as default batch size ( #2021 )
2016-11-21 00:12:09 +08:00
81a3ba602a
parser: support select t.ReservedKeyword from t; ( #2039 )
...
For example "select t.desc from t;"
2016-11-20 22:44:13 +08:00
8fa03ee0ab
plan: process wildstar correctly. ( #2038 )
2016-11-20 21:02:29 +08:00
6dc49a736c
executor: remove filter exec. ( #2037 )
2016-11-20 13:48:46 +08:00
2f47f24b22
parser: database.ReservedKeyword as identifier & clean up ( #2027 )
...
1. fix a bug test.desc can't be used as identifier, which is valid in mysql
2. introduce ReservedKeyword in parser.y and clean up
3. fix mysql client "use `select`;" can't work
4. refine lexer's special comment mode pos line/offset
2016-11-19 14:22:10 +08:00
4d988fb62b
*: Fix set tidb session variable bug ( #2036 )
2016-11-19 11:42:03 +08:00
470d6dcd1c
*: Fix TiDBSkipConstraintCheck session scope variable bug ( #2035 )
2016-11-19 11:08:58 +08:00
5f457a2c62
*: Add a variable to skip constraint check in session. ( #2031 )
...
When import data from mysqldump/mydumper. We could skip constraint check.
2016-11-18 22:54:28 +08:00
6748d3e83e
*: add comment for show table status. ( #2032 )
2016-11-18 19:10:25 +08:00
39a2c09542
executor_test: clean enviroment for each test. ( #2025 )
2016-11-18 16:45:13 +08:00
abffed325e
infoschema: change data structure for lookup table by ID. ( #2006 )
2016-11-18 15:36:11 +08:00
85f5d30ab6
store/tikv: refactor transaction committer. ( #2023 )
...
Replaced several arguments with a single action type, improves readability.
2016-11-18 14:55:04 +08:00
eafda5ee61
plan: remove old validator logic ( #2013 )
2016-11-18 13:24:20 +08:00
a53c700c03
*: clean up log ( #2030 )
...
We should not print too long query into log.
2016-11-18 11:40:02 +08:00
bb93112bda
fix bugs ( #2020 )
2016-11-17 21:46:19 +08:00
14c9bbc674
ddl: pass race ( #2024 )
2016-11-17 19:22:18 +08:00
2f1cd5be00
plan: make explain result more explicit ( #2022 )
2016-11-17 18:05:18 +08:00