MXS-1196: Classify SHOW as QUERY_TYPE_READ

This commit is contained in:
Johan Wikman
2017-05-24 13:46:17 +03:00
parent 49c9c60c63
commit f9eef5ee3b
2 changed files with 24 additions and 17 deletions

View File

@ -2624,7 +2624,8 @@ int maxscaleKeyword(int token)
case TK_SHOW:
info->status = QC_QUERY_TOKENIZED;
info->type_mask = QUERY_TYPE_WRITE;
info->type_mask = QUERY_TYPE_READ;
info->operation = QUERY_OP_SHOW;
break;
case TK_START: