Bug 252841

Summary: Crash during SaveAs Database (MySQL only)
Product: [Applications] kmymoney Reporter: Tony B <tonyb.sfkde>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 4.5   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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.