Changeset: e0562ba062d9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e0562ba062d9
Modified Files:
sql/src/storage/bat/bat_storage.mx
Branch: default
Log Message:
only keep minmax on readonly bats
diffs (20 lines):
diff -r 10dde6a52182 -r e0562ba062d9 sql/src/storage/bat/bat_storage.mx
--- a/sql/src/storage/bat/bat_storage.mx Fri Aug 13 00:59:29 2010 +0200
+++ b/sql/src/storage/bat/bat_storage.mx Thu Aug 19 18:04:27 2010 +0200
@@ -1316,10 +1316,12 @@
int ok = LOG_OK;
node *n;
- for (n = t->columns.set->h; ok == LOG_OK && n; n = n->next) {
- sql_column *c = n->data;
-
- ok = gtr_minmax_col(tr, c);
+ if (t->readonly) {
+ for (n = t->columns.set->h; ok == LOG_OK && n; n = n->next) {
+ sql_column *c = n->data;
+
+ ok = gtr_minmax_col(tr, c);
+ }
}
return ok;
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list