List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:October 29 2007 12:33pm
Subject:Rev 199: Merged in changes from devel branch. 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: 199
revision-id: mtaylor@stripped
parent: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: telco-6.3
timestamp: Mon 2007-10-29 12:33:27 +0000
message:
  Merged in changes from devel branch.
modified:
  java/com/mysql/cluster/ndbj/NdbBaseOperation.java
ndbbaseoperation.jav-20070517181935-98huwjarzuh25b30-5
  swig/NdbOperation.i            ndboperation.i-20070228021421-qkr4cbpxymyqdrf3-3
    ------------------------------------------------------------
    revno: 192.1.24
    revision-id: mtaylor@stripped
    parent: mtaylor@stripped
    committer: Monty Taylor <mtaylor@stripped>
    branch nick: ndbjmerge
    timestamp: Mon 2007-10-29 12:32:26 +0000
    message:
      Added setShort() method back.
    modified:
      java/com/mysql/cluster/ndbj/NdbBaseOperation.java
ndbbaseoperation.jav-20070517181935-98huwjarzuh25b30-5
      swig/NdbOperation.i            ndboperation.i-20070228021421-qkr4cbpxymyqdrf3-3
=== modified file 'java/com/mysql/cluster/ndbj/NdbBaseOperation.java'
--- a/java/com/mysql/cluster/ndbj/NdbBaseOperation.java	2007-10-23 01:41:19 +0000
+++ b/java/com/mysql/cluster/ndbj/NdbBaseOperation.java	2007-10-29 12:32:26 +0000
@@ -226,6 +226,23 @@
 	 */
 	public abstract void readTuple(LockMode mode) throws NdbApiException;
 
+	/**
+	 *
+	 * @param columnId integer position (offset) of column number in schema definition
(columnId starts from  position '1' for the first column in a schema)
+	 * @param val
+    * @throws NdbApiException if there is a problem in the cluster.
+	 */
+	public void setShort(long columnId, short val) throws NdbApiException;
+
+	/**
+	 *
+	 * @param columnName name of the Column in the Schema
+	 * @param val the value to be set for the column the value to be set for the column
+	 * @throws NdbApiException
+	 */
+	public void setShort(String columnName, short val)
+			throws NdbApiException;
+
     
 	/**
 	 *

=== modified file 'swig/NdbOperation.i'
--- a/swig/NdbOperation.i	2007-10-23 05:12:33 +0000
+++ b/swig/NdbOperation.i	2007-10-29 12:32:26 +0000
@@ -472,6 +472,12 @@
     return retval;
   }
 
+  voidint setShort(const char* anAttrName, short intVal) { 
+    return self->setValue(anAttrName,(Int32)intVal);
+  }
+  voidint setShort(Uint32 anAttrId, short intVal) { 
+    return self->setValue(anAttrId,(Int32)intVal);
+  }
   voidint setInt(const char* anAttrName, Int32 intVal) { 
     return self->setValue(anAttrName,intVal);
   }

Thread
Rev 199: Merged in changes from devel branch. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/telco-6.3Monty Taylor29 Oct