From ba953343743a4f344c808b691ed49e66983949e7 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 4 Mar 2023 14:42:48 +0700 Subject: [PATCH] Revert "Set SQL_MODE = "" as GLOBAL" --- install/sql/mysql.sql | 2 +- install/sql/ocelot.sql | 2 +- install/upgrade/changes.txt | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/install/sql/mysql.sql b/install/sql/mysql.sql index 2e2f8280b..75a831c22 100644 --- a/install/sql/mysql.sql +++ b/install/sql/mysql.sql @@ -1,4 +1,4 @@ -SET GLOBAL SQL_MODE = ""; +SET SQL_MODE = ""; -- ---------------------------- -- Table structure for `bb_attachments` diff --git a/install/sql/ocelot.sql b/install/sql/ocelot.sql index 83e762c18..aebdc585e 100644 --- a/install/sql/ocelot.sql +++ b/install/sql/ocelot.sql @@ -1,4 +1,4 @@ -SET GLOBAL SQL_MODE = ""; +SET SQL_MODE = ""; -- ---------------------------- -- Table structure for `bb_bt_tracker` diff --git a/install/upgrade/changes.txt b/install/upgrade/changes.txt index b1ddb45c7..ce9f08cf7 100644 --- a/install/upgrade/changes.txt +++ b/install/upgrade/changes.txt @@ -44,6 +44,3 @@ ALTER TABLE `bb_users` CHANGE `user_sig` `user_sig` TEXT NOT NULL DEFAULT ''; ALTER TABLE `bb_groups` CHANGE `group_signature` `group_signature` TEXT NOT NULL DEFAULT ''; ALTER TABLE `bb_groups` CHANGE `group_description` `group_description` TEXT NOT NULL DEFAULT ''; UPDATE `bb_smilies` SET `code` = ':cd:', `smile_url` = 'cd.gif', `emoticon` = 'cd' WHERE `code` = ':сd:' AND `smile_url` = 'сd.gif' AND `emoticon` = 'сd'; - -// 2.3.0.4 -SET GLOBAL SQL_MODE = "";