Commit Graph

7255 Commits

Author SHA1 Message Date
Mike Bayer fab9be5d0e - [feature] the MS Access dialect has been
moved to its own project on Bitbucket,
    taking advantage of the new SQLAlchemy
    dialect compliance suite.   The dialect is
    still in very rough shape and probably not
    ready for general use yet, however
    it does have *extremely* rudimental
    functionality now.
2012-09-30 20:17:49 -04:00
Mike Bayer 68fb10cae5 allow variability here 2012-09-30 19:59:40 -04:00
Mike Bayer 502152de2a mssql: - [bug] Fixed bug where reflection of primary key constraint
would double up columns if the same constraint/table
    existed in multiple schemas.
- force returns_rows to False for inserts where we know rows shouldnt be returned;
allows post_exec() to use the cursor without issue
2012-09-30 18:23:21 -04:00
Mike Bayer 061d5cfab1 spacing 2012-09-30 17:20:15 -04:00
Mike Bayer 62b7a8133a - [bug] Fixed bug in over() construct whereby
passing an empty list for either partition_by
    or order_by, as opposed to None, would fail
    to generate correctly.
    Courtesy Gunnlaugur Por Briem.
    [ticket:2574]
2012-09-30 17:18:14 -04:00
Mike Bayer d8be99f7ed put this inside a main() 2012-09-30 17:05:00 -04:00
Mike Bayer e35a6b91d6 - [bug] Fixed compiler bug whereby using a correlated
subquery within an ORDER BY would fail to render correctly
    if the stament also used LIMIT/OFFSET, due to mis-rendering
    within the ROW_NUMBER() OVER clause.  Fix courtesy
    sayap [ticket:2538]
2012-09-30 16:57:23 -04:00
Mike Bayer bba1d01b26 - [bug] The CreateIndex construct in Oracle
will now schema-qualify the name of the index
    to be that of the parent table.  Previously this
    name was omitted which apparently creates the
    index in the default schema, rather than that
    of the table.
2012-09-30 20:00:46 +00:00
Mike Bayer 0c3e2b49b9 - add a glossary b.c. hey its a good idea 2012-09-30 11:54:40 -04:00
Mike Bayer 30f6b8b9bd modernize session links 2012-09-30 11:29:54 -04:00
Mike Bayer 74461bab19 - commit Priit Laes docstring fixes
- don't even talk about metadata.bind in declarative
2012-09-30 11:13:52 -04:00
Mike Bayer 9e5e1984d1 fix the path here 2012-09-30 11:03:27 -04:00
Mike Bayer c0bba14268 - tighten mysql date test to not fail over 1 second boundaries (and probably microsecond boundaries once they support that...) 2012-09-30 11:00:00 -04:00
Mike Bayer f12813711a consolidate config into noseplugin, remove the dupe, load noseplugin using imp.load_source(), see if that works 2012-09-30 01:19:43 -04:00
Mike Bayer bd48c8a9ec pg and oracle fixes 2012-09-30 01:02:56 -04:00
Mike Bayer 6ebf3633bf 2.5 support 2012-09-30 00:52:07 -04:00
Mike Bayer 193a76e70c - todos 2012-09-29 17:28:20 -04:00
Mike Bayer e53bd22d9e also get rid of satest.cfg 2012-09-29 17:12:45 -04:00
Mike Bayer b570c8f69e - copy the plugin into test so that it can be loaded w/o breaking coverage.
this is a really unfortunate hack right now.
2012-09-29 17:12:00 -04:00
Mike Bayer 08f104f7e7 - import fixes 2012-09-29 16:58:00 -04:00
Mike Bayer 7a4121e8e8 this isnt used 2012-09-29 16:30:57 -04:00
Mike Bayer e96d0765f3 merge 2012-09-29 16:24:48 -04:00
Mike Bayer e6abd99318 merge 2012-09-29 16:24:03 -04:00
Mike Bayer 913d9d4048 - rework component reflection test so that usual framework hooks can be used
to redefine tables, etc.
2012-09-29 16:11:47 -04:00
Mike Bayer 1e5b8eb0a6 dev 2012-09-29 15:17:08 -04:00
Mike Bayer e9fc615a21 adjustments 2012-09-29 13:34:03 -04:00
Mike Bayer 04e126dd49 - revert the "basedir" thing - running setup.py from the currdir is unfortunately part of the
distutils docs (http://docs.python.org/install/index.html#platform-variations)
2012-09-29 13:21:15 -04:00
Mike Bayer 00e29c4cc6 - enhance setup.py to support being run from outside the current directory. hopefully there's no
gotchas with this on other platforms.
2012-09-29 13:08:07 -04:00
Mike Bayer 4aba2eb601 - fix annotation transfer when producing m2m backref, [ticket:2578] 2012-09-28 11:00:53 -04:00
Mike Bayer be40b51cb0 getting everything to pass again 2012-09-27 16:33:54 -04:00
Mike Bayer b9ea55f861 - more tests, move some tests out of test_reflection, test_query 2012-09-27 16:11:32 -04:00
Mike Bayer 40fd1997f0 display name in message 2012-09-27 03:07:42 -04:00
Mike Bayer f84448ffea - add a runner module
- make "default" the default dialect.
2012-09-27 03:06:40 -04:00
Mike Bayer 966a21c572 tweaks 2012-09-27 02:47:43 -04:00
Mike Bayer 7a5e99b5b3 fix an early import 2012-09-27 02:43:14 -04:00
Mike Bayer 20cdc64588 trying different approaches to test layout. in this one, the testing modules
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.
2012-09-27 02:37:33 -04:00
Mike Bayer 21cac5b598 - profile file is configurable 2012-09-26 19:15:09 -04:00
Mike Bayer 1a7778632d - further reorganization of test suite:
- bootstrap and lib move to all absolute imports
  - testing.py is no longer internally referenced.
  - requirements move to be a pluggable class which can
    be overridden.
  - cleanup

in the interests of third party testing, test/lib and test/bootstrap
may move to be an independent package.
2012-09-26 17:21:21 -04:00
Mike Bayer 0895e34d21 - fix empty row insert in fixture, [ticket:2573] 2012-09-26 10:35:55 -04:00
Mike Bayer 0c7b989ce5 - [feature] Added support for the localtimestamp()
SQL function implemented in SQLite, courtesy
Richard Mitchell.  Added test
2012-09-26 10:20:56 -04:00
Mike Bayer 554de7aaf0 Merged in mitchellrj/sqlalchemy (pull request #21) 2012-09-26 10:17:55 -04:00
Richard Mitchell cdeeccb595 Add support for LOCALTIMESTAMP in SQLite. 2012-09-26 14:36:51 +01:00
Mike Bayer 21fb19e2c6 - [bug] Added 'terminating connection' to the list
of messages we use to detect a disconnect with PG, which
    appears to be present in some versions when the server
    is restarted.  [ticket:2570]
2012-09-25 16:54:50 -04:00
Mike Bayer c7c17e991c - [bug] Fixed the DropIndex construct to support
an Index associated with a Table in a remote
    schema. [ticket:2571]
2012-09-24 11:17:16 -04:00
Mike Bayer 4af7743ce7 - fix fb function thing here, need **kw to break the loop 2012-09-23 22:14:17 -04:00
Mike Bayer 20fe4a012e - [feature] An experimental dialect for the fdb
driver is added, but is untested as I cannot
get the fdb package to build.  [ticket:2504]
2012-09-23 18:30:16 -04:00
Mike Bayer 444abbe847 - got firebird running
- add some failure cases
- [bug] Firebird now uses strict "ansi bind rules"
so that bound parameters don't render in the
columns clause of a statement - they render
literally instead.

- [bug] Support for passing datetime as date when
using the DateTime type with Firebird; other
dialects support this.
2012-09-23 18:09:18 -04:00
Mike Bayer e1d09859c5 - [bug] Columns in reflected primary key constraint
are now returned in the order in which the constraint
    itself defines them, rather than how the table
    orders them.  Courtesy Gunnlaugur Por Briem.
    [ticket:2531].
2012-09-23 13:42:24 -04:00
Mike Bayer bce3ffc341 - use our new Cls.memoized_name._reset(self) method in place of all those __dict__.pop(),
remove reset_memoized
2012-09-23 13:09:43 -04:00
Mike Bayer 152163b333 - [bug] When the primary key column of a Table
is replaced, such as via extend_existing,
    the "auto increment" column used by insert()
    constructs is reset.  Previously it would
    remain referring to the previous primary
    key column.  [ticket:2525]
2012-09-23 12:51:24 -04:00