diff options
author | unknown <tnurnberg@mysql.com/white.intern.koehntopp.de> | 2007-12-01 19:55:06 +0100 |
---|---|---|
committer | unknown <tnurnberg@mysql.com/white.intern.koehntopp.de> | 2007-12-01 19:55:06 +0100 |
commit | 58f10e554aa2ce340e853be1006e1f411f89f09d (patch) | |
tree | aaa884036bc8a904f4d1b5f375f6d3c7376393e3 /include | |
parent | 54ad7d88d03c940330510e0870e4bce17327a952 (diff) | |
download | mariadb-git-58f10e554aa2ce340e853be1006e1f411f89f09d.tar.gz |
Bug#31177: Server variables can't be set to their current values
5.1+ specific fixes (plugins etc.)
include/my_getopt.h:
make both ull and ll global
mysql-test/r/index_merge_myisam.result:
we throw warnings to the client, yea, verily
mysql-test/r/innodb.result:
we throw warnings to the client, yea, verily
mysql-test/r/variables.result:
we throw warnings to the client, yea, verily
mysql-test/t/variables.test:
correct result, is multiple of variable's block_size now
mysys/my_getopt.c:
export getopt_ll_limit_value(), check for integer wrap-around
in it, same as in ull variant. Only print warnings to reporter
when caller didn't ask for diagnostics, otherwise assume caller
will handle any warnings (id est, throw them client-wards)
sql/mysqld.cc:
correct signedness of "concurrent-insert"
sql/sql_plugin.cc:
Throw sys-var out-of-range warnings client-wards for
plugins, too.
Diffstat (limited to 'include')
-rw-r--r-- | include/my_getopt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/my_getopt.h b/include/my_getopt.h index c0101fd4cdb..14f8e6df95b 100644 --- a/include/my_getopt.h +++ b/include/my_getopt.h @@ -75,7 +75,8 @@ extern void my_getopt_register_get_addr(uchar ** (*func_addr)(const char *, uint const struct my_option *)); ulonglong getopt_ull_limit_value(ulonglong num, const struct my_option *optp, - bool *fixed); + bool *fix); +longlong getopt_ll_limit_value(longlong, const struct my_option *,bool *fix); my_bool getopt_compare_strings(const char *s, const char *t, uint length); C_MODE_END |