Changeset: f1a039e49377 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f1a039e49377
Modified Files:
        sql/backends/monet5/sql.c
Branch: default
Log Message:

merged with oct2014


diffs (20 lines):

diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -3010,14 +3010,14 @@ mvc_bin_import_table_wrap(Client cntxt, 
 
                /* handle the various cases */
                if (tpe < TYPE_str || tpe == TYPE_date || tpe == TYPE_daytime 
|| tpe == TYPE_timestamp) {
-                       c = BATattach(col->type.type->localtype, 
*getArgReference_str(stk, pci, i), TRANSIENT);
+                       c = BATattach(col->type.type->localtype, 
*getArgReference_str(stk, pci, i), PERSISTENT);
                        if (c == NULL)
                                throw(SQL, "sql", "failed to attach file %s", 
*getArgReference_str(stk, pci, i));
                        BATsetaccess(c, BAT_READ);
                        BATderiveProps(c, 1);
                } else if (tpe == TYPE_str) {
                        /* get the BAT and fill it with the strings */
-                       c = BATnew(TYPE_void, TYPE_str, 0, TRANSIENT);
+                       c = BATnew(TYPE_void, TYPE_str, 0, PERSISTENT);
                        if (c == NULL)
                                throw(SQL, "sql", MAL_MALLOC_FAIL);
                        BATseqbase(c, 0);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to