8000 使用vitess解析识别不了DDL · Issue #22 · ibanyu/owl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
使用vitess解析识别不了DDL #22
Open
@lazzyfu

Description

@lazzyfu
switch audit.Stmt.(type) {
case *sqlparser.DDL:
  -> vitess的新包中应为sqlparser.DDLStatement

当表的命名以数字开头,如:1b_order_xxx111info1 ,不能识别为DDLStatement

pingcap的ast支持

switch audit.TiStmt[0].(type) {
case ast.DDLNode:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0