Merge branch 'QA_5_2'

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
This commit is contained in:
Maurício Meneghini Fauth 2026-04-02 16:22:51 -03:00
commit 342135b31b
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8

View File

@ -337,6 +337,11 @@ class Export
$tableObj = new Table($table, $db->getName(), $this->dbi);
$nonGeneratedCols = $tableObj->getNonGeneratedColumns();
// Skip tables that cannot be read
if ($nonGeneratedCols === []) {
continue;
}
$localQuery = 'SELECT ' . implode(', ', $nonGeneratedCols)
. ' FROM ' . Util::backquote($db->getName())
. '.' . Util::backquote($table);
@ -468,6 +473,11 @@ class Export
$tableObj = new Table($table, $db, $this->dbi);
$nonGeneratedCols = $tableObj->getNonGeneratedColumns();
// Skip tables that cannot be read
if ($nonGeneratedCols === []) {
return;
}
$localQuery = 'SELECT ' . implode(', ', $nonGeneratedCols)
. ' FROM ' . Util::backquote($db)
. '.' . Util::backquote($table) . $addQuery;