Skip to content

Commit f41050e

Browse files
committed
make sure constructor options get merged onto query_options
1 parent 8cb3877 commit f41050e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/mysql2/client.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class Client
1515

1616
def initialize(opts = {})
1717
@query_options = @@default_query_options.dup
18+
@query_options.merge! opts
1819

1920
init_connection
2021

0 commit comments

Comments
 (0)