Commit Graph

4147 Commits

Author SHA1 Message Date
Mike Bayer c7b52003fb - add a flag to DefaultDialect for this so that people will have some
workaround
2013-06-04 18:43:59 -04:00
Mike Bayer 11578ba709 - improve overlapping selectables, apply to both query and relationship
- clean up inspect() calls within query._join()
- make sure join.alias(flat) propagates
- fix almost all assertion tests
2013-06-04 18:23:06 -04:00
Mike Bayer 58e917fe2d - eager loads
- two suite of SQL assertions converted
2013-06-04 16:48:14 -04:00
Mike Bayer 9998e9e013 rewriting scheme now works. 2013-06-04 14:30:29 -04:00
Mike Bayer 822786dfae capture the really hard one in a test (hooray) 2013-06-04 13:11:03 -04:00
Mike Bayer 2b0b802b49 working through tests.... 2013-06-02 20:23:03 -04:00
Mike Bayer 02ae3cd54d getting things to join without subqueries, but some glitches in the compiler step
when we do query.count() are showing
2013-06-02 19:33:19 -04:00
Mike Bayer 32716eae77 - blow away context._attributes
- to account for query._attributes/context.attributes, just pass
the attributes dict directly to the PathRegistry methods
2013-06-02 12:06:39 -04:00
Mike Bayer 2cd1a43778 Fixed a regression caused by [ticket:2682] whereby the
evaluation invoked by :meth:`.Query.update` and :meth:`.Query.delete`
would hit upon unsupported ``True`` and ``False`` symbols
which now appear due to the usage of ``IS``.
[ticket:2737]
2013-05-31 11:52:31 -04:00
Mike Bayer 1cc6494802 add a test for the exception we want to raise here 2013-05-30 20:26:45 -04:00
Mike Bayer 04317bd5a8 The "auto-aliasing" behavior of the :class:.Query.select_from
method has been turned off.  The specific behavior is now
availble via a new method :class:`.Query.select_entity_from`.
[ticket:2736]
2013-05-30 20:09:44 -04:00
Mike Bayer 6c4a61b07a - repair for py3k
- fix test
2013-05-29 18:29:12 -04:00
Mike Bayer 534e05888e hstores are text, and in py3k they seem to be implcitly unicode. so
add unicode encoding for py2k for the non-native hstore, pullreq for
    native psycopg2 support coming....
2013-05-29 18:08:28 -04:00
Mike Bayer f9bb6c2a54 - additional oracle fixes. cx_oracle under py3k is complaining about tuples to executemany(),
so just unconditionally turn this into a list
- this one test segfaults only on py3k + cx_oracle
2013-05-27 17:06:05 -04:00
Mike Bayer 4276049e49 fix test_execute w c extensions 2013-05-26 20:44:34 -04:00
Mike Bayer 2be39d5342 get profile 1a back down to 5100 calls, that one was 10% greater due to this 2013-05-26 20:02:17 -04:00
Mike Bayer 2e8816c88f mssql test fixes 2013-05-26 19:49:50 -04:00
Mike Bayer 3b4168875d - zoomark tests
- rewrite all profiles, we'll review the diffs to see if anything is too far out
2013-05-26 19:47:13 -04:00
Mike Bayer 6cde27fe91 a pass where we try to squash down as many list()/keys() combinations
as possible
2013-05-26 19:06:13 -04:00
Mike Bayer 38f65baf18 - oracle tests passing in py3k!! 2013-05-26 17:58:07 -04:00
Mike Bayer abc4331293 a few more oracle fixes 2013-05-26 17:39:53 -04:00
Mike Bayer 46b0b14fde cleanup for oracle 2013-05-26 17:37:03 -04:00
Mike Bayer 2ddcd20267 Merge branch 'master' into rel_0_9 2013-05-26 17:18:27 -04:00
Mike Bayer e2b8c893ca fix this test 2013-05-26 17:18:04 -04:00
Mike Bayer 4e930a7f78 - add a test specific to sqlite testing cursor.description encoding (should
probably be one in test_query or test_unicode...)
- fix up test_unitofwork
2013-05-26 16:58:37 -04:00
Mike Bayer b3654ee37a postgresql tests 2013-05-26 16:39:50 -04:00
Mike Bayer f939abe830 mysql tests 2013-05-26 16:32:55 -04:00
Mike Bayer eb06c142fc Merge branch 'master' into rel_0_9 2013-05-26 13:11:21 -04:00
Mike Bayer 62c7e0dbe6 sqlite tests 2013-05-26 13:10:00 -04:00
Mike Bayer 00f2b19a55 extension tests 2013-05-26 13:09:05 -04:00
Mike Bayer 956c144c7f fix serializer tests. something is wrong with non-C pickle but for some reason py3k's pickle seems to be OK? not sure why that is, as this
is all related to http://bugs.python.org/issue998998
2013-05-26 13:08:24 -04:00
Chris Withers d630a2e6ef Add missing import that caused test_notice_logging to fail if this suite was run on its own. 2013-05-26 13:05:53 +01:00
Mike Bayer 6e99c0b04e merge default 2013-05-23 13:02:33 -04:00
Mike Bayer 2eaae08f48 Fixed a bug where the routine to detect the correct kwargs
being sent to :func:`.create_engine` would fail in some cases,
such as with the Sybase dialect.
[ticket:2732]
2013-05-23 12:59:53 -04:00
Mike Bayer 2e75f668f3 merge default 2013-05-15 15:47:11 -04:00
Mike Bayer cfb0f9ca14 Regression from this ticket caused the unsupported keyword
"true" to render, added logic to convert this to 1/0
for SQL server.
[ticket:2682]
2013-05-15 15:46:29 -04:00
Mike Bayer 26657f92ec merge default 2013-05-13 16:13:51 -04:00
Mike Bayer f574bcf98d Fixed a regression from 0.7 caused by this ticket, which
made the check for recursion overflow in self-referential
eager joining too loose, missing a particular circumstance
where a subclass had lazy="joined" or "subquery" configured
and the load was a "with_polymorphic" against the base.
[ticket:2481]
2013-05-13 16:13:15 -04:00
Mike Bayer cca97433c1 merge default 2013-05-05 01:42:26 -04:00
Mike Bayer 31792e86ae - cleanup
- move the timeout here to 14 seconds as jenkins still chokes occasionally
2013-05-05 01:39:35 -04:00
Mike Bayer 87ee86514e py3k specific syntax moved into an exec 2013-05-04 16:35:47 -04:00
Mike Bayer 04ccdcacda cleanup 2013-05-04 16:26:10 -04:00
Mike Bayer 4afe258556 cleanup 2013-05-04 16:25:35 -04:00
Mike Bayer 220fa91337 most of ORM passing... 2013-05-04 16:23:27 -04:00
Mike Bayer 8be6831f8b base 2013-05-04 16:00:05 -04:00
Mike Bayer 021b5143e6 that's all of engine 2013-05-04 15:57:03 -04:00
Mike Bayer 6c8b8da877 cleanup 2013-05-04 15:35:47 -04:00
Mike Bayer ef629e7b3d cleanup 2013-05-04 15:35:47 -04:00
Mike Bayer 920e134d53 test_execute up for sqlite, pg, oursql, mysql 2.7 + 3.3 2013-05-04 15:29:04 -04:00
Mike Bayer c7ce62cf65 - OK we have -w sql passing for: sqlite, postgresql, oursql 2.7 + 3.3, mysqldb 2.7 2013-05-04 15:26:28 -04:00