[Gambas-user] Allocations not freed when using SQLite

Benoît Minisini g4mba5 at gmail.com
Tue May 14 01:27:18 CEST 2019


Le 01/05/2019 à 23:16, Cedron Dawg a écrit :
> This seems to be multiple statements per exec related.
> 
> pragma foreign_key_list(keywords);
> pragma foreign_key_list(keyword_usage);
> 
> produces
> 
> gbx3: warning: 20 allocation(s) non freed.
> 
> Yet, individually they work fine.
> 

I found the origin of the problem: the 'gb.db.sqlite3' component cannot 
deal with multiple SQL statements in the same SQL query.

It is fixed in commit 
https://gitlab.com/gambas/gambas/commit/c1bc03ccfaeaac914b04354a31e68bc4b22cc2df.

Regards,

-- 
Benoît Minisini


More information about the User mailing list