Rename query classifier functions consistently.
All public query classifier functions now have the prefix qc_.
This commit is contained in:
@ -65,7 +65,7 @@ int main(int argc, char** argv)
|
||||
*(qbuff->sbuf->data + 4) = 0x03;
|
||||
memcpy(qbuff->start + 5,readbuff,psize + 1);
|
||||
parse_query(qbuff);
|
||||
tok = skygw_get_canonical(qbuff);
|
||||
tok = qc_get_canonical(qbuff);
|
||||
fprintf(outfile,"%s\n",tok);
|
||||
free(tok);
|
||||
gwbuf_free(qbuff);
|
||||
|
@ -108,7 +108,7 @@ int main(int argc, char** argv)
|
||||
memmove(strbuff,tok + 1, strsz - qlen);
|
||||
strsz -= qlen;
|
||||
memset(strbuff + strsz,0,buffsz - strsz);
|
||||
skygw_query_type_t type = query_classifier_get_type(buff);
|
||||
skygw_query_type_t type = qc_get_type(buff);
|
||||
char qtypestr[64];
|
||||
char expbuff[256];
|
||||
int expos = 0;
|
||||
|
Reference in New Issue
Block a user