Changeset: 39ecee9c9d97 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/39ecee9c9d97
Modified Files:
sql/storage/bat/bat_storage.c
Branch: Aug2024
Log Message:
double log_destroy: already done by sys_drop_idxs and sys_drop_columns
diffs (24 lines):
diff --git a/sql/storage/bat/bat_storage.c b/sql/storage/bat/bat_storage.c
--- a/sql/storage/bat/bat_storage.c
+++ b/sql/storage/bat/bat_storage.c
@@ -3676,20 +3676,6 @@ log_destroy_del(sql_trans *tr, sql_chang
assert(!isTempTable(t));
ok = log_destroy_storage(tr, ATOMIC_PTR_GET(&t->data), t->base.id);
- if (ok == LOG_OK) {
- for(node *n = ol_first_node(t->columns); n && ok == LOG_OK; n =
n->next) {
- sql_column *c = n->data;
-
- ok = log_destroy_col_(tr, c);
- }
- if (t->idxs) {
- for(node *n = ol_first_node(t->idxs); n && ok ==
LOG_OK; n = n->next) {
- sql_idx *i = n->data;
-
- ok = log_destroy_idx_(tr, i);
- }
- }
- }
return ok;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]