mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
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:
parent
266d176ab3
commit
332939b510
@ -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.
|
||||
|
||||
|
13513
db/sqlite3/src/sqlite3.c
13513
db/sqlite3/src/sqlite3.c
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -78,6 +78,7 @@ ConvertResultCode(int srv)
|
||||
case SQLITE_MISUSE:
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
case SQLITE_ABORT:
|
||||
case SQLITE_INTERRUPT:
|
||||
return NS_ERROR_ABORT;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user