Commit Graph

446 Commits

Author SHA1 Message Date
bbcea724c2 tidb-server:fix import of errors2 2015-09-16 17:18:17 +08:00
47dd05e227 tidb-server: add server layer
MySQL protocol server.
2015-09-16 17:18:17 +08:00
e2d0b02acb Merge pull request #167 from pingcap/zimuxia/cleanup-tidb-test
tidb: Clean up tidb test
2015-09-16 15:20:01 +08:00
xia
b149936241 tidb: remove TestAutocommit 2015-09-16 15:11:58 +08:00
59ce4900c6 Merge pull request #163 from pingcap/shenli/unique-index-multiple-null
tables: Allow multiple null entries for unique index column
2015-09-16 14:18:43 +08:00
b92da5d3f0 kv: For a unique index with null value, append handle to indexkey 2015-09-16 11:42:21 +08:00
xia
2f76e52c8f tidb: update format 2015-09-16 10:55:06 +08:00
12d7c78cf5 tables: Allow multiple null entries for unique index column
Fix bug found in beego/orm
2015-09-15 23:20:47 +08:00
60862da3d1 Merge pull request #162 from pingcap/coocood/recordset-next
driver: add Next method for Recordset and use it in driver
2015-09-15 22:10:35 +08:00
116098baf9 plan: Closes plans that do not return in Recordset, adds some docs. 2015-09-15 21:37:26 +08:00
4f8e58f7da plan: fix tests and clean up code 2015-09-15 21:08:12 +08:00
e5d9130b77 plan: remove Do method. 2015-09-15 19:54:59 +08:00
xia
53d22bf30f tidb: update test format 2015-09-15 19:28:15 +08:00
de396d8a56 rset: fix method comments. 2015-09-15 18:37:56 +08:00
d34906eb5b rset: address comments. 2015-09-15 18:37:55 +08:00
54d04df744 driver: add Next method for Recordset and use it in driver
So we can implement `driver.Rows.Next` without a goroutine.
2015-09-15 18:37:55 +08:00
fa7a501464 Merge pull request #144 from pingcap/qiuyesuifeng/exists-subquery
Add exists subquery support.
2015-09-15 18:17:00 +08:00
c6186c6ad4 Merge branch 'master' into qiuyesuifeng/exists-subquery
Conflicts:
	parser/parser_test.go
2015-09-15 18:07:51 +08:00
011fdbf057 Merge pull request #146 from pingcap/shenli/issue-108
fix issue 108
2015-09-15 17:55:17 +08:00
45d4346b68 Merge branch 'master' into qiuyesuifeng/exists-subquery 2015-09-15 17:52:41 +08:00
59de8baca9 expressions: Address comment 2015-09-15 17:49:01 +08:00
9d24f7e252 Merge pull request #161 from pingcap/siddontang/fix-unary-bool
expressions,tidb: unary handes bool type
2015-09-15 17:48:41 +08:00
94c91f4bfb expressions,tidb: unary handes bool type 2015-09-15 17:27:47 +08:00
026df59d8a expression/expressions: address comment. 2015-09-15 16:58:23 +08:00
70ac9d2e4f stmts: Address comments 2015-09-15 16:11:39 +08:00
bc216912f0 Merge remote-tracking branch 'origin/master' into shenli/issue-108
Conflicts:
	parser/parser_test.go
2015-09-15 16:04:04 +08:00
aae463b813 expression/expressions: tiny clean up. 2015-09-15 15:47:48 +08:00
5451c13b47 Merge pull request #160 from pingcap/siddontang/cleanup-code
types: remove unnecessary code
2015-09-15 15:47:24 +08:00
c29d7263e5 expression/expressions: add not exists subquery test. 2015-09-15 15:42:02 +08:00
d8246b7fc5 expression/expressions: use plan.Next() insead of plan.Do(). 2015-09-15 15:41:22 +08:00
ada1344860 types: remove unnecessary code 2015-09-15 15:34:51 +08:00
0b1cd1234a Merge pull request #152 from pingcap/ngaut/tiny-clean-up
*: Clean up unused code
2015-09-15 15:33:52 +08:00
91437943c6 Merge pull request #157 from pingcap/siddontang/dev-hex-type
support hexadecimal literal type
2015-09-15 15:25:41 +08:00
6ceda1cb22 tidb: add hex test 2015-09-15 15:09:46 +08:00
181e832c29 expressions: handle hex type 2015-09-15 15:09:36 +08:00
aae3a62ae8 types: support hex in convert, compare 2015-09-15 15:09:10 +08:00
83f0a7f99b parser: support hex type 2015-09-15 15:08:34 +08:00
744227d9d2 mysqldef: support hexadecimal type 2015-09-15 15:08:22 +08:00
3be1f4428e Merge pull request #156 from pingcap/shenli/fix-master
plans: Fix build error
2015-09-15 14:56:30 +08:00
f6577d4d08 plans: Fix build error 2015-09-15 14:54:05 +08:00
6adf665f01 Merge pull request #154 from pingcap/shenli/orderby-byte-array
types: Allow []byte as orderby type
2015-09-15 14:46:00 +08:00
343c2d3ef4 types: Address comment to make virgo happy 2015-09-15 14:43:23 +08:00
79abe14b9c types: Cleanup IsOrderedType
Remove useless return values.
2015-09-15 14:38:57 +08:00
cb38257021 Merge branch 'master' into qiuyesuifeng/exists-subquery
Conflicts:
	parser/parser_test.go
2015-09-15 14:36:11 +08:00
cd7c022d04 Merge pull request #123 from pingcap/coocood/next-skeleton
plan: Next skeleton
2015-09-15 14:27:15 +08:00
a6b6d3a160 Merge pull request #153 from pingcap/shenli/binary-operator
*: Support binary operator
2015-09-15 14:03:26 +08:00
a7897b4215 types: Allow []byte as orderby type
Orderby []byte is already supported by types.Compare.
With this pr we can run most of functions in phpMyAdmin.
2015-09-15 14:00:40 +08:00
9f40950832 *: Address comments 2015-09-15 13:55:52 +08:00
5926485d11 mysqldef: Remove zeroTimestampStr 2015-09-15 13:52:22 +08:00
8fe148a781 plan: fix infoschema 2015-09-15 13:45:22 +08:00