Update of /cvsroot/monetdb/sql/src/storage
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28736/src/storage
Modified Files:
store.mx
Log Message:
propagated changes of Tuesday Aug 04 2009 - Wednesday Aug 05 2009
from the Aug2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/08/04 - nielsnes: src/storage/store.mx,1.33.2.1
fixed bug, ie handle 0.0 correctly as a decimal(1,0)
fixed bug, ie decimal(d,s) d < 19 and s < d (not d+s < 19)
make sure we flush all inserts to disk when we restart the log
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: store.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/store.mx,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- store.mx 26 Jul 2009 09:13:33 -0000 1.33
+++ store.mx 5 Aug 2009 08:51:55 -0000 1.34
@@ -1447,6 +1447,8 @@
logging = 1;
/* make sure we reset all transactions on re-activation */
schema_number++;
+ if (store_funcs.gtrans_update)
+ store_funcs.gtrans_update(gtrans);
res = logger_funcs.restart();
MT_unset_lock(bs_lock, "store_manager");
if (logging && res == LOG_OK)
@@ -4231,8 +4233,11 @@
int snr = tr->schema_number;
if (tr->stime < gtrans->stime || tr->wtime ||
- store_schema_number() != snr)
+ store_schema_number() != snr) {
+ if (tr->wtime)
+ snr = 0;
reset_trans(tr, gtrans);
+ }
tr = trans_init(tr, tr->stk, tr->parent);
s->active = 1;
s->schema = find_sql_schema(tr, s->schema_name);
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins