7f4091d993
expression: set json to right type ( #37054 )
...
close pingcap/tidb#37339
2022-08-24 17:18:21 +08:00
2e16291b2d
server: support deprecation of EOF packets ( #34753 )
...
close pingcap/tidb#32118
2022-08-05 15:34:07 +08:00
a6475a1397
server: Support flag 128 in execution of prepared statements ( #36732 )
...
close pingcap/tidb#36731
2022-08-04 17:48:06 +08:00
5b4a82dbf4
*: upgrade bazel timeout ( #36776 )
2022-08-02 11:10:05 +08:00
624171abcc
*: decouple planner/core from ddl package ( #36608 )
2022-07-27 21:15:12 +08:00
bf743a6ca0
*: enable flaky test for all test ( #36385 )
...
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
911e7cc360
*: enable revive ( #35970 )
...
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
9a2ed52119
server, sessionctx: support token-based authentication ( #36152 )
...
close pingcap/tidb#35913
2022-07-14 18:29:06 +08:00
2b4a4c6d7a
*: support bazel ( #33691 )
...
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
7342460e07
refactor(charset): remove unused charsets map ( #35120 )
...
close pingcap/tidb#35118
2022-06-02 14:28:27 +08:00
b7eeb41c31
parser: revert latin1 as an alias for utf8mb4 ( #35025 )
...
ref pingcap/tidb#34008
2022-05-30 22:04:26 +08:00
79938e695c
dml: support for show count(*) warnings | errors ( #34721 )
...
close pingcap/tidb#25068
2022-05-23 15:50:46 +08:00
ede6f8cf16
*: Support modify table/column charset from latin1 to utf8/utf8mb4 ( #34386 )
...
ref pingcap/tidb#34008
2022-05-10 13:00:35 +08:00
1bf64c60f4
*: Refactor FieldType structure ( #33569 )
...
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
4d3a3c259a
server: use max_allowed_packet to limit the packet size. ( #33651 )
...
close pingcap/tidb#31422
2022-04-18 11:24:03 +08:00
3ddd95906e
parser/mysql, privilege/privileges: fix trigger privilege ( #32893 )
...
close pingcap/tidb#32891
2022-03-23 11:52:33 +08:00
1d20bbfeb4
*: Annotations to fix gosec warnings of CWE-798 ( #31311 )
...
ref pingcap/tidb#31310
2022-01-11 00:21:42 +08:00
df58e6c36c
execution: refine precision of cast as decimal in agg func ( #30805 )
2021-12-23 16:53:47 +08:00
b4df7ca4dc
test: make all the tests run in serial ( #30692 )
2021-12-14 18:06:36 +08:00
5f340b88c9
parser: format error message during parsing when meet a big value. ( #28791 )
2021-11-18 00:51:47 +08:00
ec7a638e33
executor: Fix authplugin handling with alter/create ( #28468 )
2021-11-02 01:10:51 +08:00
8d9647dee5
privileges: fix create temporary tables privilege ( #29279 )
2021-11-01 16:46:51 +08:00
11b61738f3
parser: migrate test-infra to testify ( #29191 )
2021-10-28 12:30:49 +08:00
c1ec51e049
privilege: add Event and Routine privilege on db level ( #28690 )
2021-10-13 14:07:27 +08:00
6553404bb2
*: fix regression from FLUSH PRIVILEGES fix ( #28736 )
2021-10-13 11:19:26 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
77e63887f2
[parser] mysql: add references priv in AllColumnPrivs ( #1358 )
2021-10-09 14:53:23 +08:00
a1ff6f89c9
[parser] Create TMP Tables issue fix ( #1359 )
2021-10-09 14:53:23 +08:00
a68e007548
[parser] mysql: fix MaxDurationWidthWithFsp ( #1345 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2021-10-09 14:53:23 +08:00
726409a242
[parser] Add 'auth_socket' ( #1323 )
2021-10-09 14:53:23 +08:00
d1694fad47
[parser] Grant lock tables issue fix ( #1316 )
2021-10-09 14:53:23 +08:00
70855c9d0e
[parser] Added ReferencesPriv to DB and Table level, see tidb issue 26703 ( #1304 )
2021-10-09 14:53:23 +08:00
6790f201fc
[parser] add drop column with index flag ( #1286 )
...
Signed-off-by: ailinkid <314806019@qq.com >
2021-10-09 14:53:23 +08:00
8d23ad21c9
[parser] auth: add the caching sha2 algorithm for authentication ( #1232 )
...
This allows validating passwords against the `authentication_string`
data that MySQL stores for caching_sha2 passwords.
Related:
- https://github.com/pingcap/tidb/issues/9411
2021-10-09 14:53:23 +08:00
397683047e
[parser] parser: Fix tidb issue 24439 Inconsistent error with MySQL for GRANT CREATE USER ON <specific db>.* ( #1224 )
...
* add StaticGlobalOnlyPrivs
* fix
2021-10-09 14:53:23 +08:00
67b2a63ac9
[parser] Add EnumSetAsIntFlag flag to control enum behavior. ( #1165 )
...
* add enumset as int flag
* update evaltype
* add has function
* Update mysql/type.go
Co-authored-by: tangenta <tangenta@126.com >
Co-authored-by: tangenta <tangenta@126.com >
2021-10-09 14:53:23 +08:00
bc860cdd5e
[parser] *: fix static check report ( #1195 )
...
* ast: base.go
Signed-off-by: xhe <xw897002528@gmail.com >
* ast: expressions.go
Signed-off-by: xhe <xw897002528@gmail.com >
* ast: misc_test.go
Signed-off-by: xhe <xw897002528@gmail.com >
* *: digester.go
Signed-off-by: xhe <xw897002528@gmail.com >
* goyacc: format_yacc.go
Signed-off-by: xhe <xw897002528@gmail.com >
* *: lexer_test.go
Signed-off-by: xhe <xw897002528@gmail.com >
* *: misc.go
Signed-off-by: xhe <xw897002528@gmail.com >
* model: model.go
Signed-off-by: xhe <xw897002528@gmail.com >
* model: model_test.go
Signed-off-by: xhe <xw897002528@gmail.com >
* *: parser_test.go
Signed-off-by: xhe <xw897002528@gmail.com >
* test_driver: test_driver_datum.go
Signed-off-by: xhe <xw897002528@gmail.com >
* test_driver: test_driver_mydecimal.go
Signed-off-by: xhe <xw897002528@gmail.com >
* ast: ddl.go, bugfix
Signed-off-by: xhe <xw897002528@gmail.com >
* mysql: errcode.go
charset/charset.go is passing errcode to NewStd, which requires int. But
here codes are uint16. To get rid of the error, uint16 is removed.
Signed-off-by: xhe <xw897002528@gmail.com >
* model: better test
Signed-off-by: xhe <xw897002528@gmail.com >
* *: fix timezone
Signed-off-by: xhe <xw897002528@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2021-10-09 14:53:23 +08:00
5f6739c14e
[parser] mysql: modify TypeNewDecimal length in defaultLengthAndDecimalForCast ( #1202 )
2021-10-09 14:53:23 +08:00
0b7ab92e3a
[parser] mysql: small privileges refactor ( #1198 )
...
* mysql: extract privs out
Signed-off-by: xhe <xw897002528@gmail.com >
* mysql: add priv.String()
Signed-off-by: xhe <xw897002528@gmail.com >
* mysql: add privs.Has()
Signed-off-by: xhe <xw897002528@gmail.com >
* mysql: add p.SetString() and p.ColumnString()
Signed-off-by: xhe <xw897002528@gmail.com >
* mysql: add NewPrivFromSetEnum/Column
Signed-off-by: xhe <xw897002528@gmail.com >
* *: add license
Co-authored-by: kennytm <kennytm@gmail.com >
* *: complete the license
Signed-off-by: xhe <xw897002528@gmail.com >
Co-authored-by: kennytm <kennytm@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2021-10-09 14:53:23 +08:00
8112420b91
[parser] mysql: add create_view to tables_priv ( #1201 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2021-10-09 14:53:23 +08:00
4bc38d9c99
[parser] privileges: show create view privilege should in AllTablePrivs ( #1182 )
...
Co-authored-by: jwxiong <xiongjiwei1996@outlook.com >
2021-10-09 14:53:23 +08:00
8950ad0f44
[parser] *: support dynamic privileges and more extended privileges ( #1144 )
...
* *: support dynamic privileges and more extended privileges
* address comment
* address comment
2021-10-09 14:53:23 +08:00
207955cf69
[parser] *: change privilege type to uint64 and support REPLICATION CLIENT, etc ( #1121 )
2021-10-09 14:53:23 +08:00
79fbb96097
[parser] mysql: add consts for auth switch request ( #1088 )
2021-10-09 14:53:23 +08:00
4a064e9c23
[parser] mysql: fix wrong default decimal length ( #1093 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2021-10-09 14:53:23 +08:00
e3daabacc0
[parser] *: redact arguments for Error ( #1051 )
2021-10-09 14:53:23 +08:00
6789b2118a
[parser] fix CreateTablespacePriv order in const ( #1032 )
...
* Add support GRANT CREATE TABLESPACE syntax
* recompilation parser.go
* adjust CreateTablespacePriv constant
* fix CreateTablespacePriv order in const
* add comment
2021-10-09 14:53:23 +08:00
7f3ab46241
[parser] Add support GRANT CREATE TABLESPACE syntax ( #1029 )
...
* Add support GRANT CREATE TABLESPACE syntax
* recompilation parser.go
* adjust CreateTablespacePriv constant
2021-10-09 14:53:23 +08:00
305020c36d
[parser] const: fix wrong SQL mode const ( #1008 )
...
* const: fix wrong SQL mode const
* add test
* remove some change
* trigger CI
2021-10-09 14:53:23 +08:00
63da8aaba0
[parser] fix: remove TypeDecimal ( #944 )
...
Signed-off-by: Wang Ruichao <wangruichao2014@xiaochuankeji.cn >
2021-10-09 14:53:23 +08:00