Commit Graph
16 Commits
Author SHA1 Message Date
Marco Bonardo 219e4df1f6 Bug 1230549 - Storage should pass more eslint rules. r=yoric 2015-12-04 17:00:03 +01:00
Tooru Fujisawa 15abcd4c5b Bug 1207499 - Part 9: Remove use of expression closure from storage/. r=mak 2015-09-23 18:42:19 +09:00
Shu-yu Guo 37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Marco Bonardo 5f7620ad79 Bug 1005991 - mozStorage should not use XPCVariant off the main thread. r=asuth 2015-03-12 17:55:56 +01:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Shawn Wilsher 2da41d0c65 Bug 645049 - Update tests to no longer use a deprecated API
r=Mossop
2011-03-31 10:19:32 -07:00
Andrew Sutherland 24dd83f064 Bug 507414 - Add a createAsyncStatement API on mozIStorageConnection. r=sdwilsh, sr=vlad. 2010-03-24 00:32:40 -07:00
Shawn Wilsher f259acf833 Bug 552092 - Expose a length property on mozIStorageBindingParamsArray
Expose the length so that consumers don't have to track if they added anything
to the array themselves.
r=asuth
sr=rob_strong
2010-03-15 10:23:39 -07:00
Shawn Wilsher e00b6acf5f Bug 552003 - Passing an empty mozIStorageBindingParamsArray does not error
Throw instead of just asserting, which makes debugging this so much easier.
r=asuth
2010-03-15 10:23:39 -07:00
Shawn Wilsher c5c7d73679 Bug 506805 - Remove locking in AsyncExecuteStatements
This removes the use of the shared mutex in AsyncExecuteStatements.  We now rely
on PR_AtomicSet and the volatile keyword.  This results in zero lock contention
between the calling thread and the background thread if cancel is ever called.
r=asuth
r=bent
sr=vlad
2009-07-29 17:24:50 -07:00
Shawn Wilsher 25ed92ac59 Bug 506022 - Avoid obtaining the database mutex at all costs in Connection::ExecuteAsync
Stop calling any SQLite functions that would acquire the database mutex inside
Connection::ExecuteAsync.  Additionally, do not actually bind parameters when
the binding functions are called, but rather when we execute (so for async
statements, that will happen on the background thread creating no mutex
contention with the main thread).
r=asuth
2009-07-28 10:21:03 -07:00
Drew Willcoxon c397ca8fad Bug 490867 - Variant fixes: coerce null to empty string, GetIsNull should check correct type, variant base type should be void, r=sdwilsh
Adds a NullVariant derived class of Variant_base.
2009-06-24 15:04:49 -07:00
Shawn Wilsher 0bce6ee8c7 Test for bug 488148. r=asuth 2009-06-24 10:10:52 -07:00
Shawn Wilsher fd04c406b3 Bug 490085 - Add ability to bind multiple sets of parameters and execute asynchronously
Improves the asynchronous API by allowing multiple parameters to be bound before
executing it.  The statement is then executed with each set of parameters
asynchronously.
r=asuth
sr=vlad
2009-06-17 12:12:51 -07:00
Shawn Wilsher 7903fba3b2 Backed out changeset d546bd2c46a4 (bug 490085) because it's broken (and thunderbird's test caught it) 2009-06-17 13:43:30 -07:00
Shawn Wilsher 3131a803bc Bug 490085 - Add ability to bind multiple sets of parameters and execute asynchronously
Improves the asynchronous API by allowing multiple parameters to be bound before
executing it.  The statement is then executed with each set of parameters
asynchronously.
r=asuth
sr=vlad
2009-06-17 12:12:51 -07:00