Skip to content

Commit 4a34588

Browse files
authored
Merge branch 'master' into master
2 parents 081dece + cbfc40a commit 4a34588

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @pingcap/co-parser

ast/functions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ const (
246246
Version = "version"
247247
TiDBVersion = "tidb_version"
248248
TiDBIsDDLOwner = "tidb_is_ddl_owner"
249+
TiDBDecodePlan = "tidb_decode_plan"
249250

250251
// control functions
251252
If = "if"

parser_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,7 @@ func (s *testParserSuite) TestBuiltin(c *C) {
11981198

11991199
{`SELECT tidb_version();`, true, "SELECT TIDB_VERSION()"},
12001200
{`SELECT tidb_is_ddl_owner();`, true, "SELECT TIDB_IS_DDL_OWNER()"},
1201+
{`SELECT tidb_decode_plan();`, true, "SELECT TIDB_DECODE_PLAN()"},
12011202
{`SELECT tidb_decode_key('abc');`, true, "SELECT TIDB_DECODE_KEY('abc')"},
12021203

12031204
// for time fsp

0 commit comments

Comments
 (0)