MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:georg Date:August 2 2006 8:00am
Subject:bk commit into 5.0 tree (georg:1.2229) BUG#21396
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of georg. When georg 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@stripped, 2006-08-02 10:00:28+02:00, georg@stripped +2 -0
  Bug #21396: Wrong error number generated for a missing table

  BitKeeper/etc/collapsed@stripped, 2006-08-02 08:59:47+02:00, georg@stripped +1 -0
    BitKeeper file /home/georg/work/mysql/prod/mysql-5.0/BitKeeper/etc/collapsed

  BitKeeper/etc/collapsed@stripped, 2006-08-02 08:59:46+02:00, georg@stripped +0 -0

  mysys/my_open.c@stripped, 2006-08-02 10:00:23+02:00, georg@stripped +2 -2
    Win64 bit fix: Replacing 32-bit value (0xFFFFFFFF) by a generic error constant.

# 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:	georg
# Host:	lmy002.wdf.sap.corp
# Root:	/home/georg/work/mysql/prod/mysql-5.0

--- 1.25/mysys/my_open.c	2006-08-02 10:00:36 +02:00
+++ 1.26/mysys/my_open.c	2006-08-02 10:00:36 +02:00
@@ -335,7 +335,7 @@
    * try to open/create the file
    */
   if ((osfh= CreateFile(path, fileaccess, fileshare, &SecurityAttributes, 
-                        filecreate, fileattrib, NULL)) == (HANDLE)0xffffffff)
+                        filecreate, fileattrib, NULL)) == INVALID_HANDLE_VALUE)
   {
     /*
      * OS call to open/create file failed! map the error, release
@@ -346,7 +346,7 @@
     return -1;                      /* return error to caller */
   }
 
-  fh= _open_osfhandle((long)osfh, oflag & (_O_APPEND | _O_RDONLY | _O_TEXT));
+  fh= _open_osfhandle((intptr_t)osfh, oflag & (_O_APPEND | _O_RDONLY | _O_TEXT));
 
   return fh;                        /* return handle */
 }
--- New file ---
+++ BitKeeper/etc/collapsed	06/08/02 08:59:46
44d03f27qNdqJmARzBoP3Is_cN5e0w

Thread
bk commit into 5.0 tree (georg:1.2229) BUG#21396georg2 Aug