github sqlalchemy/sqlalchemy rel_1_2_14


Released: November 10, 2018

  • [bug] [orm] Fixed bug in Session.bulk_update_mappings() where alternate mapped
    attribute names would result in the primary key column of the UPDATE
    statement being included in the SET clause, as well as the WHERE clause;
    while usually harmless, for SQL Server this can raise an error due to the
    IDENTITY column. This is a continuation of the same bug that was fixed in
    #3849, where testing was insufficient to catch this additional

    References: #4357

  • [bug] [mysql] Fixed regression caused by #4344 released in 1.2.13, where the fix
    for MySQL 8.0's case sensitivity problem with referenced column names when
    reflecting foreign key referents is worked around using the
    information_schema.columns view. The workaround was failing on OSX /
    lower_case_table_names=2 which produces non-matching casing for the
    information_schema.columns vs. that of SHOW CREATE TABLE, so in
    case-insensitive SQL modes case-insensitive matching is now used.

    References: #4361

  • [bug] [orm] Fixed a minor performance issue which could in some cases add unnecessary
    overhead to result fetching, involving the use of ORM columns and entities
    that include those same columns at the same time within a query. The issue
    has to do with hash / eq overhead when referring to the column in different

    References: #4347

latest releases: rel_1_3_20, rel_1_3_19, rel_1_3_18...
13 months ago