Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.4.10.beta #31

Merged
merged 3 commits into from Nov 11, 2014
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -59,7 +59,7 @@ def migrate0(options = {})
buf = StringIO.new

callback = proc do |sql, name|
buf.puts sql if sql =~ /\A(CREATE|ALTER|DROP)\b/i
buf.puts sql if sql =~ /\A(CREATE|ALTER|DROP|RENAME)\b/i
end

Ridgepole::ExecuteExpander.without_operation(callback) do
@@ -31,7 +31,11 @@ def execute_with_noop(sql, name = nil)
end

if sql =~ /\A(SELECT|SHOW)\b/i
execute_without_noop(sql, name)
begin
execute_without_noop(sql, name)
rescue => e
Stub.new
end
else
Stub.new
end
@@ -1,3 +1,3 @@
module Ridgepole
VERSION = '0.4.9'
VERSION = '0.4.10.beta'
end
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.