mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '11.6' into 11.7
This commit is contained in:
@@ -2105,7 +2105,7 @@ static MYSQL* connect_to_db(char *host, char *user,char *passwd)
|
||||
goto err;
|
||||
|
||||
/* Set server side timeout between client commands to server compiled-in default */
|
||||
if(mysql_query_with_error_report(con,0, "/*!100100 SET WAIT_TIMEOUT=DEFAULT */"))
|
||||
if(mysql_query_with_error_report(con,0, "/*M!100100 SET WAIT_TIMEOUT=DEFAULT */"))
|
||||
goto err;
|
||||
|
||||
DBUG_RETURN(con);
|
||||
@@ -4435,7 +4435,7 @@ static void dump_table(const char *table, const char *db, const uchar *hash_key,
|
||||
|
||||
if (versioned && !opt_xml && opt_dump_history)
|
||||
{
|
||||
fprintf(md_result_file,"/*!101100 SET @old_system_versioning_insert_history=@@session.system_versioning_insert_history, @@session.system_versioning_insert_history=1 */;\n");
|
||||
fprintf(md_result_file,"/*M!101100 SET @old_system_versioning_insert_history=@@session.system_versioning_insert_history, @@session.system_versioning_insert_history=1 */;\n");
|
||||
check_io(md_result_file);
|
||||
}
|
||||
if (opt_lock)
|
||||
@@ -4737,7 +4737,7 @@ static void dump_table(const char *table, const char *db, const uchar *hash_key,
|
||||
}
|
||||
if (versioned && !opt_xml && opt_dump_history)
|
||||
{
|
||||
fprintf(md_result_file,"/*!101100 SET system_versioning_insert_history=@old_system_versioning_insert_history */;\n");
|
||||
fprintf(md_result_file,"/*M!101100 SET system_versioning_insert_history=@old_system_versioning_insert_history */;\n");
|
||||
check_io(md_result_file);
|
||||
}
|
||||
mysql_free_result(res);
|
||||
|
Reference in New Issue
Block a user