Changeset: 577da4396e9c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=577da4396e9c
Modified Files:
        monetdb5/modules/mal/Tests/remote12.stable.out
        monetdb5/modules/mal/remote.c
Branch: default
Log Message:

Avoid using generic type BAT.


diffs (33 lines):

diff --git a/monetdb5/modules/mal/Tests/remote12.stable.out 
b/monetdb5/modules/mal/Tests/remote12.stable.out
--- a/monetdb5/modules/mal/Tests/remote12.stable.out
+++ b/monetdb5/modules/mal/Tests/remote12.stable.out
@@ -28,16 +28,7 @@ function user.main():void;
     io.print(v);
     mdb.var();
 end user.main;
-[ "rmt0_e_BAT" ]
-[ nil ]
-#Stack 'main' size=3200 top=12
-#[2]   uri = "mapi:monetdb://eir.ins.cwi.nl:33456/mTests_modules_mal" :str  
-#[3]  conn = "mTests_modules_mal_monetdb_0" :str  
-#[4]    _4 = "monetdb" :str  constant 
-#[5]     e = nil :BAT  
-#[6]    _6 = nil :BAT  constant 
-#[7]     m = "rmt0_e_BAT" :str  
-#[9]     v = nil :BAT  
+
 
 # 20:06:20 >  
 # 20:06:20 >  Done.
diff --git a/monetdb5/modules/mal/remote.c b/monetdb5/modules/mal/remote.c
--- a/monetdb5/modules/mal/remote.c
+++ b/monetdb5/modules/mal/remote.c
@@ -671,7 +671,7 @@ str RMTput(Client cntxt, MalBlkPtr mb, M
 
        /* depending on the input object generate actions to store the
         * object remotely*/
-       if (type == TYPE_any || isAnyExpression(type)) {
+       if (type == TYPE_any || type == TYPE_bat || isAnyExpression(type)) {
                char *tpe, *msg;
                MT_lock_unset(&c->lock, "remote.put");
                tpe = getTypeName(type);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to