lp:~dobee/storm/fixreloadbug
- Get this branch:
- bzr branch lp:~dobee/storm/fixreloadbug
Branch merges
- No reviews requested
Branch information
Recent revisions
- 196. By Gustavo Niemeyer
-
Close locally created stores in store tests, and also the
connection in database tests (reported by Ali Afshar). [trivial] - 195. By Gustavo Niemeyer
-
In the SQLite backend, ensure that we're able to recommit a
transaction after "database is locked" errors. Also make sure
that when this happens the timeout is actually the expected
one (original patch by Richard Boulton) [r=radix,niemeyer] - 194. By Gustavo Niemeyer
-
Test runner will now handle paths correctly on Windows
(patch by Ali Afshar). [r=radix,niemeyer] - 191. By Gustavo Niemeyer
-
Merged insert-returning branch [r=radix,jkakar]
This branch implements three important changes:
- It changes the flushing mechanism to not load values inserted
in the database at flush time. Instead, undefined variables are
set to AutoReload, and resolved once first accessed.- It implements support in the postgres backend to use the RETURNING
extension of the INSERT statement to retrieve the primary key on
inserts for object identity mapping (for versions >= 8.2)- It prevents a pathological case which happens when a statement like
"SELECT ... WHERE table.id = currval(...)" is executed in postgres.
In these cases, the index of "table.id" isn't used (now used in
versions < 8.2 only). - 190. By Gustavo Niemeyer
-
Fixed compilation of currval() in the postgres backend when using
escaped schemas, tables, and/or column names, and also added one
more test using the public schema to verify that it basically works
end-to-end. [r=radix,bigkevmcd] - 189. By Gustavo Niemeyer
-
A couple of fixes: [r=jkakar,oubiwann] [f=146580]
- Schema names are accepted in __storm_table__ when using
PostgreSQL as the database (e.g. "schema.table"). (#146580,
reported by James Mayfield)
- Tables named with reserved keywords are properly escaped. - 188. By Gustavo Niemeyer
-
Changed PostgresDisconn
ectionTest to use the STORM_POSTGRES_ HOST_URI
environment variable, if set, and use STORM_POSTGRES_URI as a fallback,
if it actually has a host set. STORM_POSTGRES_URI without the host
will disable the test class. STORM_POSTGRES_HOST_URI without a host
is an error. [trivial]