Opened 11 years ago
Closed 11 years ago
#21517 closed Cleanup/optimization (fixed)
Add unit test for non-autoincrement primary key with value 0 (zero)
Reported by: | Vajrasky Kok | Owned by: | Vajrasky Kok |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
This ticket is related with ticket #17713.
MySQL has the capability to use primary key with value 0 but only if the primary key is non-autoincrement. So this unit test exercises that capability.
Change History (2)
comment:1 by , 11 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
This is the PR: https://github.com/django/django/pull/1999