Skip to content
Snippets Groups Projects
Commit 00e2c358 authored by Jarosław Staniek's avatar Jarosław Staniek
Browse files

Kexi: Fix detection of primary key column on CSV import

BUG:351487
FIXED-IN:2.9.7

Also:
* fix updates of primary key detection when value of 'Start at line' changes
* simplify some code

Test Plan:
Attached to https://bugs.kde.org/show_bug.cgi?id=351487:
* mussweg_1.csv - test passed
* mussweg_2.csv - test showing error in row #22, details: https://bugs.kde.org/show_bug.cgi?id=351487#c5
* simple-err.csv - minimal test showing the bug (PK is detected); after the fix PK should not be detected

Reviewers: piggz

Subscribers: Kexi-Devel-list

Differential Revision: https://phabricator.kde.org/D267
parent edd766e3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment