/ Check-in [cfa4aa20]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a documentation typo. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | doc-type
Files: files | file ages | folders
SHA3-256: cfa4aa203646f44b303138c25672293bb87d97126fe2030d4709e8ad7814a807
User & Date: drh 2017-05-18 18:17:55
Context
2017-05-19
20:47
Fix a documentation typo. No changes to code. check-in: 68942a4f user: drh tags: trunk
2017-05-18
18:17
Fix a documentation typo. No changes to code. Closed-Leaf check-in: cfa4aa20 user: drh tags: doc-type
2017-05-16
09:49
Update the tool/warnings.sh script to automatically use the right options on OpenBSD. check-in: 7940bff3 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/delete.c.

   349    349   #ifndef SQLITE_OMIT_TRUNCATE_OPTIMIZATION
   350    350     /* Special case: A DELETE without a WHERE clause deletes everything.
   351    351     ** It is easier just to erase the whole table. Prior to version 3.6.5,
   352    352     ** this optimization caused the row change count (the value returned by 
   353    353     ** API function sqlite3_count_changes) to be set incorrectly.
   354    354     **
   355    355     ** The "rcauth==SQLITE_OK" terms is the
   356         -  ** IMPLEMENATION-OF: R-17228-37124 If the action code is SQLITE_DELETE and
          356  +  ** IMPLEMENTATION-OF: R-17228-37124 If the action code is SQLITE_DELETE and
   357    357     ** the callback returns SQLITE_IGNORE then the DELETE operation proceeds but
   358    358     ** the truncate optimization is disabled and all rows are deleted
   359    359     ** individually.
   360    360     */
   361    361     if( rcauth==SQLITE_OK
   362    362      && pWhere==0
   363    363      && !bComplex