fixed temporary tables looking for database drops instead of table drops

This commit is contained in:
Markus Makela
2014-09-01 19:50:25 +03:00
parent 0e53633a37
commit 52f3adbf20
3 changed files with 127 additions and 47 deletions

View File

@ -74,6 +74,8 @@ skygw_query_type_t query_classifier_get_type(GWBUF* querybuf);
/** Free THD context and close MYSQL */
char* skygw_query_classifier_get_stmtname(MYSQL* mysql);
char* skygw_get_created_table_name(GWBUF* querybuf);
bool is_drop_table_query(GWBUF* querybuf);
void* skygw_get_affected_tables(void* thdp);
char** skygw_get_table_names(GWBUF* querybuf,int* tblsize);
char* skygw_get_canonical(GWBUF* querybuf);