Skip to content

Commit 1dde3ca

Browse files
committed
Fix SQL translation
1 parent a853a97 commit 1dde3ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/panorama_connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ def self.sql_select_one(sql, query_name: 'sql_select_one', convert_tz: true)
689689

690690
def self.sql_execute(sql, query_name = 'sql_execute')
691691
# raise 'binds are not yet supported for sql_execute' if sql.class != String
692-
stmt, binds = sql_prepare_binds(transformed_sql) # Transform SQL and split SQL and binds
692+
stmt, binds = sql_prepare_binds(sql) # Transform SQL and split SQL and binds
693693
sql_execute_native(sql: stmt, binds: binds, query_name: query_name)
694694
end
695695

0 commit comments

Comments
 (0)