MXS-1936 Make qc_mysqlembedded compatible with qc_sqlite

qc_mysqlembedded must also be updated to handle the new type
QUERY_TYPE_DEALLOC_PREPARE. Some adjustements were also needed
elsewhere.
This commit is contained in:
Johan Wikman
2018-06-21 10:39:53 +03:00
parent 9e4b86ff0a
commit 45bda0f72e
3 changed files with 14 additions and 1 deletions

View File

@ -140,6 +140,10 @@ char* get_types_as_string(uint32_t types)
{
s = append(s, "QUERY_TYPE_SHOW_TABLES", &len);
}
if (types & QUERY_TYPE_DEALLOC_PREPARE)
{
s = append(s, "QUERY_TYPE_DEALLOC_PREPARE", &len);
}
if (!s)
{