1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-09-11 08:30:57 +03:00

Disable the xfer optimization if "PRAGMA count_changes=1" is configured. Ticket [c48d99d690].

FossilOrigin-Name: 9ddfe1e41300413bc9af7e5ce0ec9d1daf9136b1
This commit is contained in:
dan
2011-09-30 12:01:01 +00:00
parent 7b075e3a1c
commit 1696124db7
6 changed files with 57 additions and 11 deletions

View File

@@ -1747,6 +1747,9 @@ static int xferOptimization(
return 0;
}
#endif
if( (pParse->db->flags & SQLITE_CountRows)!=0 ){
return 0;
}
/* If we get this far, it means either:
**