Skip to content

Commit

Permalink
Add quoting of node numbers so EXECUTE ONLY ON is compatible with
Browse files Browse the repository at this point in the history
new handling of DDL
  • Loading branch information
Christopher Browne committed Nov 15, 2011
1 parent 0abe374 commit e6eb780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clustertest/regression/testddl/testddl.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function individual_ddl(coordinator, nodenum) {

premable = get_slonik_preamble();
slonikScript = 'EXECUTE SCRIPT(set id=1, FILENAME=\'regression/testddl/ddl_update_part2.sql\''
+ ' ,EVENT NODE=' + nodenum + ' ,EXECUTE ONLY ON = ' + nodenum +');';
+ ' ,EVENT NODE=' + nodenum + ' ,EXECUTE ONLY ON = \'' + nodenum +'\');';
run_slonik('update ddl',coordinator,preamble,slonikScript);

}
Expand Down

0 comments on commit e6eb780

Please sign in to comment.