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
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
1f2841fbd4
ddl: year type should have an unsigned flag ( #7542 )
2018-08-31 16:45:38 +08:00
8d1acc2407
Fix bit default value bug ( #7249 )
2018-08-31 10:43:02 +08:00
f9a5686f9b
executor: make set system variable log shorter ( #7029 )
2018-07-11 14:09:22 +08:00
ab332eba2a
executor: BadNullError should be ignored by insert ignore statement ( #6465 )
2018-06-29 13:15:31 +08:00
1327ebbf96
ddl: year type should not has unsigned flag ( #6745 )
2018-06-04 18:38:17 +08:00
93efc51b96
*: unify the connection ID format in log ( #6670 )
...
Makes tracing the events of a session easier.
2018-05-29 00:31:16 +08:00
0fda3b408f
executor: move IgnoreErr to StmtCtx ( #6392 )
2018-05-02 17:10:59 +08:00
42f9ddae7a
column: fix zero value for binary type ( #6213 )
...
Zero value for BINARY type should be byte slice with length.
2018-04-03 20:58:10 +08:00
a46480c830
*: export implicit rowid and use it in CRUD ( #5984 )
2018-03-15 16:35:58 +08:00
4e1a114e68
*: move package context to sessionctx ( #5890 )
2018-02-22 18:03:38 +08:00
88b8740724
*: avoid the generation of mysql.TypeNewDate ( #5705 )
2018-01-23 21:41:02 +08:00
bdf15d5ec7
table: refine utf8 error message. ( #5667 )
2018-01-17 20:20:28 +08:00
e9b450aa0a
table: InsertExec eliminate unnecessary CastValue. ( #5581 )
2018-01-08 19:21:04 +08:00
8b149c3323
Prealloc / collides with package name ( #5560 )
2018-01-05 19:15:54 +08:00
970e5b5684
*: replace JSON with BinaryJSON ( #5460 )
2017-12-21 15:20:17 +08:00
f1e89cde19
*: use lower-case of github.com/sirupsen/logrus ( #5400 )
...
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus
* vendor: update pd
* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
a6756a4eee
*: make insert with calculated value behave the same as MySQL. ( #4603 )
2017-09-27 19:59:31 +08:00
88e1666ac6
*: change the log package to logrus ( #4452 )
2017-09-08 00:45:07 -05:00
fc209cb1df
*: rewrite hex and bit literals ( #4415 )
2017-09-07 16:28:24 +08:00
9367fdddd4
show column comment, table auto-increment; change index default collation ( #4303 )
...
* - 1. change index default collation from "utf8_bin" to "A".
- 2. show column comment. fix #4224 .
- 3. show table auto-increment. fix #3747 .
2017-08-26 17:45:03 -05:00
881d76840b
plan,executor: calculate generated columns in CRUD. ( #3951 )
2017-08-23 14:52:43 +08:00
bae8fe46f9
ddl: index name should not be primary ( #3834 ) ( #4030 )
2017-08-06 20:59:14 +08:00
01c1d4c5c5
executor: truncate the trailing spaces for "CHAR[(M)]" types ( #3878 )
2017-08-01 16:15:25 +08:00
a0dfa040ef
table,tablecodec,util/types: make it possible to read empty enum value ( #3664 )
2017-07-12 16:42:28 +08:00
19b2fb0e4c
table: add GeneratedExpr in table.Column. ( #3487 )
2017-06-16 21:43:44 +08:00
9575deeb10
ddl: add more features about generated column. ( #3431 )
...
DESC table_with_generated_column;
SHOW CREATE TABLE table_with_generated_column;
If generated expression in DDL references bad column, throw error;
If alter table change/drop column dependent by other columns, throw error;
if alter table change/modify generated columns, throw error if needs.
2017-06-13 18:53:58 +08:00
5f34aa4776
*: Add warnings for load data ( #3224 )
2017-05-11 08:11:52 +08:00
9cb61b047d
column: fix false negative utf8 check ( #2979 )
...
unicode 'u\fffd' is used to represent utf8 error when range a string, but itself is a valid utf8 character.
2017-03-31 21:31:42 +08:00
e40243059d
table: log more detail on incorrect utf8 value. ( #2916 )
2017-03-23 20:49:24 +08:00
7aa024c9a0
*: add UTF8 check global variable. ( #2899 )
2017-03-23 08:56:21 +08:00
d85a4cb1c8
table/column: disable utf8 check. ( #2895 )
...
When old row has invalid utf8 value and the data doesn't change, we should not fail to update.
So temporarily disable utf8 check until we can handle this problem.
* *: change log level
* *: do not truncate
2017-03-20 17:24:59 +08:00
cca10bab58
table: check and truncate UTF8 string in CastValue. ( #2819 )
2017-03-15 11:26:19 +08:00
fb9cd85e2e
*: Speed up the add columns phase ( #2769 )
2017-03-07 20:11:29 +08:00
0282310e8b
executor,localstore: use default value if column not found in row. ( #2703 )
2017-02-23 15:18:57 +08:00
26e5c0c867
*: move evaluator's helper to expression package. ( #2291 )
2016-12-23 11:34:52 +08:00
5230f5eabd
variable: define StatementContext. ( #2121 )
...
StatementContext is used to hold statement execution mode and state.
As every computation need this, there are many API changes.
2016-11-29 14:25:38 +08:00