Commits

Show all
Author Commit Message Labels Comments Date
Sheila Allen
Setting default bindmethod to BIND_USING_SQLTYPE, since this should provide better type conversion performance.
Sheila Allen
Added decimalformat binding ( I thought this was committed earlier)
Sheila Allen
corrected import statements forgotten on prior commit
Sheila Allen
Disabling tests for mssql+mxodbc where mxODBC cursor.execute chokes on invalid placement of bind parameter "?" within the SQL statement.
Sheila Allen
Fixes to pass numeric tests; now by default, the mxodbc connector natively returns Python Decimal data types from columns of type SQL.NUMERIC or SQL.DECIMAL
Sheila Allen
Added module docstring for mxodbc connector
Sheila Allen
removed junk pdb.set_trace()
Sheila Allen
Removed custom do_execute which called cursor.executedirect, after discussion with eGenix and zzzeek. Even though more tests pass with executedirect, it is not appropriate for default usage because it does not issue prepare statements to the db, and it forces Python type binding. The executedirect method should only be called when the API user specifically requests it for special case performance reasons.
Mike Bayer
cx_oracle adjust
Mike Bayer
adjustment for pysybase
Mike Bayer
turning the decimals to floats allows the E notation to work with sybase+pyodbc for small E notations
Mike Bayer
- moved most Decimal bind/result handling into types.py, out of sqlite, mysql dialects. - added an explicit test for [ticket:1216] - some questions remain about MSSQL - would like to simplify/remove bind handling for numerics
Mike Bayer
some ms fixes
Mike Bayer
latex can't handle the rowspans. pdf still cuts off the table and looks like crap but at least it builds.
Mike Bayer
if anybody complains that they didn't know it was called "relation" in 0.5, why..I'll eat my hat !
Mike Bayer
add a synonym for RelationProperty -> RelationshipProperty too
Mike Bayer
- The official name for the relation() function is now relationship(), to eliminate confusion over the relational algebra term. relation() however will remain available in equal capacity for the foreseeable future. [ticket:1740]
Mike Bayer
working through syb capabilities
Mike Bayer
- pyodbc can do *some* unicode with sybase, python-sybase not at all. Since python-sybase source code seems to be all from 2001 with no updates, making pyodbc the default driver.
Mike Bayer
- added pyodbc for sybase driver. - generalized the "freetds" / "unicode statements" behavior of MS-SQL/pyodbc into the base Pyodbc connector, as this seems to apply to Sybase as well. - generalized the python-sybase "use autocommit for DDL" into the pyodbc connector. With pyodbc, the "autocommit" flag on connection is used, as Pyodbc seems to have more database conversation than python-sybase that can't otherwise be suppressed. …
Mike Bayer
- mxodbc can use default execute() call - modified SQLCompiler to support rendering of bind parameters as literal inline strings for specific sections, if specified by the compiler subclass, using either literal_binds=True passed to process() or any visit method, or by setting to False the "binds_in_columns_clause" flag for SQL-92 compatible columns clauses.. The compiler subclass is responsible for implementing the literal quoting fun…
Mike Bayer
- basic sybase+pyodbc support. in particular this will impact freetds detection for MS-SQL as well.
Michael Trier
Changed OurSQL to use supports_unicode_binds and supports_unicode_statements.
Mike Bayer
- The except_() method now renders as MINUS on Oracle, which is more or less equivalent on that platform. [ticket:1712]
Mike Bayer
- Fixed bug which caused "row switch" logic, that is an INSERT and DELETE replaced by an UPDATE, to fail when version_id_col was in use. [ticket:1692] - Added "version_id_generator" argument to Mapper, this is a callable that, given the current value of the "version_id_col", returns the next version number. Can be used for alternate versioning schemes such as uuid, timestamps. [ticket:1692]
Mike Bayer
- added test for #1737 - the fix from r502f1a4f92d5 broke another rare use case, one-to-one on a PK/FK combo which apparently enables use_get. fortunate that another test waiting in trac reveals this.
Mike Bayer
adjust mxodbc imports to dialect level
Sheila Allen
merged mainline default branch
Sheila Allen
using executemany instead of executedirect, which passes more tests than with plain execute. Later we need to define logic to determine when to call the normal execute.
Sheila Allen
whitespace fixes to improve readability (shortened excessively long lines, and one 5-space indentation block corrected to 4 spaces).
  1. Prev
  2. Next