Error 1838: The system variable cannot be set in stored procedures
Error Code
SQLSTATE
Error
Description
1838
HY000
ER_VARIABLE_NOT_SETTABLE_IN_SP
The system variable %s cannot be set in stored procedures.
Possible Causes and Solutions
This article doesn't currently contain any content. You can help!
This page is licensed: CC BY-SA / Gnu FDL
PreviousError 1837: When GTID_NEXT is set to a GTID, you must explicitly set it again after a COMMIT or ROLLNextError 1839: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_MODE = ON
Last updated
Was this helpful?