Update of /cvsroot/monetdb/sql/src/storage/bat
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv31707/src/storage/bat

Modified Files:
      Tag: SQL_2-16
        bat_store.mx 
Log Message:
fixed bug in changing new keys (ie created in this transaction) into 
existing keys (existed allready when this transaction started). 


Index: bat_store.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/bat/bat_store.mx,v
retrieving revision 1.120.2.2
retrieving revision 1.120.2.3
diff -u -d -r1.120.2.2 -r1.120.2.3
--- bat_store.mx        16 Mar 2007 14:54:37 -0000      1.120.2.2
+++ bat_store.mx        5 Apr 2007 19:02:24 -0000       1.120.2.3
@@ -2729,6 +2729,8 @@
                        }
        }
        list_append(t->s->keys, nk);
+       if (flag == TR_NEW && tr->parent == gtrans) 
+               k->base.flag = TR_OLD;
        return nk;
 }
 
@@ -2833,6 +2835,8 @@
                list_append(nt->columns, kc_dup(tr, flag, okc, t));
        }
        list_append(t->s->triggers, nt);
+       if (flag == TR_NEW && tr->parent == gtrans) 
+               i->base.flag = TR_OLD;
        return nt;
 }
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to