Changeset: f8bc98881e9d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f8bc98881e9d
Modified Files:
sql/storage/store.c
Branch: Apr2011
Log Message:
fixed Bug 2837 Server terminates after CREATE FUNCTION in multi-user scenario
(ie backported protection against empty list of tables)
diffs (12 lines):
diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -692,7 +692,7 @@
static sql_table *
schema_get_table(sql_schema *s, sqlid id)
{
- if (s) {
+ if (s && s->tables.set) {
node *n;
for (n=s->tables.set->h; n; n = n->next) {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list