[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/plugins/queries
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2004-07-23 18:06:29
Message-ID: 20040723180629.75F2F12661 () office ! kde ! org
[Download RAW message or body]
CVS commit by staniek:
Query Designer
- KexiQueryView: shows error on failed execution
M +2 -4 kexiqueryview.cpp 1.10
--- koffice/kexi/plugins/queries/kexiqueryview.cpp #1.9:1.10
@@ -31,7 +31,4 @@ KexiQueryView::KexiQueryView(KexiMainWin
{
tableView()->setInsertingEnabled(false); //default
-
-// bool c = false;
-// afterSwitchFrom(0, c);
}
@@ -46,5 +43,6 @@ bool KexiQueryView::executeQuery(KexiDB:
KexiDB::Cursor *rec = \
mainWin()->project()->dbConnection()->executeQuery(*query); if (!rec) {
- //todo: error
+ parentDialog()->setStatus(i18n("Query executing failed."), \
parentDialog()->mainWin()->project()->dbConnection()->errorMsg()); + \
//todo: also provide server result and sql statement return false;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic