You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create a temporary table with an AUTO_INCREMENT column, attempting to insert into it will yield the following error: ERROR 1105 (HY000): table ... does not support AUTO_INCREMENT columns. It works with MySQL on the other hand.
A simple workaround is to just use a normal table and drop it, but it would be nice to have this to simplify cleanup when using temporary tables during migrations.
MWE that fails with Dolt but works with Percona Server 8.3:
DROPTABLE IF EXISTS a_test;
CREATE TEMPORARY TABLE a_test(
id INTPRIMARY KEY AUTO_INCREMENT
);
INSERT INTO a_test () VALUES (), (), (), ();
DROPTABLE a_test;
The text was updated successfully, but these errors were encountered:
If you create a temporary table with an
AUTO_INCREMENT
column, attempting to insert into it will yield the following error:ERROR 1105 (HY000): table ... does not support AUTO_INCREMENT columns
. It works with MySQL on the other hand.A simple workaround is to just use a normal table and drop it, but it would be nice to have this to simplify cleanup when using temporary tables during migrations.
MWE that fails with Dolt but works with Percona Server 8.3:
The text was updated successfully, but these errors were encountered: