Changeset: a5c749a0df23 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a5c749a0df23
Modified Files:
        sql/backends/monet5/UDF/pyapi3/conversion3.c
Branch: resource_management
Log Message:

don't GDKfree result from atomToStr as it uses thread local allocator


diffs (16 lines):

diff --git a/sql/backends/monet5/UDF/pyapi3/conversion3.c 
b/sql/backends/monet5/UDF/pyapi3/conversion3.c
--- a/sql/backends/monet5/UDF/pyapi3/conversion3.c
+++ b/sql/backends/monet5/UDF/pyapi3/conversion3.c
@@ -1220,9 +1220,9 @@ ConvertFromSQLType(BAT *b, sql_subtype *
                        }
                }
                bat_iterator_end(&li);
-               if (result) {
-                       GDKfree(result);
-               }
+               //if (result) {
+               //      GDKfree(result);
+               //}
                return res;
        } else if (conv_type == TYPE_dbl) {
                int bat_type = ATOMstorage(b->ttype);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to