Rename qc_get_type() to qc_get_type_mask()

To make it plain that it is a mask that is returned and not a
specific value from the enum qc_query_type_t.
This commit is contained in:
Johan Wikman
2017-01-17 16:38:17 +02:00
parent 86c97a2109
commit 16a76fcd28
13 changed files with 132 additions and 132 deletions

View File

@ -1765,12 +1765,12 @@ static int routeQuery(ROUTER* instance,
break;
case MYSQL_COM_QUERY:
qtype = qc_get_type(querybuf);
qtype = qc_get_type_mask(querybuf);
op = qc_get_operation(querybuf);
break;
case MYSQL_COM_STMT_PREPARE:
qtype = qc_get_type(querybuf);
qtype = qc_get_type_mask(querybuf);
qtype |= QUERY_TYPE_PREPARE_STMT;
break;