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 git-svn-id: svn://10.0.0.236/trunk@231310 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user