Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv20734/sql/src/backends/monet5
Modified Files:
Tag: Nov2008
sql_gencode.mx
Log Message:
exceptional back-port from Feb2009 branch to Nov2008 branch
for internal use:
2009/01/30 - stmane: sql/src/backends/monet5/sql_gencode.mx,1.312.2.1
fixing the leak reported in
[ 2540169 ] Memory leak and crash with UNION ALL
https://sourceforge.net/tracker/index.php?func=detail&aid=2540169&group_id=56967&atid=482468
by making sure that we use the BAT returned by bat.append since
~~~~~~~
2008/08/09 - mlkersten: MonetDB5/src/modules/kernel/bat5.mx,1.37
The access modes of the kernel BAT update operations were not aligned.
This caused the SQL front-end to inject setWriteMode calls before each
append, and possibly trimming it again with an optimizer.
The BAT insert, append, delete, and replace functions now always return
the first argument, which my be a copy with the proper access properties.
This elicits the flow. The side effectness can be checked with the
isUpdateFunction.
The majority of files involve the now visible temporary in the output.
~~~~~~~
Index: sql_gencode.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_gencode.mx,v
retrieving revision 1.297.2.6
retrieving revision 1.297.2.7
diff -u -d -r1.297.2.6 -r1.297.2.7
--- sql_gencode.mx 7 Jan 2009 14:16:42 -0000 1.297.2.6
+++ sql_gencode.mx 6 Feb 2009 10:48:51 -0000 1.297.2.7
@@ -1443,7 +1443,7 @@
q = pushArgument(mb, q, l);
q = pushArgument(mb, q, r);
q = pushBit(mb, q, TRUE);
- s->nr = l;
+ s->nr = getDestVar(q);
} break;
case st_update_col:
case st_append_col:{
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins