Closed Bug 801281 (SQLite3.7.14.1) Opened 12 years ago Closed 12 years ago

Upgrade to SQLite 3.7.14.1

Categories

(Toolkit :: Storage, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19
Tracking Status
firefox18 --- fixed
firefox19 --- fixed

People

(Reporter: RyanVM, Assigned: RyanVM)

References

()

Details

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug #789645 +++

* Fix a bug (ticket [d02e1406a58ea02d]]) that causes a segfault on a LEFT JOIN that includes an OR in the ON clause.
* Work around a bug in the optimizer in the VisualStudio-2012 compiler that causes invalid code to be generated when compiling SQLite on ARM.
* Fix the TCL interface so that the "nullvalue" setting is honored for TCL implementations of SQL functions.

Not sure if this is something we're going to want on Aurora or not, too.
Assignee: nobody → ryanvm
Status: NEW → ASSIGNED
Attachment #671078 - Flags: review?(mak77)
(In reply to Ryan VanderMeulen from comment #0)
> +++ This bug was initially created as a clone of Bug #789645 +++
> 
> * Fix a bug (ticket [d02e1406a58ea02d]]) that causes a segfault on a LEFT
> JOIN that includes an OR in the ON clause.

I really hope we don't have any, since it's sort of a crazy thing to do.

> * Work around a bug in the optimizer in the VisualStudio-2012 compiler that
> causes invalid code to be generated when compiling SQLite on ARM.

This is just windows on ARM, don't think we need it on Autora, likely not in central as well, until we have something running on a Windows tablet.

> * Fix the TCL interface so that the "nullvalue" setting is honored for TCL
> implementations of SQL functions.

we don't use this.

So no, I don't think we need this on Aurora. We may take it in central just to fix those rare join queries by add-ons.
Attachment #671079 - Flags: review?(mak77) → review+
Attachment #671078 - Flags: review?(mak77) → review+
https://hg.mozilla.org/mozilla-central/rev/2289b37c913d
https://hg.mozilla.org/mozilla-central/rev/31642ee5a1c9
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Comment on attachment 671078 [details] [diff] [review]
Upgrade to SQLite 3.7.14.1 - SQLite changes

[Approval Request Comment]
Bug caused by (feature/regressing bug #):
Bug 789645

User impact if declined:
Possible crash if an addon is using a very poorly designed query.

Testing completed (on m-c, etc.):
On m-c for almost a week.

Risk to taking this patch (and alternatives if risky):
Very minor update from 3.7.14. Not very risky.

String or UUID changes made by this patch:
None
Attachment #671078 - Flags: approval-mozilla-aurora?
CCing Jorge, to check if regression/issues on the add-ons side would be easy to find if we take this patch considering the user impact in comment 7 ?
you should search for queries containing a "LEFT JOIN table ON some_condition OR some_other_condition"
(In reply to bhavana bajaj [:bajaj] from comment #8)
> CCing Jorge, to check if regression/issues on the add-ons side would be easy
> to find if we take this patch considering the user impact in comment 7 ?

I can't find any add-ons on AMO that use a LEFT JOIN with an OR in the ON clause. Unless there's a major non-AMO add-on doing this, I don't expect this to have any noticeable user impact.
Attachment #671078 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: