@@ -1480,39 +1480,39 @@ public function close()
1480
1480
1481
1481
class CompressGzipstream extends CompressManagerFactory
1482
1482
{
1483
- private $ fileHandler = null ;
1483
+ private $ fileHandler = null ;
1484
1484
1485
- private $ compressContext ;
1485
+ private $ compressContext ;
1486
1486
1487
- /**
1488
- * @param string $filename
1489
- */
1490
- public function open ($ filename )
1491
- {
1487
+ /**
1488
+ * @param string $filename
1489
+ */
1490
+ public function open ($ filename )
1491
+ {
1492
1492
$ this ->fileHandler = fopen ($ filename , "wb " );
1493
1493
if (false === $ this ->fileHandler ) {
1494
- throw new Exception ("Output file is not writable " );
1494
+ throw new Exception ("Output file is not writable " );
1495
1495
}
1496
1496
1497
1497
$ this ->compressContext = deflate_init (ZLIB_ENCODING_GZIP , array ('level ' => 9 ));
1498
1498
return true ;
1499
- }
1499
+ }
1500
1500
1501
- public function write ($ str )
1502
- {
1501
+ public function write ($ str )
1502
+ {
1503
1503
1504
1504
$ bytesWritten = fwrite ($ this ->fileHandler , deflate_add ($ this ->compressContext , $ str , ZLIB_NO_FLUSH ));
1505
1505
if (false === $ bytesWritten ) {
1506
- throw new Exception ("Writting to file failed! Probably, there is no more free space left? " );
1506
+ throw new Exception ("Writting to file failed! Probably, there is no more free space left? " );
1507
1507
}
1508
1508
return $ bytesWritten ;
1509
- }
1509
+ }
1510
1510
1511
- public function close ()
1512
- {
1511
+ public function close ()
1512
+ {
1513
1513
fwrite ($ this ->fileHandler , deflate_add ($ this ->compressContext , '' , ZLIB_FINISH ));
1514
1514
return fclose ($ this ->fileHandler );
1515
- }
1515
+ }
1516
1516
}
1517
1517
1518
1518
/**
@@ -1964,7 +1964,7 @@ public function create_procedure($row)
1964
1964
"Please check 'https://bugs.mysql.com/bug.php?id=14564' " );
1965
1965
}
1966
1966
$ procedureStmt = $ row ['Create Procedure ' ];
1967
- if ( $ this ->dumpSettings ['skip-definer ' ] ) {
1967
+ if ($ this ->dumpSettings ['skip-definer ' ]) {
1968
1968
if ($ procedureStmtReplaced = preg_replace (
1969
1969
'/^(CREATE)\s+( ' .self ::DEFINER_RE .')?\s+(PROCEDURE\s.*)$/s ' ,
1970
1970
'\1 \3 ' ,
@@ -2154,7 +2154,7 @@ public function setup_transaction()
2154
2154
2155
2155
public function start_transaction ()
2156
2156
{
2157
- return "START TRANSACTION " .
2157
+ return "START TRANSACTION " .
2158
2158
"/*!40100 WITH CONSISTENT SNAPSHOT */ " ;
2159
2159
}
2160
2160
0 commit comments