Bug 242519

Summary: Akonadi incorrectly creates database on external MySQL server
Product: [Frameworks and Libraries] Akonadi Reporter: Matěj Laitl <matej>
Component: serverAssignee: Volker Krause <vkrause>
Status: RESOLVED FIXED    
Severity: normal CC: kdepim-bugs
Priority: NOR    
Version: 4.4   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Matěj Laitl 2010-06-22 21:23:18 UTC
Version:           4.4 (using KDE 4.4.4) 
OS:                Linux

When fixing bug 193644, another bug was introduced. When initially creating database on external MySQL server, akonadi tries to create database named "akonadi" instead of user-specified database name.

The bug lies in akonadi/server/src/akonadi.cpp line 276.

Reproducible: Always

Steps to Reproduce:
1. setup akonadi to use external MySQL
2. change database name to something other than default
3. start akonadi

Actual Results:  
Akonadi tries to create database named "akonadi", ignoring user-specified database name

Expected Results:  
Akanadi should respect user-specified db name when configuring database
Comment 1 Volker Krause 2010-09-10 17:48:42 UTC
SVN commit 1173855 by vkrause:

Don't hardcode database name but use whatever is in the configuration.

BUG: 242519


 M  +1 -1      akonadi.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1173855