class WTOSC::PerconaCommand
Public Class Methods
new(command)
click to toggle source
# File lib/commands/percona_command.rb, line 3 def initialize(command) @command = command end
Public Instance Methods
call(e)
click to toggle source
# File lib/commands/percona_command.rb, line 7 def call(e) unless system @command + e.suppress raise PerconaError, 'Pt-osc aborted! check if pt-online-schema-change '\ "is installed. Or validate your query #{@command}" end end