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
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