Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6705

Modified Files:
        sql_scenario.mx 
Log Message:
Make sure you have a query.


Index: sql_scenario.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_scenario.mx,v
retrieving revision 1.245
retrieving revision 1.246
diff -u -d -r1.245 -r1.246
--- sql_scenario.mx     11 Feb 2007 11:07:11 -0000      1.245
+++ sql_scenario.mx     15 Feb 2007 11:30:21 -0000      1.246
@@ -1251,7 +1251,8 @@
 If we are dealing with a {runonce} plan, the query cache should
 be adjusted too.
 @c
-       if( fndArgProperty(mb, getInstrPtr(mb,0),0,putName("runonce",7))){
+       if( be->q &&
+               fndArgProperty(mb, getInstrPtr(mb,0),0,putName("runonce",7))){
                /* remove this plan from the cache */
        }
        be->q = NULL;


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