fix for bug #385067: upgrade to latest version of sqlite (3.4.0)

patch=sdwilsh, rs=sspitzer

fix for bug #387609:  Add check for lastError in test_storage_progresshandler.js

patch=sdwish, r=sspitzer
This commit is contained in:
sspitzer@mozilla.org 2007-08-02 08:24:50 -07:00
parent 266d176ab3
commit 332939b510
5 changed files with 9659 additions and 5857 deletions

View File

@ -1,5 +1,10 @@
This is sqlite 3.4.0
This is sqlite 3.3.17
This version has some security stuff dealing with the upper
bounds of data types. See the change log for more details:
http://www.sqlite.org/changes.html#version_3_4_0
-- Shawn Wilsher <me@shawnwilsher.com> 08/2007
See http://www.sqlite.org/ for more info.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -78,6 +78,7 @@ ConvertResultCode(int srv)
case SQLITE_MISUSE:
return NS_ERROR_UNEXPECTED;
case SQLITE_ABORT:
case SQLITE_INTERRUPT:
return NS_ERROR_ABORT;
}

View File

@ -107,8 +107,8 @@ function test_handler_abort()
do_throw("We shouldn't get here!");
} catch (e) {
do_check_eq(Cr.NS_ERROR_ABORT, e.result);
// Magic value: callback abort
//do_check_eq(msc.lastError, 4); XXX see Bug 387609
// Magic value: SQLITE_INTERRUPT
do_check_eq(msc.lastError, 9);
}
}