Changeset: 78132c719a8e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/78132c719a8e
Modified Files:
sql/backends/monet5/sql_gencode.c
Branch: default
Log Message:
fix compilation
diffs (12 lines):
diff --git a/sql/backends/monet5/sql_gencode.c
b/sql/backends/monet5/sql_gencode.c
--- a/sql/backends/monet5/sql_gencode.c
+++ b/sql/backends/monet5/sql_gencode.c
@@ -1635,7 +1635,7 @@ backend_create_sql_func(backend *be, sql
Symbol symbackup = c->curprg;
backend bebackup = *be; /* backup current backend */
sql_func *f = sf->func;
- bool prepare = f->imp;
+ bool prepare = f->imp != NULL;
const char *sql_shared_module = putName(sql_shared_module_name);
const char *sql_private_module = putName(sql_private_module_name);
const char *modname = prepare?sql_private_module:sql_shared_module;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]