initialize @active early on to prevent warnings later

This commit is contained in:
Brian Lopez 2010-08-03 20:45:00 -07:00
parent c0cf2f13a0
commit 923393351a

View File

@ -10,6 +10,7 @@ module Mysql2
def initialize(opts = {})
@query_options = @@default_query_options.dup
@active = false
init_connection