mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
BUG# 17082 - Client hangs when creating tables with partition
no test case needed since simply creating a partitioned table reproduces it.
This commit is contained in:
@@ -2397,7 +2397,8 @@ char *generate_partition_syntax(partition_info *part_info,
|
||||
DBUG_ENTER("generate_partition_syntax");
|
||||
|
||||
write_part_state= (part_info->part_state && !part_info->part_state_len);
|
||||
if (unlikely(((fptr= create_temp_file(path,mysql_tmpdir,"psy", 0,0))) < 0))
|
||||
if (unlikely(((fptr= create_temp_file(path,mysql_tmpdir,"psy", O_RDWR,
|
||||
MYF(MY_WME)))) < 0))
|
||||
DBUG_RETURN(NULL);
|
||||
#ifndef __WIN__
|
||||
unlink(path);
|
||||
|
Reference in New Issue
Block a user