List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:May 7 2007 8:03am
Subject:Rev 113: Fixed C# test programs to use createNdb instead of new Ndb() in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge
View as plain text  
------------------------------------------------------------
revno: 113
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: ndbjmerge
timestamp: Mon 2007-05-07 01:02:52 -0700
message:
  Fixed C# test programs to use createNdb instead of new Ndb()
modified:
  csharp/test.cs                
svn-v2:1@5fca6d9a-db22-0410-b55c-899b0a28da89-trunk-csharp%2ftest.cs
  csharp/testasync.cs            testasync.cs-20070505062716-9d1as4txgc7ti8ik-1
=== modified file 'csharp/test.cs'
--- a/csharp/test.cs	2007-05-04 20:45:38 +0000
+++ b/csharp/test.cs	2007-05-07 08:02:52 +0000
@@ -86,7 +86,7 @@
       return -1; 
     }
     
-    Ndb myNdb = new Ndb(connection,"test");
+    Ndb myNdb = connection.createNdb("test");
     
     if (myNdb.init(4) == -1) {
       Console.WriteLine(myNdb.getNdbError());

=== modified file 'csharp/testasync.cs'
--- a/csharp/testasync.cs	2007-05-05 06:27:19 +0000
+++ b/csharp/testasync.cs	2007-05-07 08:02:52 +0000
@@ -101,7 +101,7 @@
       return -1; 
     }
     
-    Ndb myNdb = new Ndb(connection,"test");
+    Ndb myNdb = connection.createNdb("test");
     
     if (myNdb.init(4) == -1) {
       Console.WriteLine(myNdb.getNdbError());

Thread
Rev 113: Fixed C# test programs to use createNdb instead of new Ndb() in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmergeMonty Taylor7 May