Changeset: 0313a036e009 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/0313a036e009
Modified Files:
sql/backends/monet5/sql_upgrades.c
Branch: Jul2021
Log Message:
add missing assignment in list iteration loop (could therefor possibly never
end)
diffs (18 lines):
diff --git a/sql/backends/monet5/sql_upgrades.c
b/sql/backends/monet5/sql_upgrades.c
--- a/sql/backends/monet5/sql_upgrades.c
+++ b/sql/backends/monet5/sql_upgrades.c
@@ -837,12 +837,12 @@ sql_update_nov2019_missing_dependencies(
ppos = pos; /* later check if found updatable database objects */
os_iterator(&si, sql->session->tr->cat->schemas, sql->session->tr,
NULL);
- for (sql_base *b = oi_next(&si); b; oi_next(&si)) {
+ for (sql_base *b = oi_next(&si); b; b = oi_next(&si)) {
sql_schema *s = (sql_schema*)b;
struct os_iter oi;
os_iterator(&oi, s->funcs, sql->session->tr, NULL);
- for (sql_base *b = oi_next(&oi); b; oi_next(&oi)) {
+ for (sql_base *b = oi_next(&oi); b; b = oi_next(&oi)) {
sql_func *f = (sql_func*)b;
if (f->query && f->lang == FUNC_LANG_SQL) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list