List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:November 1 2007 11:01am
Subject:Rev 205: Fixed the other sizeof() calls. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/telco-6.3
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/telco-6.3

------------------------------------------------------------
revno: 205
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: telco-6.3
timestamp: Thu 2007-11-01 11:01:24 +0000
message:
  Fixed the other sizeof() calls.
modified:
  swig/Ndb.i                     ndb.i-20070228021421-qkr4cbpxymyqdrf3-1
=== modified file 'swig/Ndb.i'
--- a/swig/Ndb.i	2007-10-31 16:49:20 +0000
+++ b/swig/Ndb.i	2007-11-01 11:01:24 +0000
@@ -209,7 +209,7 @@
 
     Ndb::Key_part_ptr keys[2];
     keys[0].ptr=(const void*)&keyData;
-    keys[0].len=sizeof(keyData);
+    keys[0].len=sizeof(short);
     keys[1].ptr=NULL;
     keys[1].len=0; 
 
@@ -220,7 +220,7 @@
 
     Ndb::Key_part_ptr keys[2];
     keys[0].ptr=(const void*)&keyData;
-    keys[0].len=sizeof(keyData);
+    keys[0].len=sizeof(int);
     keys[1].ptr=NULL;
     keys[1].len=0; 
 

Thread
Rev 205: Fixed the other sizeof() calls. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/telco-6.3Monty Taylor1 Nov