Changeset: ea91b0fa9614 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ea91b0fa9614
Modified Files:
sql/server/rel_schema.c
Branch: Aug2011
Log Message:
fixed crash / bug 2906.
diffs (12 lines):
diff --git a/sql/server/rel_schema.c b/sql/server/rel_schema.c
--- a/sql/server/rel_schema.c
+++ b/sql/server/rel_schema.c
@@ -1061,7 +1061,7 @@ rel_alter_table(mvc *sql, dlist *qname,
sql_table *nt = dup_sql_table(sql->sa, t);
sql_exp ** updates, *e;
- if (nt && te->token == SQL_DROP_CONSTRAINT) {
+ if (nt && te && te->token == SQL_DROP_CONSTRAINT) {
dlist *l = te->data.lval;
char *kname = l->h->data.sval;
int drop_action = l->h->next->data.i_val;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list