summaryrefslogtreecommitdiff
path: root/test/dialect/test_firebird.py
Commit message (Collapse)AuthorAgeFilesLines
* Make all tests to be PEP8 compliantKhairi Hafsham2017-02-071-51/+47
| | | | | | | | tested using pycodestyle version 2.2.0 Fixes: #3885 Change-Id: I5df43adc3aefe318f9eeab72a078247a548ec566 Pull-request: https://github.com/zzzeek/sqlalchemy/pull/343
* - Fixed bug where the combination of "limit" rendering asMike Bayer2014-04-301-2/+5
| | | | | | | | | "SELECT FIRST n ROWS" using a bound parameter (only firebird has both), combined with column-level subqueries which also feature "limit" as well as "positional" bound parameters (e.g. qmark style) would erroneously assign the subquery-level positions before that of the enclosing SELECT, thus returning parameters which are out of order. Fixes #3038
* - The firebird dialect will quote identifiers which begin with anMike Bayer2013-12-271-0/+9
| | | | underscore. Courtesy Treeve Jelbert. [ticket:2897]
* Added new flag ``retaining=False`` to the kinterbasdb and fdb dialects.Mike Bayer2013-06-301-0/+73
| | | | | | | This controls the value of the ``retaining`` flag sent to the ``commit()`` and ``rollback()`` methods of the DBAPI connection. Defaults to False. Also in 0.8.2, where it defaults to True. [ticket:2763]
* - the raw 2to3 runMike Bayer2013-04-271-1/+1
| | | | - went through examples/ and cleaned out excess list() calls
* trying different approaches to test layout. in this one, the testing modulesMike Bayer2012-09-271-3/+4
| | | | | | | become an externally usable package but still remains within the main sqlalchemy parent package. in this system, we use kind of an ugly hack to get the noseplugin imported outside of the "sqlalchemy" package, while still making it available within sqlalchemy for usage by third party libraries.
* - [bug] CompileError is raised when VARCHAR withMike Bayer2012-09-101-4/+36
| | | | | no length is attempted to be emitted, same way as MySQL. [ticket:2505]
* -whitespace bonanza, contdMike Bayer2012-07-281-2/+2
|
* - remove test.sql._base, test.engine._base, test.orm._base, move those ↵Mike Bayer2011-03-271-5/+5
| | | | | | | classes to a new test.lib.fixtures module - move testing.TestBase to test.lib.fixtures - massive search and replace
* - convert @provide_metadata to use self accessMike Bayer2011-03-261-0/+3
| | | | | - having occasional issues with BasicEntity grabbing, if it persists may have to pass an explicit base class into setup_classes()/setup_mappers()
* - Some adjustments so that Interbase is supported as well.Mike Bayer2011-02-011-4/+12
| | | | | | | | FB/Interbase version idents are parsed into a structure such as (8, 1, 1, 'interbase') or (2, 1, 588, 'firebird') so they can be distinguished. [ticket:1885] - fixed relfection of the "autoincrement" flag against a default placed on the column.
* - Firebird numeric type now checks for Decimal explicitly,Mike Bayer2011-01-031-0/+14
| | | | | lets float() pass right through, thereby allowing special values such as float('inf'). [ticket:2012]
* - whitespace removal bonanzaMike Bayer2011-01-021-3/+3
|
* - move sqlalchemy.test to test.libMike Bayer2010-11-151-2/+2
|
* - Fixed FB bug whereby a column default would fail toMike Bayer2010-09-061-1/+17
| | | | reflect if the "default" keyword were lower case.
* test/dialectMike Bayer2010-07-111-109/+140
|
* - Firebird dialect adds CHAR, VARCHAR types whichMike Bayer2010-06-191-0/+16
| | | | | accept a "charset" flag, to support Firebird "CHARACTER SET" clause. [ticket:1813]
* further testing reveals that cursor.rowcount is only called with ↵Mike Bayer2010-04-121-3/+2
| | | | | | | | | update/delete and DDL, and also that FB's cursor.rowcount is a little expensive, but not dramatically. added a test to ensure cursor.rowcount is only called on update/delete. the current default for firebird enable_rowcount is now True, leaving all the options to turn it off etc..
* - The functionality of result.rowcount is now disabledMike Bayer2010-04-111-9/+36
| | | | | | | | | by default, and can be re-enabled using the 'enable_rowcount' flag with create_engine(), as well as the 'enable_rowcount' execution context flag on a per-execute basis. This because cursor.rowcount requires cursor access (can't be evaluated lazily since the result auto-closes) and also incurs an expensive round-trip.
* Fix #1663: the whitespace after DEFAULT may start with a newlineLele Gaifax2010-01-281-3/+126
|
* Fix #1451: take into account the actual coding system when determining the ↵Lele Gaifax2009-08-071-0/+1
| | | | field length
* Fix #1429: take into account possible spurious spaces around the DEFAULT keywordLele Gaifax2009-08-071-4/+6
|
* merge 0.6 series to trunk.Mike Bayer2009-08-061-89/+34
|
* - unit tests have been migrated from unittest to nose.Mike Bayer2009-06-101-0/+228
See README.unittests for information on how to run the tests. [ticket:970]