Summary: | Crash when compacting .kexi database | ||
---|---|---|---|
Product: | [Applications] KEXI | Reporter: | Harry Hall <vickyharryhall> |
Component: | Migration/Import/Export | Assignee: | Jarosław Staniek <staniek> |
Status: | CLOSED FIXED | ||
Severity: | major | ||
Priority: | NOR | ||
Version: | 2.4 beta6 (Calligra 2.4 beta6) | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.4 rc1 (Calligra 2.4 rc1) | |
Sentry Crash Report: |
Description
Harry Hall
2012-02-07 16:52:27 UTC
Hi, thanks for the report. Are you sure the data is corrupt also after you restart Kexi and reopen the file? I am asking because in case of failure, compacting leaves the .kexi file untouched. If there's corruption, could you create a simple .kexi file, corrupt it as you explained and attach here using 'the Add an attachment' link below? Thanks. I can confirm that compacting fails (but no corruption). Git commit 983553232e2d7976abf709a5208f37da42d74013 by Jaroslaw Staniek. Committed on 02/03/2012 at 01:41. Pushed by staniek into branch 'master'. kexi_sqlite3_dump will go there, based on fragments from SQLite's shell.c (from SQLite 3.7.10) A +2988 -0 kexi/kexidb/drivers/sqlite/dump/shell.c [License: Public Domain] http://commits.kde.org/calligra/983553232e2d7976abf709a5208f37da42d74013 Git commit 42ffb1c08d74b7776c3dba6990e154571aad6e44 by Jaroslaw Staniek. Committed on 02/03/2012 at 01:45. Pushed by staniek into branch 'master'. Ported database compacting code to the new Kexi that uses system SQLite KexiDB *SQLite Driver *Ported database compacting code to the new Kexi that uses system SQLite version DIGEST:Kexi switched to a new optimized SQLite database compacting tool M +4 -0 kexi/kexidb/drivers/sqlite/CMakeLists.txt A +9 -0 kexi/kexidb/drivers/sqlite/dump/CMakeLists.txt A +4 -0 kexi/kexidb/drivers/sqlite/dump/README A +50 -0 kexi/kexidb/drivers/sqlite/dump/main.cpp [License: LGPL (v2+)] M +160 -1 kexi/kexidb/drivers/sqlite/dump/shell.c M +1 -1 kexi/kexidb/drivers/sqlite/sqliteadmin.cpp M +92 -43 kexi/kexidb/drivers/sqlite/sqlitevacuum.cpp M +7 -4 kexi/kexidb/drivers/sqlite/sqlitevacuum.h http://commits.kde.org/calligra/42ffb1c08d74b7776c3dba6990e154571aad6e44 Git commit 15bbd11d16a4ff989a177324a405fb954809beb6 by Jaroslaw Staniek. Committed on 20/06/2012 at 22:35. Pushed by staniek into branch 'master'. predicate_sqlite3_dump, based on fragments from SQLite's shell.c (from SQLite 3.7.10) *(2012-03-02 calligra master commit 983553232e) A +2988 -0 Drivers/sqlite/dump/shell.c [License: Public Domain] http://commits.kde.org/predicate/15bbd11d16a4ff989a177324a405fb954809beb6 Git commit c3be35fea65e0a1b02c673805b8211ce39972b9c by Jaroslaw Staniek. Committed on 27/06/2012 at 00:16. Pushed by staniek into branch 'master'. Ported database compacting code to Predicate that uses system SQLite *(2012-02-02 calligra master commit 42ffb1c08d74b) M +18 -3 Drivers/sqlite/CMakeLists.txt M +10 -9 Drivers/sqlite/SqliteAdmin.cpp M +2 -1 Drivers/sqlite/SqliteAdmin.h A +28 -0 Drivers/sqlite/SqliteGlobal.h.cmake M +102 -51 Drivers/sqlite/SqliteVacuum.cpp M +10 -7 Drivers/sqlite/SqliteVacuum.h A +7 -0 Drivers/sqlite/dump/CMakeLists.txt A +4 -0 Drivers/sqlite/dump/README C +29 -16 Drivers/sqlite/dump/main.cpp [from: Drivers/sqlite/SqliteAdmin.h - 053% similarity] M +200 -39 Drivers/sqlite/dump/shell.c http://commits.kde.org/predicate/c3be35fea65e0a1b02c673805b8211ce39972b9c |