mysqldude
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.
MySQLThe variable \"…\" has a non-integer based type
MariaDBRestrictions imposed on recursive definitions are violated for table '…'
MySQLMariaDB
SymbolER_SPVAR_NONINTEGER_TYPEER_NOT_STANDARD_COMPLIANT_RECURSIVE
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 8.0.26 activesince 10.2.44 active
How the message changed between versions
MariaDB fromSymbolMessage
10.2.44ER_NOT_STANDARD_COMPLIANT_RECURSIVE
10.4.34ER_NOT_STANDARD_COMPLIANT_RECURSIVERestrictions imposed on recursive definitions are violated for table '%s'