]> git.joonet.de Git - adminer.git/commitdiff
SQLite: Remove useless condition
authorJakub Vrana <jakub@vrana.cz>
Thu, 6 Mar 2025 16:55:45 +0000 (17:55 +0100)
committerJakub Vrana <jakub@vrana.cz>
Thu, 6 Mar 2025 16:55:45 +0000 (17:55 +0100)
adminer/drivers/sqlite.inc.php

index d5539388a3b383143ecf25953033d1b3eca2da22..7c5f2647ba031662d58a9272c6973f89b1c35208 100644 (file)
@@ -421,7 +421,7 @@ if (isset($_GET["sqlite"])) {
        }
 
        function auto_increment() {
-               return " PRIMARY KEY" . (DRIVER == "sqlite" ? " AUTOINCREMENT" : "");
+               return " PRIMARY KEY AUTOINCREMENT";
        }
 
        function alter_table($table, $name, $fields, $foreign, $comment, $engine, $collation, $auto_increment, $partitioning) {