Commit 238c6f6f authored by unknown's avatar unknown

Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.1-new

into  linux.site:/home/reggie/work/mysql-5.1

parents 2f370575 08e68aad
...@@ -2397,7 +2397,8 @@ char *generate_partition_syntax(partition_info *part_info, ...@@ -2397,7 +2397,8 @@ 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,
MYF(MY_WME)))) < 0))
DBUG_RETURN(NULL); DBUG_RETURN(NULL);
#ifndef __WIN__ #ifndef __WIN__
unlink(path); unlink(path);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment