Completed
Pull Request — master (#184)
by Brad
04:56
created
src/Ifsnop/Mysqldump/Mysqldump.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -819,7 +819,7 @@  discard block
 block discarded – undo
819 819
                 'is_numeric'=> $types['is_numeric'],
820 820
                 'is_blob' => $types['is_blob'],
821 821
                 'type' => $types['type'],
822
-                'type_sql' => !empty($col['Type']) ? $col['Type']: $types['type'],
822
+                'type_sql' => !empty($col['Type']) ? $col['Type'] : $types['type'],
823 823
                 'is_virtual' => $types['is_virtual']
824 824
             );
825 825
         }
@@ -1966,7 +1966,7 @@  discard block
 block discarded – undo
1966 1966
                 "Please check 'https://bugs.mysql.com/bug.php?id=14564'");
1967 1967
         }
1968 1968
         $procedureStmt = $row['Create Procedure'];
1969
-        if ( $this->dumpSettings['skip-definer'] ) {
1969
+        if ($this->dumpSettings['skip-definer']) {
1970 1970
             if ($procedureStmtReplaced = preg_replace(
1971 1971
                 '/^(CREATE)\s+('.self::DEFINER_RE.')?\s+(PROCEDURE\s.*)$/s',
1972 1972
                 '\1 \3',
@@ -2000,7 +2000,7 @@  discard block
 block discarded – undo
2000 2000
         $characterSetClient = $row['character_set_client'];
2001 2001
         $collationConnection = $row['collation_connection'];
2002 2002
         $sqlMode = $row['sql_mode'];
2003
-        if ( $this->dumpSettings['skip-definer'] ) {
2003
+        if ($this->dumpSettings['skip-definer']) {
2004 2004
             if ($functionStmtReplaced = preg_replace(
2005 2005
                 '/^(CREATE)\s+('.self::DEFINER_RE.')?\s+(FUNCTION\s.*)$/s',
2006 2006
                 '\1 \3',
@@ -2156,7 +2156,7 @@  discard block
 block discarded – undo
2156 2156
 
2157 2157
     public function start_transaction()
2158 2158
     {
2159
-        return "START TRANSACTION " .
2159
+        return "START TRANSACTION ".
2160 2160
             "/*!40100 WITH CONSISTENT SNAPSHOT */";
2161 2161
     }
2162 2162
 
Please login to merge, or discard this patch.