Marius Burkard
2016-07-10 e1ceb050e19c7574bca146a8da7047ee4ff456b5
install/lib/update.lib.php
@@ -125,7 +125,12 @@
   //* check sql-mode
   $check_sql_mode = $inst->db->queryOneRecord("SELECT @@sql_mode");
   if ($check_sql_mode['@@sql_mode'] != '' && $check_sql_mode['@@sql_mode'] != 'NO_ENGINE_SUBSTITUTION') die('Wrong SQL-mode. You should use NO_ENGINE_SUBSTITUTION');
   if ($check_sql_mode['@@sql_mode'] != '' && $check_sql_mode['@@sql_mode'] != 'NO_ENGINE_SUBSTITUTION') {
      echo "Wrong SQL-mode. You should use NO_ENGINE_SUBSTITUTION. Add\n\n";
      echo "    sql-mode=\"NO_ENGINE_SUBSTITUTION\"\n\n";
      echo"to the mysqld-section in your mysql-config and restart mysqld afterwards\n";
      die();
   }
   //* Update $conf array with values from the server.ini that shall be preserved
   $tmp = $inst->db->queryOneRecord("SELECT * FROM ?? WHERE server_id = ?", $conf["mysql"]["database"] . '.server', $conf['server_id']);