1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-27 08:14:35 +02:00

Code style: Add more checks

This commit is contained in:
Jakub Vrana
2025-03-05 16:32:51 +01:00
parent 873d6d50fd
commit d9df9693e3
4 changed files with 31 additions and 9 deletions

View File

@@ -571,9 +571,9 @@ ORDER BY conkey, conname") as $row
if ($comment !== null) {
$queries[] = "COMMENT ON TABLE " . table($name) . " IS " . q($comment);
}
if ($auto_increment != "") {
// if ($auto_increment != "") {
//! $queries[] = "SELECT setval(pg_get_serial_sequence(" . q($name) . ", ), $auto_increment)";
}
// }
foreach ($queries as $query) {
if (!queries($query)) {
return false;