Nick Sieger
-
Remove flawed execute("ROLLBACK") approach; #reset! defaults to nothing
Will need community help to fill out what #reset! should do for each adapter
Signed-off-by: Jeremy Kemper
0d9e238cc938c96708d36bbd2cd4736e9ec93a1e
-
Default connection allow_concurrency to false (for PostgreSQL)
Signed-off-by: Jeremy Kemper
a3f12f575d4bf216a15188ecab2d26a11162bc3b
-
Deprecate verification_timeout and verify before reset
Signed-off-by: Michael Koziarski
7ba28726150f5d4ee3b3cb676d6b73cc3b62e186
-
Fix failure to retain value of allow_concurrency
- Also carry allow_concurrency value through to connection adapter
37b0b36918f14519b28326057bba38ca6fcfbd3b
(for postgresql)
-
Add synchronization to connection pool also
cab76ce6ac2983f59451e2d53b23746a2873aea0
-
Introduce synchronization around connection pool access
- use new active support Module#synchronize
50cd4bdc99ebaf3ac879e4e7fea43c5b55ca5f68
- allow_concurrency now switches between a null monitor and a
regular monitor (defaulting to null monitor to avoid overhead)
-
Module#synchronize: Add testcase to ensure that singleton methods can be wrapped
b185d157fe5c14ecac348558d0c0b42658de7097
-
Add method punctuation handling to #synchronize
9dc4f6611043d032e576d93430cd29efc8864bc4
-
Adds Module#synchronize for easier method-level synchronization.
3eb68248e0c0495c4533792260c9262fcd2840af
-
Rename defined_connections to connection_pools
- Distinguis meaning of "active_connections" to always mean connections
5879b15f23f080badedbbab7835eda8c2c748a52
associated with the current thread
-
Initial conversion to connection pool
So far so good, tests still run clean. Next steps: synchronize connection pool access
6edaa267174dfedaf5b152b9eba25b4eb5e34c99
and modification, and change allow_concurrency to simply switch a real lock for a
null lock.
-
Change all databases.rake adapter 'when' statements to use regexes.
This is more friendly to JRuby/JDBC adapters (with names like 'jdbcmysql')
1a81f156bd81990a50ecf13986b2131dbd20a62b
and leaves the door open to alternate implementations of adapters in the
future.
-
Make query-cache thread-local
Signed-off-by: Joshua Peek
a9086b3daa0a5174ba2118a2131eb5121f32d41b

