List:Commits« Previous MessageNext Message »
From:tomas Date:May 9 2007 8:22am
Subject:bk commit into 5.0 tree (tomas:1.2476) BUG#28287
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of tomas. When tomas 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, 2007-05-09 10:22:26+02:00, tomas@stripped +1 -0
  Bug #28287 Sign problem in test "ndb_restore_print"
  - some platforms do strange things with char... use Int8 to be sure of signedness

  ndb/include/ndbapi/NdbRecAttr.hpp@stripped, 2007-05-09 10:22:24+02:00, tomas@stripped +3 -3
    Bug #28287 Sign problem in test "ndb_restore_print"
    - some platforms do strange things with char... use Int8 to be sure of signedness

# 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:	tomas
# Host:	whalegate.ndb.mysql.com
# Root:	/home/tomas/mysql-5.0-ndb

--- 1.21/ndb/include/ndbapi/NdbRecAttr.hpp	2007-04-12 21:34:23 +02:00
+++ 1.22/ndb/include/ndbapi/NdbRecAttr.hpp	2007-05-09 10:22:24 +02:00
@@ -164,7 +164,7 @@
    *
    * @return  Char value.
    */           
-  char  char_value() const;           
+  Int8  char_value() const;           
 
   /**
    * Get value stored in NdbRecAttr object.
@@ -340,10 +340,10 @@
 }
 
 inline
-char
+Int8
 NdbRecAttr::char_value() const
 {
-  return *(char*)theRef;
+  return *(Int8*)theRef;
 }
 
 inline
Thread
bk commit into 5.0 tree (tomas:1.2476) BUG#28287tomas9 May