Changeset: 3ed42ada3b9e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3ed42ada3b9e
Modified Files:
        MonetDB5/src/modules/mal/Tests/attach00.mal
        MonetDB5/src/modules/mal/Tests/attach00.stable.err
Branch: default
Log Message:

New attach test


diffs (37 lines):

diff -r 6f537748b65b -r 3ed42ada3b9e MonetDB5/src/modules/mal/Tests/attach00.mal
--- a/MonetDB5/src/modules/mal/Tests/attach00.mal       Sun Oct 03 20:31:02 
2010 +0200
+++ b/MonetDB5/src/modules/mal/Tests/attach00.mal       Sun Oct 03 20:31:30 
2010 +0200
@@ -3,14 +3,17 @@
 b:= bat.new(:oid,:int);
 bat.append(b,1);
 bat.append(b,2);
+bat.setPersistent(b,true);
 bat.save(b); #essential to flush to disk
+bbp.commit(b); # to make entry visible for others
 
-s:= attach.location(b);
-io.print(s);
+fnme:= attach.location(b);
+io.print(fnme);
 
-c:bat[:oid,:int]:= attach.bind(s,2:lng);
-io.print(c);
-io.print(b);
+c:bat[:oid,:int]:= attach.bind(fnme);
+#io.print(c);
+#io.print(b);
 
 #z:= bat.info(b); io.print(z);
 #z:= bat.info(c); io.print(z);
+bat.setPersistent(b,false);
diff -r 6f537748b65b -r 3ed42ada3b9e 
MonetDB5/src/modules/mal/Tests/attach00.stable.err
--- a/MonetDB5/src/modules/mal/Tests/attach00.stable.err        Sun Oct 03 
20:31:02 2010 +0200
+++ b/MonetDB5/src/modules/mal/Tests/attach00.stable.err        Sun Oct 03 
20:31:30 2010 +0200
@@ -69,6 +69,7 @@
 #warning: please don't forget to set your vault key!
 #(see /ufs/mk/current//Linux/etc/monetdb5.conf)
 
+
 # 11:25:03 >  
 # 11:25:03 >  Done.
 # 11:25:03 >  
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to