Update of /cvsroot/monetdb/sql/src/server
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26794/src/server
Modified Files:
sql_select.mx
Log Message:
propagated changes of Friday Mar 21 2008
from the SQL_2-22 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/03/21 - nielsnes: src/test/bugs/Tests/All,1.106.2.5
add test script for bug in copy into
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/03/21 - nielsnes: src/backends/monet4/sql_gencode.mx,1.168.2.2
src/backends/monet4/sql_result.mx,1.80.2.2
src/backends/monet4/sql_server.mx,1.189.2.7
src/backends/monet5/sql.mx,1.251.2.5
src/backends/monet5/sql_gencode.mx,1.267.2.2
src/backends/monet5/sql_result.mx,1.82.2.2
fixed bug in copy into, we now properly pass the schema(name) to the mil/mal
level.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/03/21 - nielsnes: src/test/BugTracker/Tests/All,1.80.2.11
src/test/BugTracker/Tests/drop_function.SF-1910396.sql,1.1.2.1
src/test/BugTracker/Tests/drop_function.SF-1910396.stable.err,1.1.2.1
src/test/BugTracker/Tests/drop_function.SF-1910396.stable.out,1.1.2.1
test script + stable output for bug 1910396
drop function without arguments...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/03/21 - nielsnes: src/server/sql_select.mx,1.219.2.10
we need to check for a failed call to sql_value_exp else we could crash on
incorrect queries
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: sql_select.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_select.mx,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -d -r1.227 -r1.228
--- sql_select.mx 21 Mar 2008 08:41:28 -0000 1.227
+++ sql_select.mx 21 Mar 2008 09:39:35 -0000 1.228
@@ -1202,7 +1202,7 @@
/* the values which are aggregated together, no grp should
* be given there to optain the values */
s = sql_value_exp(sql, scp, l->h->next->next->data.sym, /*grp
*/ NULL, subset, f, ek);
- if (s->nrcols <= 0 && subset) /* single value */
+ if (s && s->nrcols <= 0 && subset) /* single value */
s = stmt_const(first_subset(subset), s);
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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