forked from zzzeek/sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add some failure cases - [bug] Firebird now uses strict "ansi bind rules" so that bound parameters don't render in the columns clause of a statement - they render literally instead. - [bug] Support for passing datetime as date when using the DateTime type with Firebird; other dialects support this.
- Loading branch information
Showing
9 changed files
with
78 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -402,16 +402,6 @@ def test_populate_existing(self): | |
assert u.addresses[0].email_address == '[email protected]' | ||
assert u.orders[1].items[2].description == 'item 5' | ||
|
||
@testing.fails_on_everything_except('sqlite', '+pyodbc', '+zxjdbc', 'mysql+oursql') | ||
def test_query_str(self): | ||
User = self.classes.User | ||
|
||
s = create_session() | ||
q = s.query(User).filter(User.id==1) | ||
eq_( | ||
str(q).replace('\n',''), | ||
'SELECT users.id AS users_id, users.name AS users_name FROM users WHERE users.id = ?' | ||
) | ||
|
||
class InvalidGenerationsTest(QueryTest, AssertsCompiledSQL): | ||
def test_no_limit_offset(self): | ||
|
@@ -1499,7 +1489,7 @@ def test_union_mapped_colnames_preserved_across_subquery(self): | |
) | ||
|
||
|
||
@testing.fails_on('mysql', "mysql doesn't support intersect") | ||
@testing.requires.intersect | ||
def test_intersect(self): | ||
User = self.classes.User | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters