Merge branch '2.3' into 2.4

This commit is contained in:
Johan Wikman
2020-08-20 14:29:16 +03:00
5 changed files with 71 additions and 0 deletions

View File

@ -1350,6 +1350,14 @@ bool qc_set_options(uint32_t options)
return rv == QC_RESULT_OK;
}
bool qc_get_current_stmt(const char** ppStmt, size_t* pLen)
{
QC_TRACE();
mxb_assert(this_unit.classifier);
return this_unit.classifier->qc_get_current_stmt(ppStmt, pLen) == QC_RESULT_OK;
}
void qc_get_cache_properties(QC_CACHE_PROPERTIES* properties)
{
properties->max_size = this_unit.cache_max_size();