1
0
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:
Jakub Vrana
2013-05-08 11:29:19 -07:00
parent 22f0a5ded8
commit 046da00eb6
4 changed files with 18 additions and 16 deletions

View File

@@ -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