summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/test/engines.py
Commit message (Collapse)AuthorAgeFilesLines
* - move sqlalchemy.test to test.libMike Bayer2010-11-151-305/+0
|
* first step of [ticket:1949], remove the setuptools aspectMike Bayer2010-11-151-1/+1
| | | | of the plugin, move it to test/bootstrap
* - the NoseSQLAlchemyPlugin has been moved to aMike Bayer2010-10-171-1/+1
| | | | | | | | | | new package "sqlalchemy_nose" which installs along with "sqlalchemy". This so that the "nosetests" script works as always but also allows the --with-coverage option to turn on coverage before SQLAlchemy modules are imported, allowing coverage to work correctly. - added some new ignores
* - The _extract_error_code() method now worksMike Bayer2010-07-121-0/+5
| | | | | | | | | correctly with the "mysqldb" dialect. Previously, the reconnect logic would fail for OperationalError conditions, however since MySQLdb has its own reconnect feature, there was no symptom here unless one watched the logs. [ticket:1848]
* - The visit_pool() method of Dialect is removed, and replaced withMike Bayer2010-03-151-9/+10
| | | | | | | | on_connect(). This method returns a callable which receives the raw DBAPI connection after each one is created. The callable is assembled into a first_connect/connect pool listener by the connection strategy if non-None. Provides a simpler interface for dialects.
* fix failing test due to sybase paramstyleMike Bayer2010-03-141-1/+3
|
* - the "threadlocal" engine has been rewritten and simplifiedMike Bayer2010-01-241-2/+2
| | | | and now supports SAVEPOINT operations.
* - The psycopg2 dialect now uses psycopg2's "unicode extension"Mike Bayer2009-10-261-0/+8
| | | | | | | | | | | | | | | | | | on all new connections, which allows all String/Text/etc. types to skip the need to post-process bytestrings into unicode (an expensive step due to its volume). Other dialects which return unicode natively (pg8000, zxjdbc) also skip unicode post-processing. - String/Text/Unicode types now skip the unicode() check on each result column value if the dialect has detected the DBAPI as returning Python unicode objects natively. This check is issued on first connect using "SELECT CAST 'some text' AS VARCHAR(10)" or equivalent, then checking if the returned object is a Python unicode. This allows vast performance increases for native-unicode DBAPIs, including pysqlite/sqlite3, psycopg2, and pg8000.
* merge 0.6 series to trunk.Mike Bayer2009-08-061-8/+52
|
* - unit tests have been migrated from unittest to nose.Mike Bayer2009-06-101-0/+245
See README.unittests for information on how to run the tests. [ticket:970]