https://bugs.documentfoundation.org/show_bug.cgi?id=160274

--- Comment #1 from [email protected] ---
Looking more closely, it seems that the choice that an auto increment is
necessarily the primary key is made in this code [1] and [2].

All this is done based on the AutoIncrementIsPrimaryKey option which is true by
default [3]

Although by putting this option (AutoIncrementIsPrimaryKey) with a false value
in my Driver.xcu file I cannot get the functionality which seems correct to me
if I look at the code!!!


[1]
https://github.com/LibreOffice/core/blob/master/dbaccess/source/ui/tabledesign/TEditControl.cxx#L577
[2]
https://github.com/LibreOffice/core/blob/master/dbaccess/source/ui/tabledesign/TEditControl.cxx#L1536
[3]
https://github.com/LibreOffice/core/blob/master/connectivity/source/commontools/dbmetadata.cxx#L312

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to