last_insert_id
gives 0 when 0 is explicitly specified for an auto_increment
primary key in an insertion
#8769
Labels
As is described in this example,
https://github.com/dolthub/go-mysql-server/blob/729f39b6b665932cb0da516d5013f0d938c860d0/enginetest/queries/insert_queries.go#L559-L567
When 0 is specified explicitly,
InsertID
.This is not consistent with MySQL's behaviour, which can be replicated as follows:
The text was updated successfully, but these errors were encountered: