/usr/share/cagefs-skeleton/usr/include/mysql/server
#ifndef MY_DECIMAL_LIMITS_INCLUDED #define MY_DECIMAL_LIMITS_INCLUDED /* Copyright (c) 2011 Monty Program Ab This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ #define DECIMAL_LONGLONG_DIGITS 22 #define DECIMAL_LONG_DIGITS 10 #define DECIMAL_LONG3_DIGITS 8 /** maximum length of buffer in our big digits (uint32). */ #define DECIMAL_BUFF_LENGTH 9 /* the number of digits that my_decimal can possibly contain */ #define DECIMAL_MAX_POSSIBLE_PRECISION (DECIMAL_BUFF_LENGTH * 9) /** maximum guaranteed precision of number in decimal digits (number of our digits * number of decimal digits in one our big digit - number of decimal digits in one our big digit decreased by 1 (because we always put decimal point on the border of our big digits)) With normal precision we can handle 65 digits. MariaDB can store in the .frm up to 63 digits. By default we use DECIMAL_NOT_SPECIFIED digits when converting strings to decimal, so we don't want to set this too high. To not use up all digits for the scale we limit the number of decimals to 38. */ #define DECIMAL_MAX_PRECISION (DECIMAL_MAX_POSSIBLE_PRECISION - 8*2) #define DECIMAL_MAX_SCALE 38 #define DECIMAL_NOT_SPECIFIED 39 /** maximum length of string representation (number of maximum decimal digits + 1 position for sign + 1 position for decimal point, no terminator) */ #define DECIMAL_MAX_STR_LENGTH (DECIMAL_MAX_POSSIBLE_PRECISION + 2) #endif /* MY_DECIMAL_LIMITS_INCLUDED */
.
Edit
..
Edit
big_endian.h
Edit
byte_order_generic.h
Edit
byte_order_generic_x86.h
Edit
byte_order_generic_x86_64.h
Edit
decimal.h
Edit
errmsg.h
Edit
handler_ername.h
Edit
handler_state.h
Edit
json_lib.h
Edit
keycache.h
Edit
little_endian.h
Edit
m_ctype.h
Edit
m_string.h
Edit
ma_dyncol.h
Edit
mariadb_capi_rename.h
Edit
my_alloc.h
Edit
my_alloca.h
Edit
my_attribute.h
Edit
my_byteorder.h
Edit
my_cmp.h
Edit
my_compiler.h
Edit
my_config.h
Edit
my_dbug.h
Edit
my_decimal_limits.h
Edit
my_dir.h
Edit
my_getopt.h
Edit
my_global.h
Edit
my_list.h
Edit
my_net.h
Edit
my_pthread.h
Edit
my_sys.h
Edit
my_valgrind.h
Edit
my_xml.h
Edit
mysql
Edit
mysql.h
Edit
mysql_com.h
Edit
mysql_com_server.h
Edit
mysql_embed.h
Edit
mysql_time.h
Edit
mysql_version.h
Edit
mysqld_ername.h
Edit
mysqld_error.h
Edit
pack.h
Edit
private
Edit
sql_common.h
Edit
sql_state.h
Edit
sslopt-case.h
Edit
sslopt-longopts.h
Edit
sslopt-vars.h
Edit
typelib.h
Edit