qc: Some minor cleanup

- qc_types_to_string renamed to qc_typemask_to_string
- qc_get_qtype_str removed, duplicate of qc_typemask_to_string
This commit is contained in:
Johan Wikman
2016-10-26 09:19:02 +03:00
parent d7ce3ad75b
commit dc97de57c2
5 changed files with 8 additions and 59 deletions

View File

@ -354,7 +354,7 @@ bool compare_get_type(QUERY_CLASSIFIER* pClassifier1, GWBUF* pCopy1,
if (rv1 == rv2)
{
char* types = qc_types_to_string(rv1);
char* types = qc_typemask_to_string(rv1);
ss << "Ok : " << types;
free(types);
success = true;
@ -385,8 +385,8 @@ bool compare_get_type(QUERY_CLASSIFIER* pClassifier1, GWBUF* pCopy1,
rv2b &= ~(uint32_t)QUERY_TYPE_LOCAL_READ;
}
char* types1 = qc_types_to_string(rv1);
char* types2 = qc_types_to_string(rv2);
char* types1 = qc_typemask_to_string(rv1);
char* types2 = qc_typemask_to_string(rv2);
if (rv1b == rv2b)
{