Update of /cvsroot/monetdb/sql/src/storage/bat
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11383/src/storage/bat

Modified Files:
        res_table.mx 
Log Message:
added support for copy select .. into 'filename';



Index: res_table.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/bat/res_table.mx,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- res_table.mx        6 Nov 2007 15:22:13 -0000       1.16
+++ res_table.mx        3 Jan 2008 09:41:18 -0000       1.17
@@ -55,6 +55,7 @@
        t->nr_cols = nr_cols;
        t->cur_col = 0;
        t->cols = NEW_ARRAY(res_col, nr_cols);
+       t->filename = t->tsep = t->rsep = t->ssep = NULL;
 
        t->order = 0;
        if (order) {
@@ -115,6 +116,14 @@
        if (t->order)
                bat_decref(t->order);
        _DELETE(t->cols);
+       if (t->filename)
+               _DELETE(t->filename);
+       if (t->tsep)
+               _DELETE(t->tsep);
+       if (t->rsep)
+               _DELETE(t->rsep);
+       if (t->ssep)
+               _DELETE(t->ssep);
        _DELETE(t);
 }
 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to