[Bug 1193177] New: sqlite3_drv bad memory free and severe performance bug - with patch