Mike Bayer
2cea98dfc5
- fix long-outdated documentation for sql_mode/ansiquotes,
...
closes [ticket:1552]
2013-04-29 19:21:44 -04:00
Mike Bayer
9716a5c45e
merge rel_0_8
2013-04-27 17:51:52 -04:00
Mike Bayer
d9a9c250d2
Added tag rel_0_8_1 for changeset 2cf49d898d
2013-04-27 17:36:18 -04:00
Mike Bayer
2cf49d898d
0.8.1
rel_0_8_1
2013-04-27 17:27:13 -04:00
Mike Bayer
c38c63fdbf
merge default
2013-04-27 17:24:23 -04:00
Mike Bayer
8cdb4543bd
modernize some more examples
2013-04-27 17:21:31 -04:00
Mike Bayer
5f51d409cc
- add documentation note for [ticket:1841]
2013-04-27 15:35:13 -04:00
Mike Bayer
858332de0a
the callcount went up here, still less than with no C extensions, not prepared
...
to worry about it too much
2013-04-26 19:51:25 -04:00
Mike Bayer
0a5737d9a8
oracle doesn't have TRUE/FALSE, put 1/0 here, see how that goes
2013-04-26 19:49:48 -04:00
Mike Bayer
9a1c505d32
need to test for (list, tuple) here and not hasattr("__iter__")
...
since Py3K strings have __iter__
2013-04-26 19:48:43 -04:00
Mike Bayer
d3ca368921
fix here, was only failing in the py3k version
2013-04-26 19:45:06 -04:00
Mike Bayer
00f3fcd641
merge default
2013-04-26 15:51:45 -04:00
Mike Bayer
e3a7015f89
Fixes to the `sqlalchemy.ext.serializer` extension, including
...
that the "id" passed from the pickler is turned into a string
to prevent against bytes being parsed on Py3K, as well as that
``relationship()`` and ``orm.join()`` constructs are now properly
serialized. [ticket:2698] and some other observed issues.
2013-04-26 15:51:29 -04:00
Mike Bayer
34dc02773b
merge default
2013-04-26 15:04:54 -04:00
Mike Bayer
22c4ae0aaf
changelog for [ticket:2714]
2013-04-26 15:04:42 -04:00
Mike Bayer
3e49ac5161
and a lot of tests. five fail without the change
2013-04-26 13:08:28 -04:00
Mike Bayer
8e66f41f69
- further cleanup. in particular, the left clause is never None. But we still
...
can have errors when we do the auto-join, these are both covered in test_joins
2013-04-25 14:44:37 -04:00
Mike Bayer
e1d0356968
we can always adapt to right also. suppose if right
...
were an alias of a table, should add tests for that.
2013-04-25 14:29:48 -04:00
Mike Bayer
0ed0bdb2ae
heh dont need that either
2013-04-25 14:16:54 -04:00
Mike Bayer
9506bbe82f
dont need this
2013-04-25 14:14:23 -04:00
Mike Bayer
68b844df4f
cleanup
2013-04-25 14:13:13 -04:00
Mike Bayer
6f05aa06bf
everything passes with this!!!!!!! holy crap !!!!! and its the simplest of all
2013-04-25 13:54:40 -04:00
Mike Bayer
6372327097
- attempt to replace the whole idea of "join_to_left" with a more
...
fundamental and general purpose heuristic. this initial approach
has about 60 tests failing but seems to have gone pretty far
2013-04-24 18:58:09 -04:00
Mike Bayer
c3c9a3f701
break into multiple tests
2013-04-24 18:10:16 -04:00
Mike Bayer
b25e11f6a8
formatting
2013-04-24 17:49:24 -04:00
Mike Bayer
7a26ad2ef1
- merge exists() patch + changelog
2013-04-23 20:06:04 -04:00
Mike Bayer
0f26f54919
merge default
2013-04-23 13:24:02 -04:00
Mike Bayer
77e0a5dffe
Added a conditional to the unpickling process for ORM
...
mapped objects, such that if the reference to the object
were lost when the object was pickled, we don't
erroneously try to set up _sa_instance_state - fixes
a NoneType error.
2013-04-23 13:23:48 -04:00
Mike Bayer
7c8f977fc5
merge default
2013-04-23 13:07:50 -04:00
Mike Bayer
177ad548c4
- only search in the exception before the first newline, to avoid
...
false positives for SQL statements containing certain text
2013-04-23 13:07:36 -04:00
Mike Bayer
b6f04d9288
merge default
2013-04-22 19:33:49 -04:00
Mike Bayer
00c163bfb1
Opened up the checking for "disconnect" with psycopg2/libpq
...
to check for all the various "disconnect" messages within
the full exception hierarchy. Specifically the
"closed the connection unexpectedly" message has now been
seen in at least three different exception types.
[ticket:2712]
2013-04-22 19:33:39 -04:00
Mike Bayer
600b4bc1a2
merge default
2013-04-22 19:13:00 -04:00
Mike Bayer
5884c2e7e5
Fully implemented the IS and IS NOT operators with
...
regards to the True/False constants. An expression like
``col.is_(True)`` will now render ``col IS true``
on the target platform, rather than converting the True/
False constant to an integer bound parameter.
This allows the ``is_()`` operator to work on MySQL when
given True/False constants.
[ticket:2682]
2013-04-22 19:12:47 -04:00
Mike Bayer
b6c523d255
merge default
2013-04-22 17:24:42 -04:00
Mike Bayer
63c211f427
tweak this some more to handle the array being empty again
2013-04-22 17:24:31 -04:00
Mike Bayer
9731e06b38
merge default
2013-04-22 17:08:11 -04:00
Mike Bayer
d2f8c83e25
- change to [ticket:2681], pre-coerce the array to list
...
unconditonally instead so that it works in all cases.
2013-04-22 17:08:02 -04:00
Mike Bayer
f8f0c562ea
merge default
2013-04-22 16:57:54 -04:00
Mike Bayer
422f471871
The operators for the Postgresql ARRAY type supports
...
input types of sets, generators, etc. but only when a dimension
is specified for the ARRAY; otherwise, the dialect
needs to peek inside of "arr[0]" to guess how many
dimensions are in use. If this occurs with a non
list/tuple type, the error message is now informative
and directs to specify a dimension for the ARRAY.
[ticket:2681]
2013-04-22 16:57:15 -04:00
Mike Bayer
e79fd50e58
- changelog
...
- just do a fetchone() here, no need for len() etc.
2013-04-21 17:23:03 -04:00
Mike Bayer
e4c50c07bb
merge cymysql branch
2013-04-21 17:19:07 -04:00
Mike Bayer
3aff498e4a
merge into cymysql branch...
2013-04-21 17:18:49 -04:00
Mike Bayer
4f510c2947
merge default
2013-04-21 17:10:01 -04:00
Mike Bayer
23c744b54e
- Improvements to the operation of the pymysql dialect on
...
Python 3, including some important decode/bytes steps.
Issues remain with BLOB types due to driver issues.
Courtesy Ben Trofatter.
- start using util.py3k, we will eventually remove the
sa2to3 fixer entirely
2013-04-21 17:09:45 -04:00
Mike Bayer
d5af821b5d
Merged in bentrofatter/sqlalchemy-2663 (pull request #49 )
...
Fixed PyMySQL problems for Python 2.x and mitigated some issues with Python 3.x
2013-04-21 16:58:55 -04:00
Mike Bayer
ea59a2cada
- merge default
2013-04-21 11:48:01 -04:00
Mike Bayer
b5ab6d4107
- identify [ticket:2710] as a regression from [ticket:2229], doesn't
...
need to be in 0.7.
2013-04-21 11:47:43 -04:00
Mike Bayer
3a536ad1ba
Fixed bug where many-to-many relationship with uselist=False
...
would fail to delete the association row and raise an error
if the scalar attribute were set to None. Also in 0.7.11.
[ticket:2710]
2013-04-21 11:31:29 -04:00
Mike Bayer
a6906cd0a9
- remove lots of old tests here that are covered
...
elsewhere, cleanup
2013-04-21 11:09:51 -04:00