1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

* Show QSqlError's number() when a query fails.

This commit is contained in:
Christian Muehlhaeuser 2013-05-21 14:56:29 +02:00
parent 9a18f6c607
commit 25a210a528

View File

@ -149,6 +149,7 @@ TomahawkSqlQuery::showError()
tLog() << endl << "*** DATABASE ERROR ***" << endl
<< lastQuery() << endl
<< "boundValues:" << boundValues() << endl
<< lastError().number() << endl
<< lastError().text() << endl
<< lastError().databaseText() << endl;