Commit Graph

24 Commits

Author SHA1 Message Date
2bea06ed23 util, types: don't let SPM be affected by charset (#23161) 2021-03-12 22:39:10 +08:00
7ea78e772e types: fix clustered keyword regexp (#23264) 2021-03-12 08:02:54 +08:00
bc572f3b19 types: fix clustered keyword to hint regexp (#23247) 2021-03-11 15:54:54 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
51794e9d30 *: rewrite origin SQL with default DB for SQL bindings (#21275) 2021-01-06 16:28:29 +08:00
25a94e5f2c expression:truncate decimal value instead of return error (#21691) 2020-12-18 13:46:05 +08:00
6f3f126dee types: fix restore error for backslash (#21666)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-11 18:27:21 +08:00
c9d7089d86 ddl: add charset info in show create table if column is generated (#20347) 2020-11-03 15:56:53 +08:00
b4836c1062 driver: fix auto_random keyword regex (#17915) 2020-06-11 16:39:21 +08:00
7b25ce0d94 *: support auto_random table option (#16750) 2020-04-24 23:14:51 +08:00
72f4576742 executor, types: set correct collate in newValueExpr (#16323) 2020-04-15 17:38:59 +08:00
1c73deca59 ddl: add syntax for setting the cache step of auto id explicitly. (#15409) 2020-04-10 15:57:51 +08:00
ff47c8d05f parser: apply feature-ids special comments to auto_random (#15412) 2020-04-02 20:19:39 +08:00
8835f8efca *: set charset and collate for string literals correctly (#15156) 2020-03-06 17:01:46 +08:00
0ddfe0716f *: fix datum's collation behavior to build correct logical ranges (#14963) 2020-03-05 22:34:46 +08:00
0a0e388148 types: implement restore function for KindMysqlDuration and KindMysqlTime (#13242) 2020-01-09 11:03:09 +08:00
3d04337605 *: fix bugs when window function meets prepare (#9795) 2019-03-30 20:11:16 +08:00
69472bd1a6 value_expr: add charset value for string expr (#9302) 2019-02-18 14:58:08 +08:00
971629b947 parser: update parser version (#8973) 2019-01-08 13:39:34 +08:00
096bb68e6b types: implement new Restore func of ValueExpr (#8679) 2018-12-17 15:07:41 +08:00
741adcee43 types: impl ast.Recoverable for ValueExpr and ParamMarkerExpr (#8519) 2018-12-03 10:15:30 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
bd08b0bc70 *: make parser package dependency as small as possible (#7989) 2018-10-24 13:19:10 +08:00
25118db843 *: move ast.NewValueExpr to standalone parser_driver package (#7952)
Make the ast package get rid of the dependency of types.Datum
2018-10-19 19:37:55 +08:00