127ad504b2
table: optimize add record used in lightning ( #18102 )
2020-06-24 15:18:01 +08:00
bca31eaf62
*: refine the behavior of StrToInt and StrToFloat and support convert JSON to date, time and timestamp ( #17902 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-06-22 11:59:24 +08:00
b4836c1062
driver: fix auto_random keyword regex ( #17915 )
2020-06-11 16:39:21 +08:00
f87e2b1710
types: ToString() should not return error for datum null ( #17894 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
Co-authored-by: crazycs <crazycs520@gmail.com >
2020-06-10 17:10:31 +08:00
7fc1ca3174
types/json: fix JSON comparison for int and float ( #17622 )
2020-06-05 16:05:58 +08:00
09af066c54
*: fix a bug that collation does not work for enum and set ( #17635 )
2020-06-05 12:14:42 +08:00
f1b21b562a
types: match MySQL behavior with datetime delimiters ( #17376 )
2020-05-29 11:05:35 +08:00
959ad888b0
types: fix StrToDate handling of %h and %p ( #17395 )
2020-05-28 17:37:13 +08:00
c928a53cd2
types: Introduce fuzzing by adding 3 fuzzers ( #17250 )
...
* Added 3 fuzzers
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-05-19 20:29:39 +08:00
ac30f5322e
mockstore: introducing embedded unistore ( #17156 )
2020-05-18 17:28:44 +08:00
a1763c1b6e
executor: fix memory corrupt in COUNT/JSON_OBJECTAGG/GROUP_CONCAT ( #17106 )
2020-05-13 16:58:20 +08:00
079939f808
expression: NotNullFlag is not set correctly for some expression ( #16954 )
2020-05-06 19:29:10 +08:00
26e208b9df
executor, types: copy enum/set instead of refer the underlying data ( #16858 )
2020-04-28 13:00:40 +08:00
7b25ce0d94
*: support auto_random table option ( #16750 )
2020-04-24 23:14:51 +08:00
62e4d588a8
Makefile: add unconvert to inspect unnecessary type convert ( #16549 )
2020-04-22 23:01:59 +08:00
d49573e050
*: refine some logs with incorrect collation ( #16275 )
2020-04-22 15:23:48 +08:00
94011e6064
expression: fix the issue that incorrect result for query that uses an AND operator on floats ( #15927 )
2020-04-21 14:38:18 +08:00
bdbdbaed7f
expression: fix the issue that incorrect result for a predicat… ( #16014 )
2020-04-17 22:43:32 +08:00
72f4576742
executor, types: set correct collate in newValueExpr ( #16323 )
2020-04-15 17:38:59 +08:00
7cc2c70041
expression: implement vectorized evaluation for `builtinJSONSe… ( #15859 )
2020-04-15 10:38:01 +08:00
1c73deca59
ddl: add syntax for setting the cache step of auto id explicitly. ( #15409 )
2020-04-10 15:57:51 +08:00
c561d5aa99
*: remove useless conversions and omit some types ( #16262 )
2020-04-10 00:23:06 +08:00
ff47c8d05f
parser: apply feature-ids special comments to auto_random ( #15412 )
2020-04-02 20:19:39 +08:00
5e8706a1f6
util/collate: remove CollatorOption ( #15472 )
...
`CollatorOption` was used to specify the `PadLen` which aims to support
"PADDING" attribute of the collations. But now it is not needed anymore,
since TiDB actually implements "PADDING" by removing trailing spaces.
2020-03-19 15:16:29 +08:00
1ff32ace27
executor: use MySQL compatible truncate error code ( #15422 )
2020-03-18 12:28:43 +08:00
74626823f4
expression: fix collate bug in constant propagation ( #15066 )
2020-03-13 22:55:23 +08:00
8db471ff1f
expression: fix the issue that casting a string to a real number is not compatible with MySQL ( #15321 )
2020-03-12 16:15:32 +08:00
ab17254e3b
executor: fix error message when inserting an invalid value for type datetime ( #15220 )
2020-03-12 12:04:03 +08:00
9f0736ee8b
errno: move the error code from the parser/mysql to tidb/errno ( #15277 )
2020-03-11 15:40:21 +08:00
55b3e1110c
*: reduce the allocation caused by Datum.Copy ( #15219 )
2020-03-09 17:38:46 +08:00
e58cef5718
expression,types: wrap ParseUint error with stack ( #15188 )
2020-03-09 14:28:45 +08:00
8835f8efca
*: set charset and collate for string literals correctly ( #15156 )
2020-03-06 17:01:46 +08:00
0ddfe0716f
*: fix datum's collation behavior to build correct logical ranges ( #14963 )
2020-03-05 22:34:46 +08:00
1771fff928
expression: make field and findInSet support collation ( #15100 )
2020-03-04 18:12:53 +08:00
41142266b2
*: use SetString() for string instead of SetBytes() ( #14989 )
2020-03-02 15:48:10 +08:00
f2fa5c5fd5
expression: consider collations when comparing strings ( #14913 )
2020-02-25 15:06:37 +08:00
51a1323869
expression/types: check when insert binary literal ( #9829 )
2020-02-25 14:55:06 +08:00
eb12799152
*: Collation should be set accordingly when setting string datum ( #14757 )
2020-02-20 23:01:53 +08:00
0b709f7a45
ddl: ensure BLOB or TEXT index length is not zero ( #14803 )
2020-02-15 13:19:07 +08:00
4755a9b9ef
util: revert util/mathutil ( #14744 )
2020-02-13 11:33:04 +08:00
b23500ce06
types: fix decimal tests failed ( #14732 )
2020-02-11 22:44:05 +08:00
c93f03e018
types: add debug info to trace unit test ( #14714 )
2020-02-10 21:47:34 +08:00
b596a30e7d
types: add more info in test to investigate the fail cause ( #14676 )
2020-02-07 21:30:19 +08:00
87bbe7dcbe
types: Fix duration parser ( #14588 )
...
Signed-off-by: Iosmanthus Teng <myosmanthustree@gmail.com >
2020-02-07 14:30:44 +08:00
465af00b46
*: use new registrable terror ( #14606 )
2020-02-06 16:40:26 +08:00
4a63d416ba
types: add more info in test to investigate the fail cause ( #14640 )
2020-02-06 11:26:54 +08:00
ac8caad243
json: do not escape html special values ( #14518 )
2020-02-05 11:52:25 +08:00
ebc6a2d39d
*: add builtin aggregate function json_objectagg ( #11154 )
2020-02-04 21:41:55 +08:00
c46044f026
expression: optimize function IN using hashmap ( #13594 )
2020-01-31 19:58:53 +08:00
9d38c5467a
*: use 8 byte MysqlTime format ( #14278 )
2020-01-31 14:49:06 +08:00