mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Merge 5.0 to 5.1
sql/sql_show.cc: Add the variable "limited_mysql_mode" to function 'store_create_info'
This commit is contained in:
parent
3d3fb80431
commit
5aab9f40f9
1 changed files with 3 additions and 0 deletions
|
@ -938,6 +938,9 @@ store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
|
|||
MODE_DB2 |
|
||||
MODE_MAXDB |
|
||||
MODE_ANSI)) != 0;
|
||||
bool limited_mysql_mode= (thd->variables.sql_mode & (MODE_NO_FIELD_OPTIONS |
|
||||
MODE_MYSQL323 |
|
||||
MODE_MYSQL40)) != 0;
|
||||
DBUG_ENTER("store_create_info");
|
||||
DBUG_PRINT("enter",("table: %s", table->s->table_name.str));
|
||||
|
||||
|
|
Loading…
Reference in a new issue