Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/lib/jdbc_adapter/jdbc_mysql.rb b/lib/jdbc_adapter/jdbc_mysql.rb
- index 4bce0bb..3f6f554 100644
- --- a/lib/jdbc_adapter/jdbc_mysql.rb
- +++ b/lib/jdbc_adapter/jdbc_mysql.rb
- @@ -17,7 +17,7 @@ module ::JdbcSpec
- else
- config[:url] = "jdbc:mysql://#{config[:host]}:#{config[:port]}/#{config[:database]}?#{url_options}"
- end
- - config[:driver] = "com.mysql.jdbc.Driver"
- + config[:driver] ||= "com.mysql.jdbc.Driver"
- connection = jdbc_connection(config)
- ::JdbcSpec::MySQL.kill_cancel_timer(connection.raw_connection)
- connection
Add Comment
Please, Sign In to add comment