mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02:00
Bug#14758405: ALTER TABLE: ADDING SERIAL NULL DATATYPE: ASSERTION:
LEN <= SIZEOF(ULONGLONG) This bug was caught in the WL#6255 ALTER TABLE...ADD COLUMN in MySQL 5.6, but there is a bug in all InnoDB versions that support auto-increment columns. row_search_autoinc_read_column(): When reading the maximum value of the auto-increment column, and the column only contains NULL values, return 0. This corresponds to the case when the table is empty in row_search_max_autoinc(). rb:1415 approved by Sunny Bains
This commit is contained in:
parent
c2ab844123
commit
48519303e8
3 changed files with 30 additions and 14 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2012-10-18 The InnoDB Team
|
||||
|
||||
* row/row0sel.c:
|
||||
Fix Bug#14758405: ALTER TABLE: ADDING SERIAL NULL DATATYPE: ASSERTION:
|
||||
LEN <= SIZEOF(ULONGLONG)
|
||||
|
||||
2012-10-16 The InnoDB Team
|
||||
|
||||
* dict/dict0dict.c, handler/handler0alter.cc, include/dict0dict.h:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue