| Summary: | Akonadi server cannot create database in external mysql | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] Akonadi | Reporter: | Robin Atwood <robin.atwood> |
| Component: | server | Assignee: | Volker Krause <vkrause> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | matej, robin.atwood |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Robin Atwood
2009-05-22 16:03:13 UTC
SVN commit 1044718 by vkrause: Create the database if it's not there yet when using an external MySQL server. BUG: 193644 M +33 -1 akonadi.cpp M +1 -0 akonadi.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1044718 No no no, the patch is incorrect!
It adds following line: if ( !query.exec( QLatin1String( "CREATE DATABASE akonadi" ) ) ) {
How do you know that the database should be names "akonadi"? It this the default, but user may have configured it to another name, especially when using extrenal MySQL database.
I cannot reopen the bug. If this gets unnoticed because the bug is closed, I will open a new one.
|