Remove explicit calls to parse_query.

Now that all query classifier functions parse the query if it
has not been parsed, there is no reason for any module to call
parse_query explicitly.
This commit is contained in:
Johan Wikman
2016-01-11 10:15:13 +02:00
parent 6e6ad67504
commit ec281849aa
4 changed files with 1 additions and 27 deletions

View File

@ -522,10 +522,6 @@ char* get_shard_target_name(ROUTER_INSTANCE* router, ROUTER_CLIENT_SES* client,
char* rval = NULL,*query, *tmp = NULL;
bool has_dbs = false; /**If the query targets any database other than the current one*/
if(!query_is_parsed(buffer)){
parse_query(buffer);
}
dbnms = skygw_get_database_names(buffer,&sz);
HASHTABLE* ht = client->shardmap->hash;