mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
* Show QSqlError's number() when a query fails.
This commit is contained in:
@@ -149,6 +149,7 @@ TomahawkSqlQuery::showError()
|
|||||||
tLog() << endl << "*** DATABASE ERROR ***" << endl
|
tLog() << endl << "*** DATABASE ERROR ***" << endl
|
||||||
<< lastQuery() << endl
|
<< lastQuery() << endl
|
||||||
<< "boundValues:" << boundValues() << endl
|
<< "boundValues:" << boundValues() << endl
|
||||||
|
<< lastError().number() << endl
|
||||||
<< lastError().text() << endl
|
<< lastError().text() << endl
|
||||||
<< lastError().databaseText() << endl;
|
<< lastError().databaseText() << endl;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user