mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-18 01:33:14 +00:00
Remove trailing spaces (#665)
* Remove trailing spaces * PR-665 - Remove trailing spaces - Updated not stable test t/pt-online-schema-change/preserve_triggers.t - Updated utilities in bin directory * PR-665 - Remove trailing spaces - Fixed typos * PR-665 - Remove trailing spaces - Fixed typos --------- Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
This commit is contained in:
@@ -26,7 +26,7 @@ CREATE DEFINER='root'@'localhost' FUNCTION format_path (
|
||||
-----------
|
||||
|
||||
Takes a raw path value, and strips out the datadir or tmpdir
|
||||
replacing with @@datadir and @@tmpdir respectively.
|
||||
replacing with @@datadir and @@tmpdir respectively.
|
||||
|
||||
Also normalizes the paths across operating systems, so backslashes
|
||||
on Windows are converted to forward slashes
|
||||
@@ -69,7 +69,7 @@ BEGIN
|
||||
DECLARE v_undo_dir VARCHAR(1024);
|
||||
|
||||
-- OSX hides /private/ in variables, but Performance Schema does not
|
||||
IF path LIKE '/private/%'
|
||||
IF path LIKE '/private/%'
|
||||
THEN SET v_path = REPLACE(path, '/private', '');
|
||||
ELSE SET v_path = path;
|
||||
END IF;
|
||||
|
Reference in New Issue
Block a user