Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/reports/KexiDBReportDataSource.cpp
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Line(s) | 112 | { | |||
---|---|---|---|---|---|
114 | { | 114 | { | ||
115 | if ( d->objectName.isEmpty() ) | 115 | if ( d->objectName.isEmpty() ) | ||
116 | { | 116 | { | ||
117 | return false; | 117 | return false; | ||
118 | } | 118 | } | ||
119 | else if ( d->copySchema) | 119 | else if ( d->copySchema) | ||
120 | { | 120 | { | ||
121 | qDebug() << "Opening cursor.." << *d->copySchema; | 121 | qDebug() << "Opening cursor.." << *d->copySchema; | ||
122 | d->cursor = d->connection->executeQuery ( d->copySchema, 1 ); | 122 | d->cursor = d->connection->executeQuery(d->copySchema, KDbCursor::Option::Buffered); | ||
123 | } | 123 | } | ||
124 | 124 | | |||
125 | 125 | | |||
126 | if ( d->cursor ) | 126 | if ( d->cursor ) | ||
127 | { | 127 | { | ||
128 | qDebug() << "Moving to first record.."; | 128 | qDebug() << "Moving to first record.."; | ||
129 | return d->cursor->moveFirst(); | 129 | return d->cursor->moveFirst(); | ||
130 | } | 130 | } | ||
▲ Show 20 Lines • Show All 290 Lines • Show Last 20 Lines |