summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
authorIngo Struewing <ingo.struewing@sun.com>2008-11-22 00:22:21 +0100
committerIngo Struewing <ingo.struewing@sun.com>2008-11-22 00:22:21 +0100
commit3ea684935bbc589717963fd4639c7b7109750d09 (patch)
treea8e411aa264d817a003cdcf4cbcd4eae74aab63b /sql/slave.h
parent91684ef0a07ff96a2218a99ac8ec20ad69f8f90c (diff)
downloadmariadb-git-3ea684935bbc589717963fd4639c7b7109750d09.tar.gz
Bug#28234 - global/session scope - documentation vs implementation
Several system variables did not behave like system variables should do. When trying to SET them or use them in SELECT, they were reported as "unknown system variable". But they appeared in SHOW VARIABLES. This has been fixed by removing the "fixed_vars" array of variables and integrating the variables into the normal system variables chain. All of these variables do now behave as read-only global-only variables. Trying to SET them tells they are read-only, trying to SELECT the session value tells they are global only. Selecting the global value works. It delivers the same value as SHOW VARIABLES.
Diffstat (limited to 'sql/slave.h')
-rw-r--r--sql/slave.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/slave.h b/sql/slave.h
index dc2d668c97b..abd63315e62 100644
--- a/sql/slave.h
+++ b/sql/slave.h
@@ -98,6 +98,7 @@ class Master_info;
extern ulong master_retry_count;
extern MY_BITMAP slave_error_mask;
+extern char slave_skip_error_names[];
extern bool use_slave_mask;
extern char *slave_load_tmpdir;
extern char *master_info_file, *relay_log_info_file;