Commit Graph

7680 Commits

Author SHA1 Message Date
Marc Abramowitz e90b2ccdfb Make MonkeyPatchedBinaryTest only run when using mssql. Prevents failed
tests when using a different dialect.
2013-03-18 15:29:54 -07:00
Mike Bayer 25f1487d60 changelog 2013-03-18 14:20:28 -07:00
Mike Bayer ed58169c83 Merged in msabramo/sqlalchemy/trac_ticket_2683 (pull request #46)
dialects/mssql/pymssql.py: Modify module.Binary to work properly with byte strings in Python 3
2013-03-18 14:18:38 -07:00
Marc Abramowitz 40b99602c6 dialects/mssql/pymssql.py: Modify module.Binary to work properly with
byte strings in Python 3

Fixes http://www.sqlalchemy.org/trac/ticket/2683
2013-03-18 13:43:46 -07:00
Marc Abramowitz c97889af6d Add a test for http://www.sqlalchemy.org/trac/ticket/2683
This test currently passes in Python 2 but fails in Python 3.
2013-03-18 13:38:54 -07:00
Mike Bayer 9ad9ccec87 0.8.1 bump + test, changelog for hstore fix [ticket:2680] 2013-03-18 12:55:56 -07:00
Ben Trofatter 5b00c6555f Corrected silly circular import introduced by original "fix". 2013-03-18 12:40:40 -07:00
Ben Trofatter 33367fd1ee Added HSTORE to ischema_names in dialects/postgresql/base.py 2013-03-18 12:20:37 -07:00
Mike Bayer 72c4bdf735 merge plus fix the test spelling too 2013-03-18 11:00:47 -07:00
Richard Mitchell c3e1ef81db Fix typo. 2013-03-18 17:40:23 +00:00
Mike Bayer de9525a73e no need to use getattr() here 2013-03-17 23:29:24 -07:00
Mike Bayer 7138b4f987 some profiles 2013-03-17 23:29:16 -07:00
Mike Bayer 97d7123674 doc updates 2013-03-11 17:52:41 -04:00
Mike Bayer 522b426a1c - repair doctest for SQL expression tutorial
- remove most use of "whereclause" and "from_obj", not done yet,
part of [ticket:2679]
- add links to method chained versions for all Select.append_XYZ()
calls
- add "method chaining" and "generative" to glossary
2013-03-11 14:44:26 -04:00
Mike Bayer 03811c312e merge 0.8 2013-03-09 20:43:36 -05:00
Mike Bayer 14a6eb03a4 Added tag rel_0_8_0 for changeset 2a20fd85d7 2013-03-09 20:43:06 -05:00
Mike Bayer 2a20fd85d7 - add pgp identity rel_0_8_0 2013-03-09 20:40:17 -05:00
Mike Bayer e061ed1843 0.8.0 2013-03-09 20:23:12 -05:00
Mike Bayer b45d045d2b merge default 2013-03-09 19:43:01 -05:00
Mike Bayer dc1ccca537 add ibm_db_sa 2013-03-09 19:42:49 -05:00
Mike Bayer c4cc1ceec9 merge default 2013-03-09 18:22:25 -05:00
Mike Bayer 25e732fe48 linting 2013-03-09 18:22:14 -05:00
Mike Bayer 3b4f0d0a79 some tests that were never turned on... 2013-03-09 18:17:13 -05:00
Mike Bayer 6be35e3898 - auto-append for CheckConstraint should skip table if the expression is against
a lower-case-t table
2013-03-09 18:05:21 -05:00
Mike Bayer e446f2c8e7 merge default 2013-03-09 17:41:46 -05:00
Mike Bayer a0de45185b Added support for Postgresql's traditional SUBSTRING
function syntax, renders as "SUBSTRING(x FROM y FOR z)"
when regular ``func.substring()`` is used.
Also in 0.7.11.  Courtesy Gunnlaugur Por Briem.
[ticket:2676]
2013-03-09 17:40:06 -05:00
Mike Bayer 5d0fa6ac72 merge default 2013-03-09 17:26:28 -05:00
Mike Bayer c8a80e2130 - remove all compat items that are pre-2.5 (hooray)
- other cleanup
- don't need compat.decimal, that approach never panned out. hopefully
outside libs aren't pulling it in, they shouldn't be
2013-03-09 17:26:16 -05:00
Mike Bayer 8ef3ed1032 - this test is ridiculous, executemany() + returning not supported 2013-03-09 14:42:34 -05:00
Mike Bayer a879116b66 merge default 2013-03-09 13:25:03 -05:00
Mike Bayer 852e9954aa A meaningful :attr:.QueryableAttribute.info attribute is
added, which proxies down to the ``.info`` attribute on either
the :class:`.schema.Column` object if directly present, or
the :class:`.MapperProperty` otherwise.  The full behavior
is documented and ensured by tests to remain stable.
[ticket:2675]
2013-03-09 13:24:54 -05:00
Mike Bayer 0482f18fad merge default 2013-03-09 12:49:52 -05:00
Mike Bayer d2a256a3ad changelog 2013-03-09 12:49:35 -05:00
Mike Bayer 9066d99a0f - clean up entity correlation tests in test_query 2013-03-09 12:28:18 -05:00
Mike Bayer a5ec70a961 - the base correlate tests in test_compiler cover the ones that were here
for now
- fix up adaptation tests to still try to exercise the correlation argument
2013-03-09 12:12:01 -05:00
Mike Bayer d5d9a8c24e - since correlation is now always at least semi-automatic, remove the
ability for correlation to have any effect for a SELECT that's stated
in the FROM.
- add a new exhaustive test suite for correlation to test_compiler
2013-03-09 11:46:44 -05:00
Mike Bayer 9793bf7fb2 go back to the original form, then break out this test into individuals
so it can be managed more easily
2013-03-08 19:00:13 -05:00
Luke Cyca f122a307e0 Changed behavior of Select.correlate() to ignore correlations to froms that don't exist in the superquery. 2013-03-07 11:56:11 -08:00
Mike Bayer 554cf61e1f merge default 2013-03-07 12:44:28 -05:00
Mike Bayer 3b7fbdb296 changelog 2013-03-07 12:38:10 -05:00
Mike Bayer a98bb5f0cd Merged in nakagami/sqlalchemy/cymysql (pull request #42)
cymysql support
2013-03-07 12:36:35 -05:00
Hajime Nakagami 50cc82b796 mysql+cymysql test_types.py 2013-03-06 00:21:54 +09:00
Mike Bayer a436984663 merge default 2013-03-04 12:50:22 -05:00
Mike Bayer 029b79052c - add some more transaction states so that we deliver a more accurate
message for [ticket:2662]; after_commit() is called within "committed"
state, not prepared, and no SQL can be emitted for prepared or committed
- consolidate state assertions in session transaction, use just one
method
- add more unit tests for these assertions
2013-03-04 12:50:11 -05:00
Mike Bayer 43aa4a42d6 merge default 2013-03-03 19:26:36 -05:00
Mike Bayer f4679ea26c yikes, print statement ! 2013-03-03 19:25:49 -05:00
Mike Bayer b3e454bd17 merge default 2013-03-03 19:22:54 -05:00
Mike Bayer 383c3fede5 - this assertion moves out to configure_mappers() now 2013-03-03 19:22:43 -05:00
Mike Bayer 3f014926f4 fix non2.5 compat @property usage 2013-03-03 19:17:03 -05:00
Mike Bayer 8d9038b19c dont need this conditional here 2013-03-03 14:02:54 -05:00