Commit b55dc806 authored by unknown's avatar unknown

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

into  neptunus.(none):/home/msvensson/mysql/bug15020/my51-bug15020


sql/table.cc:
  Merge BUG#15020  from 5.0 -> 5.1
parents 952c56ce ac015116
...@@ -1626,7 +1626,8 @@ void open_table_error(TABLE_SHARE *share, int error, int db_errno, int errarg) ...@@ -1626,7 +1626,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