diff options
author | anozdrin/alik@booka.opbmk <> | 2007-03-09 08:05:08 +0300 |
---|---|---|
committer | anozdrin/alik@booka.opbmk <> | 2007-03-09 08:05:08 +0300 |
commit | c666e2f276b897d7f0bec3921243d8c0eb3d3a99 (patch) | |
tree | ff8b9dddd069653f26eb2cf2af2e9e5977f20b74 /include | |
parent | 17929083813cd84f4005acf775fe2e78e9cfc62e (diff) | |
download | mariadb-git-c666e2f276b897d7f0bec3921243d8c0eb3d3a99.tar.gz |
Polishing: use constants instead of magic numbers.
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h index 21fe1ebc3cb..61c2afc541b 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -1357,4 +1357,13 @@ do { doubleget_union _tmp; \ #define NO_EMBEDDED_ACCESS_CHECKS #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 */ |