Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16774/src/backends/monet5
Modified Files:
sql_optimizer.mx
Log Message:
propagated changes of Saturday Oct 31 2009 - Monday Nov 02 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/10/31 - mlkersten: src/backends/monet5/sql_optimizer.mx,1.230.2.7
We better protect the optimizer global structures against concurrent
access.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: sql_optimizer.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_optimizer.mx,v
retrieving revision 1.235
retrieving revision 1.236
diff -u -d -r1.235 -r1.236
--- sql_optimizer.mx 29 Oct 2009 08:42:54 -0000 1.235
+++ sql_optimizer.mx 2 Nov 2009 09:09:39 -0000 1.236
@@ -454,6 +454,7 @@
int mitosis= FALSE, deadcode= FALSE, mergetable= FALSE, replication=
FALSE;
int i;
+ mal_set_lock(sql_contextLock,"SQL optimizer");
if (optimizers[0] && strcmp(optimizers[0],"inline") ){
showException(SQL,"optimizer"," 'inline' should be the
first\n");
error++;
@@ -501,6 +502,7 @@
error++;
}
+ mal_unset_lock(sql_contextLock,"SQL optimizer");
return error;
}
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins