lp://staging/~jkakar/storm/any-strips-order-by
- Get this branch:
- bzr branch lp://staging/~jkakar/storm/any-strips-order-by
Branch merges
- Muharem Hrnjadovic (community): Approve
- Thomas Herve (community): Approve
-
Diff: 319 lines (+107/-61)4 files modifiedstorm/sqlobject.py (+3/-3)
storm/store.py (+39/-14)
tests/store/base.py (+64/-43)
tests/tutorial.txt (+1/-1)
Related bugs
Related blueprints
Branch information
Recent revisions
- 365. By Jamu Kakar
-
- Fix the implementation of ResultSet.first to not use
ResultSet.any, which doesn't work as a standin anymore because it
strips ORDER BY clauses.
- Fixed the behaviour of ResultSet.__getitem_ _ to use a new custom
version of any() that doesn't alter the ORDER BY clause. This is
needed to maintain compatibility with prejoin-related logic.
- Improved docstrings. - 362. By Jamu Kakar
-
Merged is-empty-
strips- order-by [r=bigkevmcd, lifeless] [f=246200] ResultSet.is_empty strips the ORDER BY clause, if one is present,
before issuing a query. The result is the same but will perform
better in cases where the query would match a large number of rows. - 361. By Thomas Herve
-
Merge mutable-
alive-check- 553334 [r=jkakar,salgado] [f=553334] Add a checkpoint call when an object is updated from the cache with values from
a recent query, to detect changes from mutables correctly, and not issue useless
(or even harmful) updates from other objects. - 359. By James Henstridge
-
Detect when per-thread stores are used in the wrong thread
ZStorm manages per-thread stores that get joined to the current thread's
transaction when used. If those stores get passed between threads, they
can be joined to the wrong transaction. This can lead to bugs that are
difficult to reproduce and debug. With this change, such use results in
an error.
[f=348815] [r=therve,jkakar] - 358. By Jamu Kakar
-
Merged reference-
set-order- by [r=niemeyer,sidnei] [f=580037] The order_by property defined for a ReferenceSet can now be
specified as string, in order to avoid circular dependency issues.
The property column is resolved after import time. - 356. By James Henstridge
-
Add an API for blocking access to connections and stores.
This is intended to let applications detect and handle unexpected
database access.
[r=therve,jkakar]
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/storm