[MDEV-5574] Set AUTO_INCREMENT below max value of column Created: 2014-01-27 Updated: 2014-02-04 Resolved: 2014-02-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.7 |
| Fix Version/s: | 10.0.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lay András | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" Linux version 3.2.43-grsec-sma (root@admin.sma.hu) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Mon Jun 17 14:23:20 CEST 2013 |
||
| Description |
|
Setting AUTO_INCREMENT is prohibited to value that smaller than the max value of the AUTO_INCREMENT column, but MariaDB 10.0.7 doing this:
The AUTO_INCREMENT must be set to 3, not 1. |
| Comments |
| Comment by Sergei Golubchik [ 2014-01-30 ] |
|
It works correctly with XtraDB (5.6.14), but fails with InnoDB (5.6.10). I suspect it's some innodb bug that was fixed upstream between 5.6.10 and 5.6.14. I'll upgrade our InnoDB to 5.6.14 |