Bug 252841 - Crash during SaveAs Database (MySQL only)
Summary: Crash during SaveAs Database (MySQL only)
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-30 11:16 UTC by Tony B
Modified: 2011-01-14 14:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony B 2010-09-30 11:16:45 UTC
Version:           4.5 (using KDE 4.4.4) 
OS:                Linux

Due to a bug in some versions of the Qt4 MySQL driver (http://bugreports.qt.nokia.com/browse/QTBUG-11935), SaveAs Database will crash if there is already another MySQL KMyMoney database existing under a different name.

This problem does not afflict Postgre or Sqlite databases.

Reproducible: Always

Steps to Reproduce:
Store a MySQL database; try to SaveAs Database under a different name

Actual Results:  
KMM crashes

Expected Results:  
Second database stored

Avoidance:
1. Backup the existing database using mysqldump, and remove it from MySQL.
2. Rerun the SaveAs Database for the second database
3. Restore the first database from the backup
Comment 1 Tony B 2010-09-30 11:17:32 UTC
I have an idea for a fix.
Comment 2 Thomas Baumgart 2011-01-13 15:18:19 UTC
What happened to the idea of the fix?
Comment 3 Tony B 2011-01-14 14:34:50 UTC
Fixed in SVN 7 Oct 2010.