1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-08 06:27:57 +03:00

Bug#24270

"mysql_install_db doesn't work properly on 5.1"
  force sql_mode to known value within initialization scripts
This commit is contained in:
acurtis/antony@xiphis.org/ltamd64.xiphis.org
2007-01-02 09:42:13 -08:00
parent 7281ab80c8
commit c678f8e186
3 changed files with 3 additions and 0 deletions

View File

@@ -521,6 +521,7 @@ print <<EOF;
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
EOF
print "set sql_mode='';\n";
print "delete from help_topic;\n";
print "delete from help_category;\n";
print "delete from help_keyword;\n";

View File

@@ -873,6 +873,7 @@ fi
cat << END_OF_DATA
use mysql;
set sql_mode='';
set storage_engine=myisam;
$c_d
$i_d

View File

@@ -8,6 +8,7 @@
# this sql script.
# On windows you should do 'mysql --force mysql < mysql_fix_privilege_tables.sql'
set sql_mode='';
set storage_engine=MyISAM;
CREATE TABLE IF NOT EXISTS func (