Update of /cvsroot/monetdb/sql/src/storage/bat
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv507/src/storage/bat

Modified Files:
      Tag: Aug2009
        bat_storage.mx 
Log Message:
fix performance problem with foreign key checking (hash computation)
fixed crash in updates


U bat_storage.mx
Index: bat_storage.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/bat/bat_storage.mx,v
retrieving revision 1.42.2.2
retrieving revision 1.42.2.3
diff -u -d -r1.42.2.2 -r1.42.2.3
--- bat_storage.mx      12 Aug 2009 11:25:36 -0000      1.42.2.2
+++ bat_storage.mx      18 Aug 2009 05:59:04 -0000      1.42.2.3
@@ -203,7 +203,6 @@
                }
                BATkey(b, BOUND2BTRUE);
                BATins(b, u, TRUE);
-               BATreplace(b, u, TRUE);
                if (upd != u)
                        bat_destroy(u);
        } else if (is_new && bat->bid) { 
@@ -248,7 +247,6 @@
                }
                BATkey(b, BOUND2BTRUE);
                BUNins(b, (ptr) &rid, upd, TRUE);
-               BUNreplace(b, (ptr) &rid, upd, TRUE);
        } else {
                b = temp_descriptor(bat->ibid);
                void_inplace(b, rid, upd, TRUE);


------------------------------------------------------------------------------
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

Reply via email to