Session state and variable helpers
Internal interfaces behind SET, SHOW, user variables and authentication cache management.
Internal interfaces behind SET, SHOW, user variables and authentication cache management.
C
| Signature | Purpose | Source definition |
|---|---|---|
mysql.clear_user_variables() → void | Clear the session’s user variables. | SQL · C |
F
| Signature | Purpose | Source definition |
|---|---|---|
mysql.flush_auth_cache() → bigint | Clear the fast-authentication cache. EXECUTE is restricted. | SQL · C |
G
| Signature | Purpose | Source definition |
|---|---|---|
mysql.get_system_global_variable(text) → text | Read a global @@ variable. | SQL |
mysql.get_system_session_variable(text) → text | Read a session @@ variable. | SQL |
mysql.get_system_variable(text, boolean) → text | Resolve a system variable for its requested scope. | SQL · C |
mysql.get_user_var(variable_name character varying) → bytea | Read a MySQL @user variable. | SQL · C |
mysql.getenv(text) → text | Read a server environment variable for installation. EXECUTE is restricted. | SQL · C |