Closed (outdated)
Project:
Drupal core
Version:
10.1.x-dev
Component:
postgresql db driver
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 May 2018 at 09:17 UTC
Updated:
11 Apr 2023 at 12:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tstoecklerHere's the fix, but it needs a test.
Comment #3
daffie commented#2974722: Fix dropping of columns in a composite primary key on MariaDB >=10.2.8 and make it consistent across database drivers has landed.
Comment #5
mradcliffeI tried to write a test for this, but I cannot get it to fail.
From what I can read, the bug /should/ be revealed in the following scenario, which I believe i have replicated in the test.
Comment #6
tstoecklerActually this seems to have been fixed by #2616724: Warn when trying to create a database table with a NOT NULL => FALSE primary key already in the meantime. Not sure if the test coverage in #5 is still valuable or if the test coverage added over there already covers that.
Comment #15
daffie commentedI am marking this issue as outdated as the patch from comment #5 does not fail.