Skip to content

Commit b4f0ab2

Browse files
committed
log async queries
1 parent 2bdccc6 commit b4f0ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_record/connection_adapters/sqlserver/database_statements.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def identity_columns(table_name)
409409
# === SQLServer Specific (Selecting) ============================ #
410410

411411
def raw_select(sql, name = "SQL", binds = [], options = {})
412-
log(sql, name, binds) { _raw_select(sql, options) }
412+
log(sql, name, binds, async: options[:async]) { _raw_select(sql, options) }
413413
end
414414

415415
def _raw_select(sql, options = {})

0 commit comments

Comments
 (0)