summaryrefslogtreecommitdiff
path: root/mysql-test/lib
diff options
context:
space:
mode:
authorunknown <andrey@lmy004.>2006-01-31 16:01:27 +0100
committerunknown <andrey@lmy004.>2006-01-31 16:01:27 +0100
commit2c79430086e0ee9677133453291d963e560c9537 (patch)
tree6a0f6214b0a881a603dd31ad7d747a62c123a6f5 /mysql-test/lib
parent07104f36f03bb09f7d51979843392532a662841d (diff)
downloadmariadb-git-2c79430086e0ee9677133453291d963e560c9537.tar.gz
partial fix for bug#16407 (sql_mode not regarded)
add sql_mode to mysql.event WL#1034 (Internal CRON) mysql-test/lib/init_db.sql: partial fix for bug#16407 (sql_mode not regarded) add sql_mode to mysql.event mysql-test/r/system_mysql_db.result: partial fix for bug#16407 (sql_mode not regarded) add sql_mode to mysql.event scripts/mysql_create_system_tables.sh: partial fix for bug#16407 (sql_mode not regarded) add sql_mode to mysql.event scripts/mysql_fix_privilege_tables.sql: partial fix for bug#16407 (sql_mode not regarded) add sql_mode to mysql.event
Diffstat (limited to 'mysql-test/lib')
-rw-r--r--mysql-test/lib/init_db.sql32
1 files changed, 32 insertions, 0 deletions
diff --git a/mysql-test/lib/init_db.sql b/mysql-test/lib/init_db.sql
index 0c287aa092a..97ec3a5cf3a 100644
--- a/mysql-test/lib/init_db.sql
+++ b/mysql-test/lib/init_db.sql
@@ -595,6 +595,38 @@ CREATE TABLE event (
ends DATETIME default NULL,
status ENUM('ENABLED','DISABLED') NOT NULL default 'ENABLED',
on_completion ENUM('DROP','PRESERVE') NOT NULL default 'DROP',
+ sql_mode set(
+ 'REAL_AS_FLOAT',
+ 'PIPES_AS_CONCAT',
+ 'ANSI_QUOTES',
+ 'IGNORE_SPACE',
+ 'NOT_USED',
+ 'ONLY_FULL_GROUP_BY',
+ 'NO_UNSIGNED_SUBTRACTION',
+ 'NO_DIR_IN_CREATE',
+ 'POSTGRESQL',
+ 'ORACLE',
+ 'MSSQL',
+ 'DB2',
+ 'MAXDB',
+ 'NO_KEY_OPTIONS',
+ 'NO_TABLE_OPTIONS',
+ 'NO_FIELD_OPTIONS',
+ 'MYSQL323',
+ 'MYSQL40',
+ 'ANSI',
+ 'NO_AUTO_VALUE_ON_ZERO',
+ 'NO_BACKSLASH_ESCAPES',
+ 'STRICT_TRANS_TABLES',
+ 'STRICT_ALL_TABLES',
+ 'NO_ZERO_IN_DATE',
+ 'NO_ZERO_DATE',
+ 'INVALID_DATES',
+ 'ERROR_FOR_DIVISION_BY_ZERO',
+ 'TRADITIONAL',
+ 'NO_AUTO_CREATE_USER',
+ 'HIGH_NOT_PRECEDENCE'
+ ) DEFAULT '' NOT NULL,
comment char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL default '',
PRIMARY KEY (definer, db, name)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT 'Events';