Skip to content

Commit 5c9dcf2

Browse files
committed
log signature needs kw for async
1 parent 19555d5 commit 5c9dcf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arjdbc/abstract/core.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def extract_raw_bind_values(binds)
6666
end
6767

6868
# this version of log() automatically fills type_casted_binds from binds if necessary
69-
def log(sql, name = "SQL", binds = [], type_casted_binds = [], statement_name = nil)
69+
def log(sql, name = "SQL", binds = [], type_casted_binds = [], statement_name = nil, async: false)
7070
if binds.any? && (type_casted_binds.nil? || type_casted_binds.empty?)
7171
type_casted_binds = ->{ extract_raw_bind_values(binds) }
7272
end

0 commit comments

Comments
 (0)