last_insert_id() returns 0 when the value is explicitly added incompatible with MySQL 8.0 #42084
Labels
compatibility-mysql8
This is a compatibility issue with MySQL 8.0(but NOT 5.7)
sig/sql-infra
SIG: SQL Infra
type/compatibility
type/enhancement
The issue or PR belongs to an enhancement.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
tiup playground
2. What did you expect to see? (Required)
last_insert_id()
should return13
as MySQL 8.0.32 does.3. What did you see instead (Required)
last_insert_id()
returns0
.4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: