Commit Graph

7698 Commits

Author SHA1 Message Date
Diana Clarke 423cd7fbf6 adding convenience method exists() to Query (see # 2673) 2013-03-29 14:58:33 -04:00
Mike Bayer 7dff6f6d49 - test all pymssql messages here
- changelog
2013-03-29 12:09:11 -04:00
Mike Bayer 7aea1bfc8e Merged in sontek/sqlalchemy/add_better_disconnect_checks (pull request #47)
Add disconnect check on timeouts
2013-03-29 12:03:17 -04:00
Mike Bayer c87f6af48c - add a nose runner that erases out argv, otherwise
you get "import test" as what it tries to run with
setup.py test
2013-03-25 16:59:27 -04:00
Mike Bayer 07c9bc77f7 - limit some of these on views, indexes, pk constraints being available 2013-03-24 18:24:21 -04:00
Mike Bayer 9ca5b47fc9 merge default 2013-03-24 14:32:50 -04:00
Mike Bayer 728e272201 Merged in msabramo/sqlalchemy (pull request #48)
Make MonkeyPatchedBinaryTest only run when using mssql. Prevents failed
2013-03-24 14:32:19 -04:00
Mike Bayer 5e66224d63 - add an event to testing so that other dialects can intercept "test_needs_autoincrement"
- get the assumption of "1" for "first sequence item" to be dialect configured
2013-03-24 14:31:48 -04:00
Mike Bayer a4703917d8 Loosened the check on dialect-specific argument names
passed to Table(); since we want to support external dialects
and also want to support args without a certain dialect
being installed, it only checks the format of the arg now,
rather than looking for that dialect in sqlalchemy.dialects.
2013-03-24 13:50:56 -04:00
Mike Bayer b5b751e3de fix syntax error 2013-03-24 13:45:37 -04:00
Mike Bayer 35c5fd3fba Fixed bug whereby a DBAPI that can return "0"
for cursor.lastrowid would not function correctly
in conjunction with :attr:`.ResultProxy.inserted_primary_key`.
2013-03-23 19:00:11 -04:00
Mike Bayer e69b9542a8 Merged in tshepang/sqlalchemy/grammar (pull request #51)
fix grammar
2013-03-23 11:30:28 -04:00
Mike Bayer e717b57590 Merged in tshepang/sqlalchemy/typos (pull request #52)
remove mistakenly-repeated words
2013-03-23 11:22:42 -04:00
Tshepang Lekhonkhobe fd23be645e fix grammar 2013-03-23 13:58:16 +02:00
Tshepang Lekhonkhobe 56ec242999 remove mistakenly-repeated words 2013-03-23 13:42:10 +02:00
Marc Abramowitz f79b41243d Make MonkeyPatchedBinaryTest not fail on Python 2.5 (which doesn't have
the `b` notation for byte string literals)
2013-03-20 22:37:05 -07:00
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
John Anderson eefa4b68f5 cleaned up errors, only check for connection timeout for now 2013-03-18 15:04:30 -07:00
John Anderson cb43db6bd1 Added disconnect checks for timeout, unable to read, and unable to write 2013-03-18 14:49:28 -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