Skip to content

Add get_lock() and key_column_usage table#1437

Merged
shenli merged 5 commits intomasterfrom
shenli/get-lock
Jul 13, 2016
Merged

Add get_lock() and key_column_usage table#1437
shenli merged 5 commits intomasterfrom
shenli/get-lock

Conversation

@shenli
Copy link
Copy Markdown
Member

@shenli shenli commented Jul 13, 2016

Make Ruby ActiveRecord::Migration happy.
@coocood @zimulala
Fix: #1421

shenli added 2 commits July 12, 2016 17:41
Parsed but ignored. This is used for Ruby's activerecord migrations.
Comment thread evaluator/builtin.go Outdated
// get_lock() and release_lock() is parsed but do nothing.
// It is used for preventing error in Ruby's activerecord migrations.
"get_lock": {builtinLock, 2, 2},
"release_lock": {builtinLock, 1, 1},
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Define a 'builtinReleaseLock' is cleaner, even if it does nothing.

@shenli
Copy link
Copy Markdown
Member Author

shenli commented Jul 13, 2016

@coocood PTAL

@coocood
Copy link
Copy Markdown
Member

coocood commented Jul 13, 2016

LGTM

1 similar comment
@zimulala
Copy link
Copy Markdown
Contributor

LGTM

@shenli shenli merged commit d4f85c8 into master Jul 13, 2016
@shenli shenli deleted the shenli/get-lock branch July 13, 2016 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants