Never set integer primary key fields to empty string · jackyspeed/sqlitebrowser@eddeb78 · GitHub
Skip to content

Commit eddeb78

Browse files
committed
Never set integer primary key fields to empty string
Don't attempt to set an INTEGER PRIMARY KEY field to an empty string as it will always result in a 'datatype mismatch' error by SQLite. Instead set it to '0'. See issue sqlitebrowser#859.
1 parent 8533433 commit eddeb78

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎src/sqlitetablemodel.cpp‎

Lines changed: 13 additions & 0 deletions

0 commit comments

Comments
 (0)