Open any direct connection to MySQL. Create a table and set an INTEGER field as AutoValue. Save this table. AutoValue won't be saved since Version: 7.2.0.4 / LibreOffice Community Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: de-DE Calc: threaded Works right with LO 7.1.5.2 on OpenSUSE 15.3 64bit rpm Linux.
Just for the record, on pc Debian x86-64 with master sources updated today, I don't reproduce this. I created a table with: id INTEGER primary key autovalue yes test Text[VARCHAR] Would it be possible you give a try on a daily master build? Indeed, I made quite some changes in Mysql/Mariadb (see https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=maria)
(In reply to Julien Nabet from comment #1) > Just for the record, on pc Debian x86-64 with master sources updated today, > I don't reproduce this. You are right: Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 7ac19fbce8a35f559eebb879cd0f232bfc95e703 CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: en-US Calc: threaded This version will have AutoValue set after I have saved the table. So it's a problem in LO 7.2 and 7.3 at this moment. See this post: https://ask.libreoffice.org/t/auto-increment-is-not-enabled-in-table-after-creating-a-table-in-base-with-direct-connection-to-mysql/74870
Confirming with Version: 7.2.6.2 / LibreOffice Community Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754 CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Calc: threaded regression
Also confirmed with Version: 7.3.1.3 / LibreOffice Community Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951 CPU threads: 8; OS: Mac OS X 12.2.1; UI render: default; VCL: osx Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Calc: threaded
The problem does not occur with : Version: 7.4.0.3 (x64) / LibreOffice Community Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: nl-BE (en_BE); UI: en-US Calc: threaded
Had a look at this bug again. Bug still exists in LO 7.3.6.2, but won't appear in LO 7.4.3.2 on OpenSUSE 15.3 64bit rpm Linux. I will close this one as WORKSFORME.