initialize @active early on to prevent warnings later
This commit is contained in:
parent
c0cf2f13a0
commit
923393351a
@ -10,6 +10,7 @@ module Mysql2
|
|||||||
|
|
||||||
def initialize(opts = {})
|
def initialize(opts = {})
|
||||||
@query_options = @@default_query_options.dup
|
@query_options = @@default_query_options.dup
|
||||||
|
@active = false
|
||||||
|
|
||||||
init_connection
|
init_connection
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user