[MDEV-12095] Option to map 0 to NULL for foreign keys Created: 2017-02-20 Updated: 2017-02-20 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Olaf van der Spek | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
It's probably controversial, but wouldn't (some) things be simpler if 0 could be considered NULL for foreign key constraints? Extra bits to store NULL wouldn't be required and application code wouldn't have to be specialized for NULL either. |