Update of /cvsroot/monetdb/sql/src/server
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16399/src/server
Modified Files:
Tag: SQL_2-20
sql_mvc.mx
Log Message:
first free the value from the value record, then reset the type to void.
Index: sql_mvc.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_mvc.mx,v
retrieving revision 1.189.2.3
retrieving revision 1.189.2.4
diff -u -d -r1.189.2.3 -r1.189.2.4
--- sql_mvc.mx 26 Oct 2007 20:36:13 -0000 1.189.2.3
+++ sql_mvc.mx 29 Oct 2007 08:10:03 -0000 1.189.2.4
@@ -1406,8 +1406,8 @@
_DELETE(v->name);
if (v->s) {
stmt_destroy(v->s);
- v->value.vtype = 0;
VALclear(&v->value);
+ v->value.vtype = 0;
if (v->type.comp_type && v->view)
table_destroy(v->type.comp_type);
}
@@ -1422,8 +1422,8 @@
stmt_destroy(v->s);
_DELETE(v->name);
- v->value.vtype = 0;
VALclear(&v->value);
+ v->value.vtype = 0;
if (v->type.comp_type && v->view)
table_destroy(v->type.comp_type);
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins