Commit a5de6fbd authored by msvensson@neptunus.(none)'s avatar msvensson@neptunus.(none)

Merge neptunus.(none):/home/msvensson/mysql/mysql-5.1

into  neptunus.(none):/home/msvensson/mysql/bug15020/my51-bug15020
parents 55b30563 96b1f915
...@@ -1734,7 +1734,8 @@ void open_table_error(TABLE_SHARE *share, int error, int db_errno, int errarg) ...@@ -1734,7 +1734,8 @@ void open_table_error(TABLE_SHARE *share, int error, int db_errno, int errarg)
else else
{ {
strxmov(buff, share->normalized_path.str, reg_ext, NullS); strxmov(buff, share->normalized_path.str, reg_ext, NullS);
my_error(ER_FILE_NOT_FOUND, errortype, buff, db_errno); my_error((db_errno == EMFILE) ? ER_CANT_OPEN_FILE : ER_FILE_NOT_FOUND,
errortype, buff, db_errno);
} }
break; break;
case 2: case 2:
......
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