Update of /cvsroot/monetdb/sql/src/server
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5897/src/server
Modified Files:
Tag: SQL_2-20
sql_psm.mx sql_select.mx
Log Message:
fixes for function resolution/casting bug
Index: sql_psm.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_psm.mx,v
retrieving revision 1.46.2.1
retrieving revision 1.46.2.2
diff -u -d -r1.46.2.1 -r1.46.2.2
--- sql_psm.mx 7 Oct 2007 16:06:44 -0000 1.46.2.1
+++ sql_psm.mx 30 Oct 2007 18:54:12 -0000 1.46.2.2
@@ -85,7 +85,7 @@
return NULL;
level = stack_find_frame(sql, name);
- r = check_types(sql, tpe, r, type_equal);
+ r = check_types(sql, tpe, r, type_cast);
if (!r)
return NULL;
return stmt_assign(name, r, level);
Index: sql_select.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_select.mx,v
retrieving revision 1.202
retrieving revision 1.202.2.1
diff -u -d -r1.202 -r1.202.2.1
--- sql_select.mx 9 Sep 2007 18:42:52 -0000 1.202
+++ sql_select.mx 30 Oct 2007 18:54:13 -0000 1.202.2.1
@@ -968,6 +968,10 @@
return stmt_binop(ls, rs, f);
}
}
+ /* reset error */
+ sql->errstr[0] = '\0';
+ sql->session->status = 0;
+
if (ls)
stmt_destroy(ls);
if (rs)
-------------------------------------------------------------------------
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