Error codes › 4008
MySQL & MariaDB error 4008 ER_SPVAR_NONINTEGER_TYPE
Same number, two different errors. 4008 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
| MySQL | MariaDB | |
|---|---|---|
| Symbol | ER_SPVAR_NONINTEGER_TYPE | ER_NOT_STANDARD_COMPLIANT_RECURSIVE |
| SQLSTATE | HY000 | HY000 |
| Type | Server error | Server error |
| Versions | since 8.0.26 active | since 10.2.44 active |
How the message changed between versions
| MariaDB from | Symbol | Message |
|---|---|---|
| 10.2.44 | ER_NOT_STANDARD_COMPLIANT_RECURSIVE | |
| 10.4.34 | ER_NOT_STANDARD_COMPLIANT_RECURSIVE | Restrictions imposed on recursive definitions are violated for table '%s' |