Skip to content

Instantly share code, notes, and snippets.

View balsano-opower's full-sized avatar

Rick Balsano balsano-opower

  • Opower
View GitHub Profile
@balsano-opower
balsano-opower / pt-online-schema-change.diff
Created May 1, 2014 20:04
Proposed code to implement foreign-key-search-schemas option
diff --git a/bin/pt-online-schema-change b/bin/pt-online-schema-change
index 84063c6..cf2659c 100755
--- a/bin/pt-online-schema-change
+++ b/bin/pt-online-schema-change
@@ -7796,6 +7796,8 @@ sub main {
$o->set('drop-old-table', 0);
}
+ my $search_schema = $o->get('foreign-key-search-schemas');
+