Commit Graph

961 Commits

Author SHA1 Message Date
d0beee7aa0 expression: rewrite builtin function: COALESCE (#4157) 2017-08-22 19:34:34 +08:00
ff34a46446 store/tikv: implement MVCCStore interface using leveldb backend (#3970) 2017-08-22 03:48:42 -05:00
38908aeb1e protocol: add the framework of x protocol, and cmdline arguments. (#3618) 2017-08-22 14:53:17 +08:00
7d6c79d09f util: remove context cancel debugger (#4226) 2017-08-18 18:55:03 +08:00
2e7db3da83 Add release version info (#4218)
Add version information in tidb-server's log, tidb-server -V output and mysql-client prompt.
So it is easier to get the release information.
2017-08-17 21:19:51 +08:00
f5fd467f46 *: change terror.ErrorEqual to Error.Equal, which is more effetive (#4217) 2017-08-17 20:06:48 +08:00
fa1bc4559f expression: rewrite builtin function: TIME (#4192) 2017-08-16 16:09:59 +08:00
94c5420a86 expression: rewrite builtin function: TRUNCATE (#4179) 2017-08-16 12:53:10 +08:00
5f70f63a52 util: add JSON in fieldTypeMergeRules (#4189) 2017-08-16 11:43:57 +08:00
16a5f74ad7 expression: rewrite builtin function: TIME_FORMAT (#4051) 2017-08-16 11:12:05 +08:00
e41d2cf6ae expression: rewrite builtin function: IS_IPV4, IS_IPV6, IS_IPV4_COMPAT, IS_IPV4_MAPP (#4144) 2017-08-15 15:01:37 +08:00
b23901b187 *: rewrite function IN to DNF (#4174) 2017-08-15 14:28:43 +08:00
0d945aa425 *: Add git branch name in tidb_version and starting log (#4168) 2017-08-14 17:15:47 +08:00
a88ebb1cf6 *: use structure to store user identity (#4078)
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
56cb978587 expression, plan: rewrite builtin function: IF (#4137) 2017-08-11 19:43:06 +08:00
5044ad053e types/mydecimal_test: add tests for round with different round_mode (#4139) 2017-08-11 19:22:55 +08:00
6f2b1a2b07 expression, util: refine aggregation func avg (#4145) 2017-08-11 17:10:01 +08:00
dcf4cbb2f1 expression: rewrite builtin string function: REVERSE (#4042) 2017-08-11 16:21:35 +08:00
b0d488fa8f expression: fix json ci. (#4140) 2017-08-10 21:17:06 +08:00
c51d0f57ed *: support JSON in new expression architecture (#4089) 2017-08-10 15:56:53 +08:00
68f58dc38b expression: rewrite builtin function: AES_ENCRYPT, AES_DECRYPT (#4085) 2017-08-10 10:19:47 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
f1da1cdb82 expression, types: fix issue #3923, builtin function TimeDiff compability and bug. (#4018)
expression, types: fix issue #3923, builtin function TimeDiff compability and bug.
2017-08-09 11:48:28 +08:00
3d7c74f1a4 expression, plan: rewrite builtin arithmetic function: PLUS (#3858) 2017-08-07 22:02:31 +08:00
fafd205f42 *: rewrite ifnull (#4050) 2017-08-07 13:24:48 +08:00
02b56b31ac Fix issue3844 (#4029) 2017-08-04 16:47:45 +08:00
3243b46b62 types: handle zero value in RoundFrac (#3989) 2017-08-02 20:59:33 +08:00
6921161fde types, expression: cast string as time (#3977)
fix issue #3942
TiDB doesn't treat '.' as a special point, '.' is the fractional seconds part delimiter
2017-08-01 23:35:20 +08:00
d0dcb5b0a6 expression, parser: fix issue #3691, cast compatibility (#3894) 2017-08-01 16:47:38 +08:00
01c1d4c5c5 executor: truncate the trailing spaces for "CHAR[(M)]" types (#3878) 2017-08-01 16:15:25 +08:00
58dca67d6e *: fix close problem for index look up executor. (#3957) 2017-07-31 21:13:42 +08:00
dff73cc6e4 *: Modify the Makefile for go vet (#3900) 2017-07-30 23:02:52 -05:00
45b13118ad parser, plan, util: fix alter table does not check the field length limitation (#3859)
* fix alter table does not check the field length limitation of char/varchar
2017-07-27 17:27:50 +08:00
c844ad7cea *: fix two error shade bug. (#3910)
* fix a json decode bug.
2017-07-27 02:40:21 -05:00
91ba0841b0 executor, sessionctx, util: treat decimal truncation as warning during inserting (#3897) 2017-07-26 19:10:42 +08:00
5943198358 *: Add the two states test (#3804)
* ddl: add different state tests

* ddl: update

* ddl: clean up

* ddl: add a comment

* ddl: make more readable

* ddl: add a comment

* ddl: add the error check

* ddl: address comments
2017-07-26 00:24:56 +08:00
d35acbdf08 types: Fix insert error when column length is zero (#3849) 2017-07-25 18:59:38 +08:00
71773cf33c *: change "AndAnd", "OrOr" to "LogicAnd", "LogicOr" respectively (#3874) 2017-07-25 15:53:02 +08:00
c605b0d636 infoschema,util/types: fix infoschema not support unsigned (#3818) 2017-07-24 19:45:24 +08:00
da91cf8a87 util,store/tikv: trace caller of cancel() by a new WithCancel (#3812) 2017-07-21 10:44:22 +08:00
6a1df12321 expression: improve unit test coverage for column.go to 94.9% (#3822) 2017-07-20 18:23:48 +08:00
edb9110a7c *: CoerceDatum should deal with truncate error internally (#3799) 2017-07-20 16:46:06 +08:00
26f307a538 util/types: add test for datum eval function (#3795) 2017-07-20 14:42:32 +08:00
fc9d5eb215 executor, codec: fix bug when join 2 decimal keys. (#3797) 2017-07-19 11:42:17 +08:00
246de6b354 expression: unit test coverage from builtin_compare.go from 53.2% to 85.8% (#3792) 2017-07-18 19:07:29 +08:00
466e48c3de executor, util: fix bug when the join's keys have different types. (#3784) 2017-07-18 16:28:08 +08:00
e2a122bfbb generation-expression: add name resolve (#3676) 2017-07-18 13:29:24 +08:00
bde940f399 Add a tidb_version() function to show tidb-server info (#3592) 2017-07-17 17:07:54 +08:00
d925b59702 codec: let it panic when we try to encode a unspecified decimal. (#3695) 2017-07-14 23:29:05 +08:00
7294232a9e *: rewrite compare functions using new expression evaluation architecture (#3714) 2017-07-13 19:46:46 +08:00