MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:msvensson Date:January 19 2006 10:35am
Subject:bk commit into 5.0 tree (msvensson:1.2035) BUG#15020
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2035 06/01/19 11:35:27 msvensson@neptunus.(none) +1 -0
  Bug#15020 "Can't find files" message incorrect for error 24

  sql/table.cc
    1.212 06/01/19 11:35:23 msvensson@neptunus.(none) +2 -1
    Use error message "Can't open file" if errno EMFILE is returned.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/bug15020/my50-bug15020

--- 1.211/sql/table.cc	2005-11-28 19:49:49 +01:00
+++ 1.212/sql/table.cc	2006-01-19 11:35:23 +01:00
@@ -1164,7 +1164,8 @@
       my_error(ER_NO_SUCH_TABLE, MYF(0), db, real_name);
     }
     else
-      my_error(ER_FILE_NOT_FOUND, errortype,
+      my_error((my_errno == EMFILE) ? ER_CANT_OPEN_FILE : ER_FILE_NOT_FOUND, 
+               errortype,
                fn_format(buff, name, form_dev, reg_ext, 0), my_errno);
     break;
   case 2:
Thread
bk commit into 5.0 tree (msvensson:1.2035) BUG#15020msvensson19 Jan