@@ -393,6 +393,23 @@ DECLARE_MYSQL_SYSVAR_SIMPLE(name, unsigned long long) = { \
393
393
PLUGIN_VAR_LONGLONG | PLUGIN_VAR_UNSIGNED | ((opt) & PLUGIN_VAR_MASK), \
394
394
#name, comment, check, update, &varname, def, min, max, blk }
395
395
396
+ #define MYSQL_SYSVAR_UINT64_T (name, varname, opt, comment, check, update, def, min, max, blk ) \
397
+ DECLARE_MYSQL_SYSVAR_SIMPLE (name, uint64_t ) = { \
398
+ PLUGIN_VAR_LONGLONG | PLUGIN_VAR_UNSIGNED | ((opt) & PLUGIN_VAR_MASK), \
399
+ #name, comment, check, update, &varname, def, min, max, blk }
400
+
401
+ #ifdef _WIN64
402
+ #define MYSQL_SYSVAR_SIZE_T (name, varname, opt, comment, check, update, def, min, max, blk ) \
403
+ DECLARE_MYSQL_SYSVAR_SIMPLE (name, size_t ) = { \
404
+ PLUGIN_VAR_LONGLONG | PLUGIN_VAR_UNSIGNED | ((opt) & PLUGIN_VAR_MASK), \
405
+ #name, comment, check, update, &varname, def, min, max, blk }
406
+ #else
407
+ #define MYSQL_SYSVAR_SIZE_T (name, varname, opt, comment, check, update, def, min, max, blk ) \
408
+ DECLARE_MYSQL_SYSVAR_SIMPLE (name, size_t ) = { \
409
+ PLUGIN_VAR_LONG | PLUGIN_VAR_UNSIGNED | ((opt) & PLUGIN_VAR_MASK), \
410
+ #name, comment, check, update, &varname, def, min, max, blk }
411
+ #endif
412
+
396
413
#define MYSQL_SYSVAR_ENUM (name, varname, opt, comment, check, update, def, typelib ) \
397
414
DECLARE_MYSQL_SYSVAR_TYPELIB (name, unsigned long ) = { \
398
415
PLUGIN_VAR_ENUM | ((opt) & PLUGIN_VAR_MASK), \
0 commit comments