Changeset: f68095fc5567 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/f68095fc5567
Modified Files:
sql/server/rel_psm.c
Branch: ustr
Log Message:
don't use error string after closing the allocator state
diffs (17 lines):
diff --git a/sql/server/rel_psm.c b/sql/server/rel_psm.c
--- a/sql/server/rel_psm.c
+++ b/sql/server/rel_psm.c
@@ -1234,11 +1234,11 @@ resolve_func(mvc *sql, const char *sname
arg_list = tpe;
}
}
+ if (!if_exists)
+ e = sql_error(sql, ERR_NOTFOUND,
SQLSTATE(42000) "%s %s: no such %s '%s' (%s)", op, F, fn, name, arg_list);
ma_close(&ta_state);
list_destroy(list_func);
list_destroy(type_list);
- if (!if_exists)
- e = sql_error(sql, ERR_NOTFOUND,
SQLSTATE(42000) "%s %s: no such %s '%s' (%s)", op, F, fn, name, arg_list);
return e;
}
list_destroy(list_func);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]