mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
This commit is contained in:
commit
2dc19ba63c
1 changed files with 3 additions and 1 deletions
|
@ -2397,7 +2397,9 @@ char *generate_partition_syntax(partition_info *part_info,
|
||||||
DBUG_ENTER("generate_partition_syntax");
|
DBUG_ENTER("generate_partition_syntax");
|
||||||
|
|
||||||
write_part_state= (part_info->part_state && !part_info->part_state_len);
|
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 | O_BINARY | O_TRUNC |
|
||||||
|
O_TEMPORARY, MYF(MY_WME)))) < 0))
|
||||||
DBUG_RETURN(NULL);
|
DBUG_RETURN(NULL);
|
||||||
#ifndef __WIN__
|
#ifndef __WIN__
|
||||||
unlink(path);
|
unlink(path);
|
||||||
|
|
Loading…
Add table
Reference in a new issue