Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Import database fails when fields have a text default #4082

@bartnab

Description

@bartnab

Details for the issue

What did you do?

I exported a corrupt database and tried to import it.

What did you expect to see?

A working database.

What did you see instead?

It crashed. I think the issue is that the exported default value is an unquoted text string. This isn't recognised during the import and is interpreted as a sql statement.

Useful extra information

DB4S v3.12.2 [built for x86_64-little_endian-llp64] on Windows 10 (10.0) (winnt/10.0.26200) [x86_64]
using SQLite Version 3.35.5
and Qt 5.12.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions