From f5b6c639fbe140edf2933ec83d901068711ef0cb Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Fri, 3 Jun 2022 11:13:35 +0900 Subject: [PATCH] Fix primary key base number after more inserts are done --- 4dev/tests/CoreLibsDBIOTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/4dev/tests/CoreLibsDBIOTest.php b/4dev/tests/CoreLibsDBIOTest.php index 7a6c8179..80939035 100644 --- a/4dev/tests/CoreLibsDBIOTest.php +++ b/4dev/tests/CoreLibsDBIOTest.php @@ -3686,8 +3686,9 @@ final class CoreLibsDBIOTest extends TestCase public function returingProvider(): array { // NOTE that query can have multiple inserts - // NOTE if there are different INSERTS before the primary keys will not match anymore - $table_with_primary_key_id = 43; + // NOTE if there are different INSERTS before the primary keys + // will not match anymore. Must be updated by hand + $table_with_primary_key_id = 55; // 0: query + returning // 1: pk name for db exec // 2: key name/value or null (dbGetReturningExt)