summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Unicode support for psycopg2 native hstore implementationpr/2Dmitry Mugtasimov2013-05-281-1/+2
|
* fix this testMike Bayer2013-05-261-1/+1
|
* Merge pull request #1 from cjw296/small-fixesmike bayer2013-05-262-3/+3
|\ | | | | Small fixes
| * Show the conflicting column in the warning!Chris Withers2013-05-261-2/+2
| |
| * fix incorrect method nameChris Withers2013-05-261-1/+1
| |
* | - fixing AbstractConcreteBase import in docstring, [ticket:2717]Diana Clarke2013-05-261-1/+1
|/
* Fixed a bug where the routine to detect the correct kwargsMike Bayer2013-05-231-24/+22
| | | | | | being sent to :func:`.create_engine` would fail in some cases, such as with the Sybase dialect. [ticket:2732]
* Regression from this ticket caused the unsupported keywordMike Bayer2013-05-151-0/+6
| | | | | | "true" to render, added logic to convert this to 1/0 for SQL server. [ticket:2682]
* Fixed a regression from 0.7 caused by this ticket, whichMike Bayer2013-05-131-1/+8
| | | | | | | | 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]
* - moderinzed the docs for the foreign_keys parameter a bit,Mike Bayer2013-05-101-20/+53
| | | | [ticket:2725]
* - Fixed a regression from 0.7 where the contextmanager featureMike Bayer2013-04-301-3/+4
| | | | | | | of :meth:`.Session.begin_nested` would fail to correctly roll back the transaction when a flush error occurred, instead raising its own exception while leaving the session still pending a rollback. [ticket:2718]
* bumpMike Bayer2013-04-291-1/+1
|
* Updated mysqlconnector dialect to check for disconnect basedMike Bayer2013-04-291-1/+2
| | | | | on the apparent string message sent in the exception; tested against mysqlconnector 1.0.9.
* - fix long-outdated documentation for sql_mode/ansiquotes,Mike Bayer2013-04-291-26/+15
| | | | closes [ticket:1552]
* - add documentation note for [ticket:1841]Mike Bayer2013-04-271-1/+3
|
* oracle doesn't have TRUE/FALSE, put 1/0 here, see how that goesMike Bayer2013-04-261-0/+6
|
* need to test for (list, tuple) here and not hasattr("__iter__")Mike Bayer2013-04-261-1/+4
| | | | since Py3K strings have __iter__
* fix here, was only failing in the py3k versionMike Bayer2013-04-261-1/+1
|
* Fixes to the ``sqlalchemy.ext.serializer`` extension, includingMike Bayer2013-04-262-4/+16
| | | | | | | 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.
* - further cleanup. in particular, the left clause is never None. But we stillMike Bayer2013-04-251-24/+12
| | | | can have errors when we do the auto-join, these are both covered in test_joins
* we can always adapt to right also. suppose if rightMike Bayer2013-04-251-5/+1
| | | | were an alias of a table, should add tests for that.
* heh dont need that eitherMike Bayer2013-04-251-7/+1
|
* dont need thisMike Bayer2013-04-251-6/+0
|
* cleanupMike Bayer2013-04-252-58/+15
|
* everything passes with this!!!!!!! holy crap !!!!! and its the simplest of allMike Bayer2013-04-253-60/+84
|
* - attempt to replace the whole idea of "join_to_left" with a moreMike Bayer2013-04-242-36/+24
| | | | | fundamental and general purpose heuristic. this initial approach has about 60 tests failing but seems to have gone pretty far
* - merge exists() patch + changelogMike Bayer2013-04-231-0/+20
|\
| * adding convenience method exists() to Query (see # 2673)Diana Clarke2013-03-291-0/+20
| |
* | Added a conditional to the unpickling process for ORMMike Bayer2013-04-231-1/+2
| | | | | | | | | | | | | | 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.
* | - only search in the exception before the first newline, to avoidMike Bayer2013-04-231-2/+3
| | | | | | | | false positives for SQL statements containing certain text
* | Opened up the checking for "disconnect" with psycopg2/libpqMike Bayer2013-04-221-18/+21
| | | | | | | | | | | | | | | | 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]
* | Fully implemented the IS and IS NOT operators withMike Bayer2013-04-221-12/+34
| | | | | | | | | | | | | | | | | | | | 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]
* | tweak this some more to handle the array being empty againMike Bayer2013-04-221-5/+3
| |
* | - change to [ticket:2681], pre-coerce the array to listMike Bayer2013-04-221-16/+6
| | | | | | | | unconditonally instead so that it works in all cases.
* | The operators for the Postgresql ARRAY type supportsMike Bayer2013-04-221-1/+13
| | | | | | | | | | | | | | | | | | | | 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]
* | - changelogMike Bayer2013-04-211-1/+1
| | | | | | | | - just do a fetchone() here, no need for len() etc.
* | merge cymysql branchMike Bayer2013-04-212-1/+2
|\ \
| * \ merge from defaultHajime Nakagami2013-04-2013-81/+132
| |\ \
| * | | mysql+cymysql dialect supports_sane_rowcount = FalseHajime Nakagami2013-04-131-0/+1
| | | |
| * | | a bit revertHajime Nakagami2013-04-131-8/+0
| | | |
| * | | merge from defaultHajime Nakagami2013-04-1310-54/+109
| |\ \ \
| * | | | select not return rowcount at mysql+cymysqlHajime Nakagami2013-04-061-1/+1
| | | | |
| * | | | merge from defaultHajime Nakagami2013-04-0639-318/+376
| |\ \ \ \
| * \ \ \ \ merge from defaultHajime Nakagami2013-03-077-101/+152
| |\ \ \ \ \
| * | | | | | do_execute() hook in cymysql dialectHajime Nakagami2013-03-071-0/+8
| | | | | | |
* | | | | | | - Improvements to the operation of the pymysql dialect onMike Bayer2013-04-212-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Merged in bentrofatter/sqlalchemy-2663 (pull request #49)Mike Bayer2013-04-212-0/+17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fixed PyMySQL problems for Python 2.x and mitigated some issues with Python 3.x
| * | | | | | | Added workaround for pymysql3 double wrapping ProgrammingErrors to pymysql ↵Ben Trofatter2013-03-182-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dialect. Added workaround for pymysql3 return a bytes object when queried for isolation level.
* | | | | | | | Fixed bug where many-to-many relationship with uselist=FalseMike Bayer2013-04-211-3/+7
| |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
* | | | | | | - dont do a boolean check on the mapped objectMike Bayer2013-04-201-1/+1
| | | | | | |