MXS-1196: Turn on Oracle compatibility
This commit is contained in:
@ -2838,6 +2838,10 @@ int32_t qc_mysql_process_init(void)
|
|||||||
#endif
|
#endif
|
||||||
MXS_NOTICE("Query classifier initialized.");
|
MXS_NOTICE("Query classifier initialized.");
|
||||||
inited = true;
|
inited = true;
|
||||||
|
|
||||||
|
#if MYSQL_VERSION_MINOR >= 3
|
||||||
|
global_system_variables.sql_mode |= MODE_ORACLE;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user