diff --git a/query_classifier/query_classifier.cc b/query_classifier/query_classifier.cc index af2657ca1..8381ed569 100644 --- a/query_classifier/query_classifier.cc +++ b/query_classifier/query_classifier.cc @@ -61,6 +61,19 @@ #include #include +typedef struct parsing_info_st +{ +#if defined(SS_DEBUG) + skygw_chk_t pi_chk_top; +#endif + void* pi_handle; /*< parsing info object pointer */ + char* pi_query_plain_str; /*< query as plain string */ + void (*pi_done_fp)(void *); /*< clean-up function for parsing info */ +#if defined(SS_DEBUG) + skygw_chk_t pi_chk_tail; +#endif +} parsing_info_t; + #define QTYPE_LESS_RESTRICTIVE_THAN_WRITE(t) (t