94be83bfa6
*: replace compareDatum by compare and fix wrong optimize order by ( #30273 )
2021-12-01 19:01:53 +08:00
0b2d9d108f
types: check values equals to NaN or Inf when convert to float ( #30148 )
2021-11-30 18:09:54 +08:00
b5ded48df9
*: replace compareDatum by compare and fix compare ( #30090 )
2021-11-24 17:31:51 +08:00
3d267514d5
expression: cast charset according to the function's resulting charset ( #29905 )
2021-11-24 17:07:50 +08:00
51f53f3376
insert: fix the auto id retry won't cast the datum to origin type ( #29997 )
2021-11-22 23:39:49 +08:00
2bf67ff18e
executor, types: refactor CompareDatum ( #29866 )
2021-11-22 23:23:50 +08:00
d711f18e0d
types/datum.go: casting zero to enum should not change value ( #29759 )
2021-11-22 18:29:49 +08:00
02a8f04531
types: fix return err when decimal from string value ( #22407 )
2021-11-22 18:15:49 +08:00
8368eeed24
*: remove useless parameter ( #29392 )
2021-11-04 12:39:02 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
f44d2cb9f7
types: distinguish between string and non-string in execute statement arguments ( #28061 )
2021-10-08 15:05:24 +08:00
7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +08:00
73cadf060d
ddl: improve MySQL compatibility on time-to-year conversion ( #26884 )
2021-08-13 22:49:58 +08:00
3cda7d0a72
*: insert of invalid timestamp succeeded ( #26584 )
2021-08-05 18:03:12 +08:00
39aae6a455
types: support valid unsigned integers convert to time ( #26895 )
2021-08-05 09:59:07 +08:00
6329c86533
ddl: fix cast date as timestamp will write invalid value ( #26362 )
2021-07-20 23:19:34 +08:00
8885b70bfe
types, expression: fix gotime.local problem ( #25510 )
2021-07-08 14:59:29 +08:00
9a3ed706cc
ddl: fix cast datetime timestamp under column type change ( #25560 )
2021-06-18 16:32:38 +08:00
2017d2fd68
types: fix wrong truncated val for bit type ( #25198 )
2021-06-07 15:40:29 +08:00
2f44a71110
cast: fix cast bit to binary and varbinary ( #25064 )
2021-06-04 18:02:28 +08:00
88928adb0f
ddl, types: fix int to datetime conversion to avoid useless retry ( #24874 )
2021-05-26 15:15:36 +08:00
670b5fbcf5
ranger: fix the range construction behavior when the column's type is YEAR ( #23559 )
2021-04-14 16:03:52 +08:00
af09828059
planner: fix wrong TableDual plans caused by comparing Binary and Bytes incorrectly
2021-04-08 11:16:43 +08:00
a234ce62ff
planner, type: remove the prefix 0 in the bit array when we get the BinaryLiteral ( #23523 )
2021-03-30 12:01:24 +08:00
c9e041ee6c
types: fix collation for binary literal ( #23591 )
2021-03-26 20:39:23 +08:00
db62e341fd
executor: fix wrong key range of index scan when filter is comparing year column with NULL ( #23079 )
2021-03-04 16:04:54 +08:00
6f250b625e
*: fix a bug that collation is not handle for text type ( #23045 )
2021-03-03 22:04:54 +08:00
17a65ab98b
statistics: refactor the statistics package use the RestrictedSQLExecutor API ( #22636 )
2021-02-03 13:28:57 +08:00
ca93c7fc16
types: convert string to MySQL BIT correctly ( #21310 )
2021-01-18 12:17:58 +08:00
7c81719568
types: refine JSON conversion, throw err when object/array convert to integer/float/decimal ( #21826 )
2021-01-04 18:48:23 +08:00
b112c3c9a3
types: Add a limitation about float data type ( #20929 )
2020-12-23 16:47:59 +08:00
3b1e1027fd
expression, json: fix converting from string to decimal ( #21592 )
2020-12-09 17:23:20 +08:00
7e3074afa3
ddl: support column type change from JSON type to other types ( #21266 )
2020-12-04 00:14:48 +08:00
0c3c4c588a
*: Let binary literal can be convert to enum and set ( #20789 )
2020-12-02 20:15:18 +08:00
83c1652633
expression, executor: allow insert strings with overflowed trailing spaces ( #20987 )
2020-11-24 18:06:16 +08:00
a81c89f89b
ddl: support column type change from date time type to other types ( #20778 )
2020-11-12 19:06:42 +08:00
e608e4bca9
ddl: fix the enum's default value where create table ( #20849 )
2020-11-11 20:18:17 +08:00
7ab3649256
executor, types: fix skipped replace when the value is treated as the same in CI collations ( #20858 )
2020-11-11 19:38:23 +08:00
cc0bef82b7
util, types: fix overflow & adjustment for the year type in index ranger ( #20338 )
2020-11-06 17:14:54 +08:00
feab4cb9b8
executor: fix skipped update when the value is treated as the same in CI collations ( #20786 )
2020-11-04 17:07:16 +08:00
480a45acee
ddl: refine reorg warnings receiving logic ( #20707 )
...
Signed-off-by: AilinKid <314806019@qq.com >
2020-11-03 21:18:01 +08:00
a7f9d7a67a
expression: fix data too long when convert to bit returns null value ( #20241 )
2020-10-09 14:20:10 +08:00
eb81a67b33
expression: fix overflow error when convert bit to int64 ( #20266 )
2020-09-30 13:00:09 +08:00
2809a57981
types: fix year conversion ( #19781 )
2020-09-29 11:51:07 +08:00
fd0a18a90c
types: fix FLOAT data overflow check ( #20067 ) ( #20158 )
2020-09-27 18:57:42 +08:00
6271bd472e
expression: fix inaccurate error info for year column out of range ( #18871 )
2020-09-23 15:52:30 +08:00
94704d0cc4
expression: incorrect error message of inserting enum & set ( #19380 )
2020-09-11 15:48:24 +08:00
9c344ce66e
types: fix bug of converting enum and set ( #19699 )
2020-09-03 23:43:49 +08:00
e24d1455af
types, executor: refine convertToMysqlEnum when src is of type Enum ( #19640 )
...
* types, executor: refine convertToMysqlEnum when src is of type Enum
* remove useless code
* refine
* add a TODO for collation
* add test for collate
* remove useless code
* address comment
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-01 19:35:12 +08:00
f5fa3e7aa7
executor: fix index join error when join key is ENUM or SET ( #19235 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-24 20:50:51 +08:00