DB error when executing query when logging is enabled
DB error when executing query such as
CRM_Core_DAO::executeQuery("INSERT INTO civicrm_fieldcondition_3(contact_custom_335, contact_custom_333) VALUES(%1, %2)", [
1 => [$cat_value, 'Positive'],
2 => [$subcat_value, 'Positive'],
]);
when logging is enabled because the table log_civicrm_fieldcondition_xx
doesn't exist.