Visit master for call procedures

This commit is contained in:
wangbin579 2019-07-03 20:01:37 +03:00
parent f064e49325
commit a028928c26

View File

@ -136,7 +136,7 @@ cmd ::= SHOW WARNINGS. {
} }
cmd ::= USE ID(X). {sql_use_database(context, sql_token_dup(X));} cmd ::= USE ID(X). {sql_use_database(context, sql_token_dup(X));}
cmd ::= CALL expr(X). { cmd ::= CALL expr(X). {
context->rw_flag |= CF_READ; context->rw_flag |= CF_WRITE;
sql_context_add_stmt(context, STMT_CALL, X); sql_context_add_stmt(context, STMT_CALL, X);
} }