FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Default value not working correctly · Issue #97 · sqlitebrowser/sqlitebrowser · GitHub

Default value not working correctly #97

Description

This interesting bug (in latest master) was reported by email:

CREATE TABLE sometable (id INTEGER PRIMARY KEY,
somefield TEXT,
somefield2 INTEGER NOT NULL DEFAULT 6, /*stopped*/
somefield3 TEXT);

"sometable" is created, but when new rows are added they have 0 in the somefield2 column instead of 6.

Tested it myself on newly compiled master, and it's definitely happening there.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed bugs or reports that are very likely to be bugs.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL