3160
MariaDBWARNINGCriticalDeprecationHIGH confidence
Deprecated internal function used
Production Risk
Low — warning only; internal functions may be removed without notice.
What this means
An internal MySQL function that has been deprecated was called. These functions are typically undocumented internal helpers that have been replaced by official equivalents.
Why it happens
- 1Calling internal or undocumented functions directly.
How to reproduce
trigger — this will error
trigger — this will error
SELECT internal_deprecated_function();
expected output
Warning (Code 3160): Deprecated internal function used.
Fix
Use the documented replacement function
Use the documented replacement function
-- Consult MySQL 8.0 documentation for the official replacement
Why this works
Replaces the deprecated call with a supported equivalent.
What not to do
✕
Sources
Official documentation ↗
MySQL 8.0 — 3160 ER_WARN_DEPRECATED_INNER_FUNCTION
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev