1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

enabled reverse_unordered_selects pragma tentatively to fix unordered selects issues

This commit is contained in:
Kenichi Ishigaki 2013-04-30 09:23:34 +00:00
parent 9e0255bf3d
commit 646c5bf46d

View file

@ -306,6 +306,14 @@ sqlite_db_login6(SV *dbh, imp_dbh_t *imp_dbh, char *dbname, char *user, char *pa
sqlite_exec(dbh, "PRAGMA foreign_keys = ON");
#endif
#if 1
/*
** Enable this to see if you (wrongly) expect an implicit order
** of return values from a SELECT statement without ORDER BY.
*/
sqlite_exec(dbh, "PRAGMA reverse_unordered_selects = ON");
#endif
DBIc_ACTIVE_on(imp_dbh);
return TRUE;