mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 18:14:07 +02:00
Strip trailing spaces
This commit is contained in:
@@ -364,7 +364,8 @@ function create_trigger($on, $row) {
|
||||
. idf_escape($row["Trigger"])
|
||||
. ($jush == "mssql" ? $on . $timing_event : $timing_event . $on)
|
||||
. rtrim(" $row[Type]\n$row[Statement]", ";")
|
||||
. ";";
|
||||
. ";"
|
||||
;
|
||||
}
|
||||
|
||||
/** Generate SQL query for creating routine
|
||||
@@ -388,7 +389,8 @@ function create_routine($routine, $row) {
|
||||
. (isset($_GET["function"]) ? " RETURNS" . process_type($row["returns"], "CHARACTER SET") : "")
|
||||
. ($row["language"] ? " LANGUAGE $row[language]" : "")
|
||||
. rtrim("\n$row[definition]", ";")
|
||||
. ";";
|
||||
. ";"
|
||||
;
|
||||
}
|
||||
|
||||
/** Remove current user definer from SQL command
|
||||
|
Reference in New Issue
Block a user