Commit Graph

716 Commits

Author SHA1 Message Date
e73bd7b341 Refactor: call onDDLChange hook 2015-09-24 21:51:39 +08:00
d398e37832 Refactor WIP 2015-09-24 21:41:22 +08:00
be44e4a286 *: Introduce schema version
Make schema change to an atomic operation.
2015-09-24 17:28:34 +08:00
8b264f9427 Modify ddl tests 2015-09-24 17:28:34 +08:00
1f2cacedea *: Introduce schema version
To keep DDL change to atomic operation
2015-09-24 17:28:34 +08:00
ca84d7eb24 Merge pull request #253 from pingcap/c4pt0r/mvcc-version-fix
kv : Add begin version to dbSnapshot.
2015-09-24 12:04:38 +08:00
01f24ad27c kv : Check isolation in MVCC
address review comments.
2015-09-24 11:43:29 +08:00
4e2277f0b1 Merge pull request #249 from pingcap/qiuyesuifeng/fix-issue234
Fix #234
2015-09-24 11:08:15 +08:00
912b35475b tidb_test: address comment. 2015-09-24 11:04:41 +08:00
012a4c387a Merge pull request #256 from pingcap/siddontang/select-from-dual
rename EmptyFieldList to more sense FromDual name
2015-09-24 10:08:32 +08:00
4b5f87c98a *: rename EmptyFieldList to more sense FromDual name
Dual is a dummy table, `select 1, 2` is equivalent to `select 1, 2 from
dual`, and dual is widely known.
2015-09-24 08:02:43 +08:00
13ac8c97c7 Merge pull request #252 from pingcap/qiuyesuifeng/fix-show-collation-field-type
plan/plans: fix show collation fields type.
2015-09-23 23:23:48 +08:00
7af9c22806 Merge pull request #255 from pingcap/siddontang/from-dual
support select from dual
2015-09-23 23:11:24 +08:00
475a9fc49b parser: Address comment 2015-09-23 21:47:30 +08:00
31f0cf36da tidb: add from dual test 2015-09-23 21:41:56 +08:00
aa5fd34498 parser: support from dual 2015-09-23 21:41:41 +08:00
5ab0637d6f Merge pull request #251 from pingcap/siddontang/support-time
support sysdate time function
2015-09-23 21:36:07 +08:00
3d215a852f kv : Add some MVCC test
address review comments.
2015-09-23 20:41:31 +08:00
30c585645f builtin: use Now for sysdate 2015-09-23 20:16:24 +08:00
f5a90ce4ef kv : Add begin version to dbSnapshot.
when we do MVCC get/scan on latest version, we should start with the version
that this transaction begins, not kv.MaxVersion.
2015-09-23 19:22:13 +08:00
8931dfc5bb plan/plans: fix show collation fields type. 2015-09-23 19:21:09 +08:00
fc25069863 tidb: add sysdate test 2015-09-23 17:23:31 +08:00
91e6610d96 parser: support sysdate 2015-09-23 17:23:21 +08:00
a7b839d848 builtin: support sysdate function 2015-09-23 17:23:10 +08:00
9f44c80d8f parser: address comment. 2015-09-23 16:58:38 +08:00
2ca339d96b Merge pull request #250 from pingcap/siddontang/refactor-builtin
refactor builtin
2015-09-23 16:56:57 +08:00
6d5b187db7 expression: cleanup creating distinct in call 2015-09-23 16:49:05 +08:00
85b436cad4 builtin: Address comment 2015-09-23 16:42:18 +08:00
2c363b72b0 builtin: simplify file name 2015-09-23 16:22:26 +08:00
e825e7c663 *: use builtin eval key instead 2015-09-23 16:19:51 +08:00
76d1a49ab6 *: rename package name and do some export 2015-09-23 16:14:04 +08:00
1a0998b07a expression: move case when test from builtin to expression 2015-09-23 16:12:26 +08:00
c17f44e574 Merge branch 'master' into qiuyesuifeng/fix-issue234 2015-09-23 15:47:11 +08:00
413995a231 Merge pull request #248 from lshmouse/master
Specify the user name when using mysql client to connect to TiDB
2015-09-23 15:45:55 +08:00
d68233d3e5 Specify the user name when using mysql client to connect to TiDB 2015-09-23 15:33:28 +08:00
ffb8fddf87 expression: move builtin to builtin package, cannot run 2015-09-23 14:40:24 +08:00
5ae7447804 Merge pull request #246 from pingcap/shenli/builtin-user
builtin: Support User() and Current_User()
2015-09-23 14:29:56 +08:00
28c821b7d3 Merge pull request #247 from pingcap/siddontang/show-table
support show full tables
2015-09-23 14:25:22 +08:00
e324d75b77 Merge pull request #233 from pingcap/coocood/expression-visitor
expression: apply visitor pattern.
2015-09-23 11:32:49 +08:00
cea7e0817e *: WIP-fix issue 234. 2015-09-23 11:21:48 +08:00
1622f86156 plans: Address comment 2015-09-23 11:21:02 +08:00
59655e28ca *: support show full tables 2015-09-23 11:12:43 +08:00
2e75da541f expression: address comment. 2015-09-23 11:05:31 +08:00
f9e400d4b3 builtin: Support User() and Current_User() 2015-09-23 11:02:45 +08:00
16d79cf2c9 Merge pull request #229 from pingcap/c4pt0r/mvcc-support
kv : Add MvccSnapshot interface
2015-09-23 10:59:28 +08:00
ea6615f132 Merge pull request #237 from pingcap/siddontang/select-current-timestamp
support current_timestamp time function
2015-09-23 10:49:08 +08:00
4919a6d7a4 expression: fix comment 2015-09-23 10:23:56 +08:00
152aaa5fb3 expression: address comment. 2015-09-23 10:18:56 +08:00
d47af1f62e parser: Address comment 2015-09-23 10:03:41 +08:00
b961507311 *: support current_timestamp time function 2015-09-23 09:33:52 +08:00