Upgrade to v1.1.2

Upgrade to v1.1.2
Also fixed a minor bug in ProxySQL_Admin::get_variables_list()
v1.1.2
René Cannaò 10 years ago
parent 34046a7549
commit 2b0510b973

@ -10,7 +10,7 @@ DEBUG=${ALL_DEBUG}
#export DEBUG
#export OPTZ
#export EXTRALINK
CURVER=1.1.1
CURVER=1.1.2
.PHONY: default
default: build_deps build_lib build_src

@ -87,7 +87,7 @@
#else
#define DEB ""
#endif /* DEBUG */
#define PROXYSQL_VERSION "1.1.1.beta7" DEB
#define PROXYSQL_VERSION "1.1.2" DEB
#define PROXYSQL_CODENAME "Kleon"
#ifndef PROXYSQL_FUNC_DEFS

@ -2546,7 +2546,7 @@ char **ProxySQL_Admin::get_variables_list() {
// Returns true if the given name is the name of an existing admin variable
bool ProxySQL_Admin::has_variable(const char *name) {
size_t no_vars = sizeof(admin_variables_names) / sizeof(char *);
for (unsigned int i = 0; i < no_vars, admin_variables_names[i] != NULL; ++i) {
for (unsigned int i = 0; i < no_vars ; ++i) {
size_t var_len = strlen(admin_variables_names[i]);
if (strlen(name) == var_len && !strncmp(name, admin_variables_names[i], var_len)) {
return true;

Loading…
Cancel
Save