Skip to content

Commit 7b3adf0

Browse files
authored
Use 0x... hex-dump style also for BINARY column types (#80)
1 parent 59b7dc7 commit 7b3adf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Webfactory/Slimdump/Database/Dumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ protected function insertValuesStatement($table, $cols)
278278
*/
279279
protected function isBlob($col, array $definitions)
280280
{
281-
return false !== stripos($definitions[$col], 'blob');
281+
return (false !== stripos($definitions[$col], 'blob')) || (false !== stripos($definitions[$col], 'binary'));
282282
}
283283

284284
/**

0 commit comments

Comments
 (0)