Skip to content

Commit

Permalink
Merge pull request #33 from ActianCorp/hab6-fix-params-append
Browse files Browse the repository at this point in the history
Fix tuple append
  • Loading branch information
clach04 authored Feb 20, 2024
2 parents f28153a + 1c26209 commit 1be79a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sqlalchemy_ingres/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def get_view_definition(self, connection, view_name, schema=None, **kw):
if schema:
sqltext += """
AND table_owner = ?"""
params(*params, self.denormalize_name(schema))
params = (*params, self.denormalize_name(schema))
else:
sqltext += """
AND table_owner != '$ingres'"""
Expand Down Expand Up @@ -596,7 +596,7 @@ def get_indexes(self, connection, table_name, schema=None, **kw):
if schema:
sqltext += """
AND i.index_owner = ?"""
params(*params, self.denormalize_name(schema))
params = (*params, self.denormalize_name(schema))

sqltext += """
ORDER BY
Expand Down

0 comments on commit 1be79a4

Please sign in to comment.