Skip to content

Commit

Permalink
Merge branch 'QA_5_0'
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed Oct 13, 2020
2 parents 8f44594 + c6033a1 commit 97f5393
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -54,6 +54,7 @@ phpMyAdmin - ChangeLog
- issue #16245 Fix failed Zoom search clears existing values
- issue Fixed a PHP error when reporting a particular JS error
- issue #16326 Fixed latitude and longitude swap for geometries in edit mode
- issue #16032 Fix CREATE TABLE not being tracked when auto tracking is enabled

5.0.3 (2020-10-09)
- issue #15983 Require twig ^2.9
Expand Down
8 changes: 4 additions & 4 deletions libraries/classes/Tracker.php
Expand Up @@ -865,10 +865,6 @@ public static function handleQuery($query)
return;
}

if (! self::isTracked($dbname, $result['tablename'])) {
return;
}

$version = self::getVersion(
$dbname,
$result['tablename'],
Expand Down Expand Up @@ -905,6 +901,10 @@ public static function handleQuery($query)
return;
}

if (! self::isTracked($dbname, $result['tablename'])) {
return;
}

if ($result['type'] === 'DDL') {
$save_to = 'schema_sql';
} elseif ($result['type'] === 'DML') {
Expand Down

0 comments on commit 97f5393

Please sign in to comment.