Changeset View
Changeset View
Standalone View
Standalone View
src/drivers/xbase/XbaseConnection_p.cpp
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | |||||
158 | bool xBaseConnectionInternal::useDatabase(const QString &dbName) | 158 | bool xBaseConnectionInternal::useDatabase(const QString &dbName) | ||
159 | { | 159 | { | ||
160 | if ( !internalConn ) { | 160 | if ( !internalConn ) { | ||
161 | return false; | 161 | return false; | ||
162 | } | 162 | } | ||
163 | return internalConn->useDatabase(dbMap[dbName]); | 163 | return internalConn->useDatabase(dbMap[dbName]); | ||
164 | } | 164 | } | ||
165 | 165 | | |||
166 | bool xBaseConnectionInternal::executeSQL(const KDbEscapedString& sql) | 166 | bool xBaseConnectionInternal::executeSql(const KDbEscapedString& sql) | ||
167 | { | 167 | { | ||
168 | //xbaseDebug() << statement; | 168 | //xbaseDebug() << statement; | ||
169 | if ( !internalConn ) { | 169 | if ( !internalConn ) { | ||
170 | return false; | 170 | return false; | ||
171 | } | 171 | } | ||
172 | return internalConn->executeSQL(sql); | 172 | return internalConn->executeSql(sql); | ||
173 | } | 173 | } |