generating an unnecessary / at the end in case there are no triggers
Changes for SQL::Translator
+ * Fix Oracle producer generating an unnecessary / at the end in case there
+ are no triggers
* Skip HTML tests if CGI is not installed (RT#98027)
0.11020 2014-09-02
$create .= ";\n\n";
# If wantarray is not set we have to add "/" in this statement
# DBI->do() needs them omitted
- # triggers may NOT end with a semicolon
- $create .= join "/\n\n", @trigger_defs;
- # for last trigger
- $create .= "/\n\n";
+ # triggers may NOT end with a semicolon but a "/" instead
+ $create .= "$_/\n\n"
+ for @trigger_defs;
return $create;
}
}