mysql_insert_id() incompatible between tidb and mysql #55965
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
affects-6.3
affects-6.4
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-6.6
affects-7.0
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.2
affects-7.3
affects-7.4
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-7.6
affects-8.0
affects-8.1
This bug affects the 8.1.x(LTS) versions.
affects-8.2
affects-8.3
affects-8.4
compatibility-mysql8
This is a compatibility issue with MySQL 8.0(but NOT 5.7)
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
The code should return same result from mysql and tidb
3. What did you see instead (Required)
// tiup playground v7.5.1:
// Last inserted ID: 1
// Last inserted ID: 2
// Last inserted ID: 0
// MySQL v8.0.23:
// Last inserted ID: 1
// Last inserted ID: 2
// Last inserted ID: 1
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: