[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kexi/D15438] src/plugins/reports: Add missing params for generateSelectStatement
From:       Jaroslaw Staniek <null () kde ! org>
Date:       2018-09-12 8:40:02
Message-ID: E1g00gs-0005gH-0E () code ! kde ! org
[Download RAW message or body]

Git commit 08fe42aca0237a1ce7698782ed5a309891987f56 by Jaroslaw Staniek.
Committed on 11/09/2018 at 22:31.
Pushed by staniek into branch 'D15438'.

Add missing params for generateSelectStatement

M  +2    -2    src/plugins/reports/KexiDBReportDataSource.cpp

https://commits.kde.org/kexi/08fe42aca0237a1ce7698782ed5a309891987f56

diff --git a/src/plugins/reports/KexiDBReportDataSource.cpp \
b/src/plugins/reports/KexiDBReportDataSource.cpp index 4bea737ad..0ca76bd30 100644
--- a/src/plugins/reports/KexiDBReportDataSource.cpp
+++ b/src/plugins/reports/KexiDBReportDataSource.cpp
@@ -186,7 +186,7 @@ bool KexiDBReportDataSource::getSchema(const QString& pluginId)
         if (d->originalSchema) {
             const KDbNativeStatementBuilder builder(d->tempData->connection(), \
KDb::DriverEscaping);  KDbEscapedString sql;
-            if (builder.generateSelectStatement(&sql, d->originalSchema)) {
+            if (builder.generateSelectStatement(&sql, d->originalSchema, \
d->currentParams)) {  qDebug() << "Original:" << sql;
             } else {
                 qDebug() << "Original: ERROR";
@@ -196,7 +196,7 @@ bool KexiDBReportDataSource::getSchema(const QString& pluginId)
 
             d->copySchema = new KDbQuerySchema(*d->originalSchema, \
                d->tempData->connection());
             qDebug() << KDbConnectionAndQuerySchema(d->tempData->connection(), \
                *d->copySchema);
-            if (builder.generateSelectStatement(&d->schemaSql, d->copySchema)) {
+            if (builder.generateSelectStatement(&d->schemaSql, d->copySchema, \
d->currentParams)) {  qDebug() << "Copy:" << d->schemaSql;
             } else {
                 qDebug() << "Copy: ERROR";


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic