773b29102d
charset: add missing ascii check( #18193 )
2020-06-27 15:34:26 +08:00
127ad504b2
table: optimize add record used in lightning ( #18102 )
2020-06-24 15:18:01 +08:00
c19018e06f
rename 'trancates' to 'truncates' ( #17968 )
2020-06-16 19:55:29 +08:00
d66d5028da
*: support plain insert on cluster index table ( #17674 )
2020-06-05 13:23:43 +08:00
3176b00c02
executor: fix the issue that UNIQUE constraint on boolean column results in an incorrect result in a comparison ( #17245 )
2020-05-20 13:55:18 +08:00
1417ba2288
*: fix a bug that don't handle truncate properly for virtual generated column ( #17217 )
2020-05-14 20:57:55 +08:00
242ce93302
Revert "expression: support NO_ZERO_DATE sql_mode" ( #16740 )
2020-04-23 13:37:19 +08:00
db7c13537a
expression: support NO_ZERO_DATE sql_mode ( #16053 )
2020-04-22 23:27:01 +08:00
a0c7407846
executor: set length and frac when we change zero to decimal t… ( #16518 )
2020-04-18 00:01:37 +08:00
3ced6bc9ac
dml: support default expression cache when insert ( #15216 )
2020-03-19 10:51:22 +08:00
0ddfe0716f
*: fix datum's collation behavior to build correct logical ranges ( #14963 )
2020-03-05 22:34:46 +08:00
41142266b2
*: use SetString() for string instead of SetBytes() ( #14989 )
2020-03-02 15:48:10 +08:00
0bbf1d954c
*: implement the sequence allocator logic. ( #14829 )
2020-02-26 15:45:38 +08:00
eb12799152
*: Collation should be set accordingly when setting string datum ( #14757 )
2020-02-20 23:01:53 +08:00
007c0e6656
*: support default expression value for sequence ( #14589 )
2020-02-13 18:50:33 +08:00
0bab73adf5
*: use new row-format in tidb ( #12634 )
2020-01-02 22:34:39 +08:00
86ae838d5a
planner/core: disallow using hidden column in insert statement ( #14150 )
2019-12-26 16:08:55 +08:00
13400ee89a
table, executor: extract two functions for ShowCreateTable/DB ( #13907 )
2019-12-05 10:47:52 +08:00
dcbb5a162a
table: format table error code and error message ( #13233 )
2019-12-03 19:59:39 +08:00
37ea7d44a5
table: refactor code simplify string comparison ( #13762 )
2019-11-27 17:03:23 +08:00
a1dc0477a5
types: add error code for package types ( #13300 )
2019-11-26 19:45:14 +08:00
36f0f37b40
expression, planner: remove some fields from `expression.Colum… ( #12573 )
2019-10-29 15:48:26 +08:00
933f4a5c21
ddl: fix incorrect origin default bit value in ColumnInfo ( #12168 )
2019-09-30 10:40:11 +08:00
adb3071c90
*: refine the attribute definition of types.Time and types.Dur… ( #11672 )
2019-08-14 11:30:40 +08:00
129c0afdc6
executor, infoschema: fix display of on update CURRENT_TIMESTAMP with decimal ( #11480 )
2019-08-02 16:50:10 +08:00
862a2beba5
- make generated column ref in insert set available ( #11042 )
...
- change generated column calculation later in fillValue, resolve related compatible problems
2019-07-04 17:43:58 +08:00
53a1ce6075
executor, infoschema: fix display of default CURRENT_TIMESTAMP with decimal ( #11070 )
2019-07-04 16:44:12 +08:00
c8d1ff7ca6
*: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' ( #10866 )
2019-06-21 19:13:31 +08:00
1ef1d8ad3e
modify desc is compatible with MySQL ( #10358 )
2019-05-08 09:28:55 +08:00
17c3229b63
table: improve package unit test code coverage to 92% ( #10360 )
2019-05-07 13:58:40 +08:00
70c37188ac
executor: fix bad null error handling for insert statement when disabling the strict SQL mode ( #10161 )
2019-04-21 15:53:47 +08:00
f723f0b143
table, infoschema, executor: fix Charset/Collation shown in column desc ( #10007 )
2019-04-09 20:00:13 +08:00
62b209cb80
fix desc table not compatibile with mysql ( #10022 )
2019-04-04 18:24:30 +08:00
e9653675dd
*: remove errors.Trace in main handle path ( #10033 )
2019-04-04 14:27:15 +08:00
76a01da313
remove unnecessary expensive trace call and log from hot path ( #10025 )
2019-04-03 23:09:51 +08:00
08346b7577
table: handling the boundary value of the timestamp type's default value ( #9578 )
2019-04-01 21:38:28 +08:00
c451f00814
*: fix utf8 charset upgrade compatibility ( #9820 )
2019-03-25 18:06:32 +08:00
d3f39759dc
table: replace logger with zap logger ( #9514 )
2019-03-18 11:29:19 +08:00
6f5f7c360f
table, executor: handle the column's version when it's greater than ColumnInfoVersion1 ( #9488 )
2019-02-27 16:57:33 +08:00
94d21c57aa
* fix timestamp default value bug in multiple time zones. ( #9115 )
2019-02-18 15:35:27 +08:00
469fa877d6
util/hack: define a MutableString type for function hack.String ( #9230 )
2019-02-12 12:30:40 +08:00
c83a0ceb95
config: add a config item to control whether TiDB check the mb4 character in utf8 ( #9175 )
2019-01-25 14:39:30 +08:00
1232db5590
planner/core: add DefaultExpr support for expressionRewriter ( #8540 )
2019-01-02 23:36:36 +08:00
1c4d2d9890
table: check non-BMP characters and return error when the charset is utf8 and sql mode is strict mode ( #8738 )
2018-12-19 17:52:47 +08:00
ef0ad26da8
executor,table: remove redundant if condition and fix comment typos ( #8627 )
2018-12-10 23:48:53 +08:00
e2e8d67819
table, executor: set a real enum as the default enum value ( #8469 )
2018-11-27 20:33:12 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
e544882d0b
ddl:support the definition of null change to not null using alter table ( #7771 )
...
* ddl:support the definition of null change to not null using alter table
2018-10-17 17:13:01 +08:00
d7a59ec5a3
executor: remove some useless code and avoid some redundancy check ( #7639 )
2018-10-12 12:56:02 +08:00