Commit Graph

145 Commits

Author SHA1 Message Date
0943aa598e terror: unify util/errors and util/errors2 in terror. 2015-11-05 12:05:16 +08:00
c0b198b908 *: refactor iterator interface
Next() shouldn't return a new iterator.
2015-11-02 21:40:08 +08:00
b6ee1409fb *: Address comments 2015-10-30 19:07:44 +08:00
3871b0afbd *: Support character string literal
See: https://dev.mysql.com/doc/refman/5.7/en/charset-literal.html
2015-10-30 12:21:57 +08:00
a6f146564e Merge pull request #473 from pingcap/shenli/show-grants
Shenli/show grants
2015-10-30 08:46:57 +08:00
7ea5f16b95 Merge pull request #464 from pingcap/qiuyesuifeng/convert-cleanup
Refactor convertToInt/ToInt64 and convertToUint/ToUint64.
2015-10-29 15:23:33 +08:00
372f30ada7 testutil: Fix a bug and add few test cases. 2015-10-28 22:11:20 +08:00
d8bebae2c3 testutil: Remove useless code and file 2015-10-28 19:18:53 +08:00
e7a7a0b035 *: Add a test util function to compare unordered string slice 2015-10-28 17:34:10 +08:00
628922ae35 Merge pull request #439 from pingcap/shenli/string-literal
Shenli/string literal
2015-10-28 14:54:51 +08:00
829dcd4dbc util: refactor ToInt64 and ToUint64 functions. 2015-10-28 13:34:18 +08:00
798994f658 util: clean up bound check functions. 2015-10-28 12:54:30 +08:00
2ed175243e Merge remote-tracking branch 'origin/master' into shenli/string-literal
Conflicts:
	expression/cast.go
2015-10-26 15:10:07 +08:00
ebfb3377c8 *: Address comment and code cleanup 2015-10-26 15:06:08 +08:00
407d99967e *: Refactor some code to support global system variable. 2015-10-26 14:35:06 +08:00
f7942d5c5a Merge remote-tracking branch 'origin/master' into shenli/global-variable 2015-10-26 11:17:56 +08:00
5f2167a5d9 *: Get/Set global sys var from/to kv store. 2015-10-25 22:38:28 +08:00
220285ca66 Merge pull request #433 from pingcap/qiuyesuifeng/unify-cast-convert
Refactor cast by using convert function.
2015-10-24 00:21:53 +08:00
c44060a766 *: Implement set names statement.
Finish set names and add some test cases.
2015-10-23 14:27:20 +08:00
f6351df013 util/types: address comment. 2015-10-22 14:13:09 +08:00
13ffc0b026 Merge branch 'master' into qiuyesuifeng/unify-cast-convert 2015-10-22 12:03:29 +08:00
ccf38d7491 util/types: tiny cleanup. 2015-10-22 11:55:19 +08:00
64bec698fe *: refactor cast by using convert function. 2015-10-22 11:51:08 +08:00
1b8649d036 types: Add unit tests 2015-10-21 14:44:40 +08:00
ff328a1c60 *: Address comments 2015-10-21 14:22:32 +08:00
de767ac317 *: Fix failed cases in sqllogictest-expr 2015-10-21 13:15:17 +08:00
45f155b16e Merge pull request #349 from pingcap/shenli/wrap-data
Shenli/wrap data
2015-10-20 21:54:28 +08:00
2aa4cad1d2 *: Tiny clean up 2015-10-19 20:10:28 +08:00
5ff8eb3877 kv: remove useless keyCmpFn from Seek/Next iterface. 2015-10-19 20:02:10 +08:00
3442b777ca Merge remote-tracking branch 'origin/master' into shenli/wrap-data 2015-10-19 19:17:01 +08:00
29369dba8f *: Rename mysqldef to mysql 2015-10-19 16:26:43 +08:00
365e957538 Merge remote-tracking branch 'origin/master' into shenli/wrap-data 2015-10-19 15:34:18 +08:00
fdd629a07b stringutil: Clean license 2015-10-19 09:48:32 +08:00
6c540d6279 *: Fix issue 393
See: https://github.com/pingcap/tidb/issues/393
2015-10-17 17:09:29 +08:00
83fa8f8d4f *: Address comment 2015-10-16 12:26:10 +08:00
48976af41c *: Address comments 2015-10-16 10:04:49 +08:00
a8779d8d52 *: Address comment 2015-10-15 22:50:55 +08:00
2bf61835db sqlhelper: Remove useless file 2015-10-15 17:19:51 +08:00
207ba2f1f3 *: Add sql helper to make operations on meta table easier. 2015-10-15 17:17:04 +08:00
9acfcd2b14 *: Address comment 2015-10-14 13:49:50 +08:00
641aeabd42 *: Address comment 2015-10-14 13:23:12 +08:00
25b571bf59 *: Set/Enum element with single-quote should be replaced to two single-quotes
Address comment and add testcase
2015-10-14 11:58:48 +08:00
c1f168673f *: Address comment 2015-10-14 11:30:36 +08:00
d01821579e *: Address comment 2015-10-14 11:06:09 +08:00
3a7e3ed2d0 *: Address comment 2015-10-14 10:38:18 +08:00
d50b6c5fcc *: Fix hibernate bug about col.Flen/Decimal 2015-10-13 18:11:11 +08:00
16d0c20fa6 util: add some comments
address review comment
2015-10-13 11:00:32 +08:00
8b4a5f0829 mvcc: address review comments 2015-10-12 18:39:18 +08:00
d7c5e24f9d types: Improve compare for DataItem 2015-10-10 17:48:08 +08:00
7ae6e3f9c8 Merge remote-tracking branch 'origin/master' into shenli/wrap-data 2015-10-10 16:09:10 +08:00