Literal USE statements are now parsed and classified as a database change queries.
This commit is contained in:
Markus Makela
2015-04-02 08:16:45 +03:00
parent ee2bb2be07
commit 440a6ece59
3 changed files with 58 additions and 7 deletions

View File

@ -1664,6 +1664,9 @@ skygw_query_op_t query_classifier_get_operation(GWBUF* querybuf)
case SQLCOM_DROP_INDEX:
operation = QUERY_OP_DROP_INDEX;
break;
case SQLCOM_CHANGE_DB:
operation = QUERY_OP_CHANGE_DB;
break;
default:
operation = QUERY_OP_UNDEFINED;