Rename query classifier functions consistently.

All public query classifier functions now have the prefix qc_.
This commit is contained in:
Johan Wikman
2016-01-11 10:58:39 +02:00
parent ec281849aa
commit 2f42246880
10 changed files with 58 additions and 59 deletions

View File

@ -447,7 +447,7 @@ get_shard_target_name(ROUTER_INSTANCE* router, ROUTER_CLIENT_SES* client, GWBUF*
char *query = NULL,*tmp = NULL;
bool has_dbs = false; /**If the query targets any database other than the current one*/
dbnms = skygw_get_database_names(buffer, &sz);
dbnms = qc_get_database_names(buffer, &sz);
if(sz > 0)
{
@ -1607,11 +1607,11 @@ routeQuery(ROUTER* instance,
break;
case MYSQL_COM_QUERY:
qtype = query_classifier_get_type(querybuf);
qtype = qc_get_type(querybuf);
break;
case MYSQL_COM_STMT_PREPARE:
qtype = query_classifier_get_type(querybuf);
qtype = qc_get_type(querybuf);
qtype |= QUERY_TYPE_PREPARE_STMT;
break;