summaryrefslogtreecommitdiff
path: root/include/my_getopt.h
diff options
context:
space:
mode:
authorAshish Agarwal <ashish.y.agarwal@oracle.com>2013-05-19 23:38:06 +0530
committerAshish Agarwal <ashish.y.agarwal@oracle.com>2013-05-19 23:38:06 +0530
commit0c4f4ff015f7c4a06b9d4c9e8f22f44a57e2a318 (patch)
tree24753afbd8c14c24de460f691e8e4a67e50a32c8 /include/my_getopt.h
parent5ca36b3b46de00e9eb8030c0551e7e97bc8e24eb (diff)
downloadmariadb-git-0c4f4ff015f7c4a06b9d4c9e8f22f44a57e2a318.tar.gz
Bug#16194302: SUPPORT FOR FLOATING-POINT SYSTEM VARIABLES
USING THE PLUGIN INTERFACE. ISSUE: No support for floating-point plugin system variables. SOLUTION: Allowing plugins to define and expose floating-point system variables of type double. MYSQL_SYSVAR_DOUBLE and MYSQL_THDVAR_DOUBLE are added. ISSUE: Fractional part of the def, min, max values of system variables are ignored. SOLUTION: Adding functions that are used to store the raw representation of a double in the raw bits of unsigned longlong in a way that the binary representation remains the same.
Diffstat (limited to 'include/my_getopt.h')
-rw-r--r--include/my_getopt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/my_getopt.h b/include/my_getopt.h
index 04278c061a5..2b84267a237 100644
--- a/include/my_getopt.h
+++ b/include/my_getopt.h
@@ -120,6 +120,9 @@ double getopt_double_limit_value(double num, const struct my_option *optp,
my_bool *fix);
my_bool getopt_compare_strings(const char *s, const char *t, uint length);
+ulonglong getopt_double2ulonglong(double);
+double getopt_ulonglong2double(ulonglong);
+
C_MODE_END
#endif /* _my_getopt_h */