lib/arql/mysqldump.rb in arql-0.3.31 vs lib/arql/mysqldump.rb in arql-0.4.0
- old
+ new
@@ -1,9 +1,8 @@
module Arql
class Mysqldump
def initialize(options = nil)
- options ||= App.connect_options
@options = options
if options[:socket]
port_or_sock = "-S #{options[:socket]}"
else
port_or_sock = "-P #{options[:port] || 3306}"