Update of /cvsroot/monetdb/sql/src/storage
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16102/src/storage
Modified Files:
store.mx
Log Message:
propagated changes of Monday Sep 14 2009
from the Aug2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/09/14 - nielsnes: src/storage/store.mx,1.33.2.4
make sure we reset null/default and unique flags in columns when transactions
fail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: store.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/store.mx,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- store.mx 12 Sep 2009 20:40:44 -0000 1.37
+++ store.mx 14 Sep 2009 08:43:25 -0000 1.38
@@ -2581,6 +2581,14 @@
if (isTable(fc->t)) {
store_funcs.destroy_col(NULL, fc);
store_funcs.dup_col(tr, pfc, fc);
+
+ fc->null = pfc->null;
+ fc->unique = pfc->unique;
+ if (fc->def)
+ _DELETE(fc->def);
+ fc->def = NULL;
+ if (pfc->def)
+ fc->def = _strdup(pfc->def);
}
fc->base.wtime = fc->base.rtime = 0;
}
------------------------------------------------------------------------------
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