Skip to content

Commit

Permalink
Update src/providers/hana/qgshanaconnection.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
stefanuhrig and m-kuhn committed Jan 23, 2021
1 parent 5706fa7 commit 23bfee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/hana/qgshanaconnection.cpp
Expand Up @@ -762,7 +762,7 @@ QgsHanaResultSetRef QgsHanaConnection::getColumns( const QString &schemaName, co

bool QgsHanaConnection::isTable( const QString &schemaName, const QString &tableName )
{
QString sql = "SELECT COUNT(*) FROM SYS.TABLES WHERE SCHEMA_NAME = ? AND TABLE_NAME = ?";
QString sql = QStringLiteral( "SELECT COUNT(*) FROM SYS.TABLES WHERE SCHEMA_NAME = ? AND TABLE_NAME = ?" );
return executeCountQuery( sql, {schemaName, tableName } ) == 1;
}

Expand Down

0 comments on commit 23bfee4

Please sign in to comment.