summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index b6c6ff13405..b4886700b57 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -1496,4 +1496,10 @@ do { doubleget_union _tmp; \
#include <new>
#endif
+/* Length of decimal number represented by INT32. */
+#define MY_INT32_NUM_DECIMAL_DIGITS 11
+
+/* Length of decimal number represented by INT64. */
+#define MY_INT64_NUM_DECIMAL_DIGITS 21
+
#endif /* my_global_h */