Changeset: 6c912a60c9c2 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6c912a60c9c2
Modified Files:
sql/backends/monet5/sql_statement.c
Branch: Aug2024
Log Message:
Set right access flag of count_col. QUICK doesn't take into account deleted
rows.
diffs (12 lines):
diff --git a/sql/backends/monet5/sql_statement.c
b/sql/backends/monet5/sql_statement.c
--- a/sql/backends/monet5/sql_statement.c
+++ b/sql/backends/monet5/sql_statement.c
@@ -698,7 +698,7 @@ stmt_bat(backend *be, sql_column *c, int
sqlstore *store = tr->store;
if (c && isTable(c->t)) {
- BUN rows = (BUN) store->storage_api.count_col(tr, c,
QUICK);
+ BUN rows = (BUN) store->storage_api.count_col(tr, c,
RDONLY);
setRowCnt(mb,getArg(q,0),rows);
}
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]