优化Connection类的getRealSql方法生成的sql

This commit is contained in:
thinkphp
2016-10-25 14:46:02 +08:00
parent 6e5d83d513
commit 2477345218
2 changed files with 2 additions and 4 deletions

View File

@@ -390,9 +390,7 @@ class App
Hook::listen('action_begin', $call);
$data = self::invokeMethod($call);
return $data;
return self::invokeMethod($call);
}
/**

View File

@@ -433,7 +433,7 @@ abstract class Connection
$sql . ' ');
}
}
return $sql;
return rtrim($sql);
}
/**