Bug #34837 | Errors are not coming on assigning invalid values auto_increment_increment | ||
---|---|---|---|
Submitted: | 26 Feb 2008 13:04 | Modified: | 27 Feb 2008 19:51 |
Reporter: | Salman Rawala | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 5.1.22 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | auto_increment_increment, invalid value of auto_increment |
[26 Feb 2008 13:04]
Salman Rawala
[27 Feb 2008 19:51]
Sveta Smirnova
Thank you for the report. I can not repeat described behavior: SET @@global.auto_increment_increment = 0; Warnings: Warning 1292 Truncated incorrect auto-increment-increment value: '0' SELECT @@global.auto_increment_increment; @@global.auto_increment_increment 1 SET @@global.auto_increment_increment = -1024; Warnings: Warning 1292 Truncated incorrect auto-increment-increment value: '0' SELECT @@global.auto_increment_increment; @@global.auto_increment_increment 1 SET @@global.auto_increment_increment = 65536; Warnings: Warning 1292 Truncated incorrect auto_increment_increment value: '65536' SELECT @@global.auto_increment_increment; @@global.auto_increment_increment 65535 SET @@global.auto_increment_increment = 65530.34; ERROR 42000: Incorrect argument type to variable 'auto_increment_increment' SELECT @@global.auto_increment_increment; @@global.auto_increment_increment 65535 You can see warnings after each incorrect query.