apecloud / myduckserver

MySQL & Postgres Analytics, Reimagined
184 stars 8 forks source link

auto_increment not working #112

Open VWagen1989 opened 2 weeks ago

VWagen1989 commented 2 weeks ago
mysql> create table t (id bigint unsigned primary key auto_increment not null, i int);
Query OK, 0 rows affected (0.01 sec)

mysql> insert into t (i) values (1), (2), (3);
ERROR 1105 (HY000): Field 'id' doesn't have a default value