Commit Graph

16 Commits

Author SHA1 Message Date
0c19f92741 encoding: refactor transform to avoid the misuse buffer (#31480)
close pingcap/tidb#31488
2022-01-10 12:13:41 +08:00
17927d489a parser: decode the binary literal value in enum or set (#31231)
close pingcap/tidb#30740
2022-01-04 14:14:35 +08:00
9ffeff2857 types: convert to new charset before inserting to blob or json column (#31031)
close pingcap/tidb#30690
2021-12-30 21:35:50 +08:00
7647c2b9b0 parser: parse gbk encoding SQL token by token instead of the whole SQL (#31039)
close pingcap/tidb#30765
2021-12-28 22:07:49 +08:00
61d13b561c encoding: skip utf8 charset validation in some cases (#31061)
close pingcap/tidb#31014
2021-12-28 17:51:49 +08:00
d543b60464 parser: add IsValid() to Encoding to speed up string validation for UTF-8 (#30937)
close pingcap/tidb#30936
2021-12-22 18:19:48 +08:00
ab35db14a6 *: refactor encoding and uniform usages (#30288) 2021-12-20 15:27:46 +08:00
e2e6e5561b encoding: refactor the character encoding (#29935) 2021-11-22 16:59:49 +08:00
9ec688ebe8 expression, parser: support GBK for builtin function ord (#29527) 2021-11-18 14:33:47 +08:00
ad85341857 charset: support builtin function convert (#28943) 2021-11-01 16:56:51 +08:00
412dd4f763 parser: refactor Parse() interface to make it extensible (#28975) 2021-10-21 10:56:45 +08:00
9f8c053d06 parser: refactor encode and decode (#28917)
* refactor encoding

* add a simple test case for encoding

Co-authored-by: tangenta <tangenta@126.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-10-19 15:50:33 +08:00
ac9dcbb53f expression: support GBK charset for builtin function upper() (#28817) 2021-10-15 15:29:27 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
bd299b990e [parser] charset: fix Encoding.Encode() and add some tests (#1344) 2021-10-09 14:53:23 +08:00
ba105bbd10 [parser] support parsing SQL with encodings other than utf8 (#1312) 2021-10-09 14:53:23 +08:00