Changes between Initial Version and Version 2 of Ticket #13293


Ignore:
Timestamp:
Apr 8, 2010, 5:57:50 AM (15 years ago)
Author:
Ramiro Morales
Comment:

(reformatted description)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13293

    • Property Has patch set
    • Property Keywords MySQL added
    • Property Summary r12900 breaks extra() with additional select clausesr12900 breaks extra() with additional select clauses (Only applies to MySQL SQLCompiler)
  • Ticket #13293 – Description

    initial v2  
    1111Note that this bug only manifests itself under the following conditions:
    1212
    13 1. The first model field is an AutoField
    14 2. The second field is a (Null)?BooleanField
    15 3. The retrieved model has a PK of 1L (0L would also work, but auto incrementing primary key fields never have a value of 0L)
     13 1. The first model field is an AutoField
     14 2. The second field is a (Null)?BooleanField
     15 3. The retrieved model has a PK of 1L (0L would also work, but auto incrementing primary key fields never have a value of 0L)
    1616
    1717The resulting model instance has True instead of 1L as its PK.
Back to Top