Update of /cvsroot/monetdb/sql/src/storage/bat
In directory sc8-pr-cvs16:/tmp/cvs-serv13657/src/storage/bat
Modified Files:
bat_store.mx
Log Message:
fixed problem with reusing function is m5, m5 correctly cleansup the
client sessions private functions. Now when sessions ends we reset
the instantiated flags.
Index: bat_store.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/bat/bat_store.mx,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- bat_store.mx 10 May 2007 07:43:57 -0000 1.136
+++ bat_store.mx 13 May 2007 19:19:56 -0000 1.137
@@ -1356,6 +1356,23 @@
return t;
}
+void
+reset_functions(sql_trans *tr)
+{
+ node *n, *m;
+
+ for (n = tr->schemas.set->h; n; n = n->next) {
+ sql_schema *s = n->data;
+
+ if (s->funcs.set) for (m = s->funcs.set->h; m; m = m->next) {
+ sql_func *f = m->data;
+
+ if (f->sql)
+ f->sql = 1;
+ }
+ }
+}
+
static sql_sequence *
load_seq(sql_trans *tr, sql_schema * s, BAT *seqs, BUN j)
{
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins