Changeset: ffabd521cfbf for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ffabd521cfbf Modified Files: sql/backends/monet5/sql.mx Branch: Apr2011 Log Message:
Declare sql.delete as an "unsafe" function. This fixes bug 2820. The problem was that sql.delete was executed in parallel with a call to algebra.kdifference on the same table. While the kdiff was executing, delete deleted the hash table that kdiff was using, causing the latter to crash. diffs (12 lines): diff --git a/sql/backends/monet5/sql.mx b/sql/backends/monet5/sql.mx --- a/sql/backends/monet5/sql.mx +++ b/sql/backends/monet5/sql.mx @@ -221,7 +221,7 @@ address mvc_clear_table_wrap comment "Clear table"; -pattern delete(mvc:ptr, sname:str, tname:str, b:any):ptr +pattern delete{unsafe}(mvc:ptr, sname:str, tname:str, b:any):ptr address mvc_delete_wrap comment "delete from table"; _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list