[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: 2006-02-18 0:00:41
Message-ID: 1140220841.976549.18874.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 510765 by staniek:
Query Designer
- fixed crash on saving new query design
M +2 -1 kexiquerydesignerguieditor.cpp
--- trunk/koffice/kexi/plugins/queries/kexiquerydesignerguieditor.cpp #510764:510765
@@ -963,7 +963,8 @@
// Save SQL without driver-escaped keywords.
KexiDB::Connection* dbConn = mainWin()->project()->dbConnection();
- dbConn->setQuerySchemaObsolete( m_dialog->schemaData()->name() );
+ if (m_dialog->schemaData()) //set this instance as obsolete (only if it's stored)
+ dbConn->setQuerySchemaObsolete( m_dialog->schemaData()->name() );
QString sqlText = dbConn->selectStatement(
*temp->query(), KexiDB::Driver::EscapeKexi|KexiDB::Driver::EscapeAsNecessary );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic