add cast; fix Illegal mix of collations for operation 'concat' · DBDiff/DBDiff@ccfbe15 · GitHub
Skip to content

Commit ccfbe15

Browse files
committed
add cast; fix Illegal mix of collations for operation 'concat'
1 parent 1bde494 commit ccfbe15

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎src/DB/Data/LocalTableData.php‎

Lines changed: 7 additions & 7 deletions

‎src/DBDiff.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function run() {
2525
$diff = $diffCalculator->getDiff($params);
2626

2727
// Empty diff
28-
if (empty($diff)) {
28+
if (empty($diff['schema']) && empty($diff['data'])) {
2929
Logger::info("Identical resources");
3030
} else {
3131
// SQL

‎src/Templater.php‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)