mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
enabled reverse_unordered_selects pragma tentatively to fix unordered selects issues
This commit is contained in:
parent
9e0255bf3d
commit
646c5bf46d
1 changed files with 8 additions and 0 deletions
8
dbdimp.c
8
dbdimp.c
|
@ -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");
|
sqlite_exec(dbh, "PRAGMA foreign_keys = ON");
|
||||||
#endif
|
#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);
|
DBIc_ACTIVE_on(imp_dbh);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue