[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
include
/
mysql
/
server
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 mysql
SET
[ DEL ]
📁 private
SET
[ DEL ]
📄 big_endian.h
4,505 B
SET
[ EDIT ]
|
[ DEL ]
📄 byte_order_generic.h
5,242 B
SET
[ EDIT ]
|
[ DEL ]
📄 byte_order_generic_x86.h
4,282 B
SET
[ EDIT ]
|
[ DEL ]
📄 byte_order_generic_x86_64.h
4,129 B
SET
[ EDIT ]
|
[ DEL ]
📄 decimal.h
4,921 B
SET
[ EDIT ]
|
[ DEL ]
📄 errmsg.h
4,409 B
SET
[ EDIT ]
|
[ DEL ]
📄 handler_ername.h
4,603 B
SET
[ EDIT ]
|
[ DEL ]
📄 handler_state.h
758 B
SET
[ EDIT ]
|
[ DEL ]
📄 json_lib.h
14,217 B
SET
[ EDIT ]
|
[ DEL ]
📄 keycache.h
8,827 B
SET
[ EDIT ]
|
[ DEL ]
📄 little_endian.h
3,572 B
SET
[ EDIT ]
|
[ DEL ]
📄 m_ctype.h
70,089 B
SET
[ EDIT ]
|
[ DEL ]
📄 m_string.h
10,249 B
SET
[ EDIT ]
|
[ DEL ]
📄 ma_dyncol.h
8,045 B
SET
[ EDIT ]
|
[ DEL ]
📄 mariadb_capi_rename.h
3,418 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_alloc.h
2,067 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_alloca.h
1,431 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_attribute.h
3,578 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_byteorder.h
2,053 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_cmp.h
914 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_compiler.h
5,266 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_config.h
14,543 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_dbug.h
9,953 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_decimal_limits.h
2,074 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_dir.h
3,887 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_getopt.h
5,604 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_global.h
32,880 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_list.h
1,506 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_net.h
2,029 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_pthread.h
27,615 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_sys.h
49,093 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_valgrind.h
4,261 B
SET
[ EDIT ]
|
[ DEL ]
📄 my_xml.h
2,832 B
SET
[ EDIT ]
|
[ DEL ]
📄 mysql.h
40,047 B
SET
[ EDIT ]
|
[ DEL ]
📄 mysql_com.h
31,139 B
SET
[ EDIT ]
|
[ DEL ]
📄 mysql_com_server.h
1,313 B
SET
[ EDIT ]
|
[ DEL ]
📄 mysql_embed.h
1,124 B
SET
[ EDIT ]
|
[ DEL ]
📄 mysql_time.h
2,420 B
SET
[ EDIT ]
|
[ DEL ]
📄 mysql_version.h
1,289 B
SET
[ EDIT ]
|
[ DEL ]
📄 mysqld_ername.h
128,496 B
SET
[ EDIT ]
|
[ DEL ]
📄 mysqld_error.h
48,384 B
SET
[ EDIT ]
|
[ DEL ]
📄 pack.h
1,105 B
SET
[ EDIT ]
|
[ DEL ]
📄 sql_common.h
5,268 B
SET
[ EDIT ]
|
[ DEL ]
📄 sql_state.h
14,955 B
SET
[ EDIT ]
|
[ DEL ]
📄 sslopt-case.h
1,534 B
SET
[ EDIT ]
|
[ DEL ]
📄 sslopt-longopts.h
2,595 B
SET
[ EDIT ]
|
[ DEL ]
📄 sslopt-vars.h
1,405 B
SET
[ EDIT ]
|
[ DEL ]
📄 typelib.h
2,396 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: decimal.h
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. 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 St, Fifth Floor, Boston, MA 02110-1335 USA */ #ifndef _decimal_h #define _decimal_h #ifdef __cplusplus extern "C" { #endif typedef enum {TRUNCATE=0, HALF_EVEN, HALF_UP, CEILING, FLOOR} decimal_round_mode; typedef int32 decimal_digit_t; /** intg is the number of *decimal* digits (NOT number of decimal_digit_t's !) before the point frac is the number of decimal digits after the point len is the length of buf (length of allocated space) in decimal_digit_t's, not in bytes sign false means positive, true means negative buf is an array of decimal_digit_t's */ typedef struct st_decimal_t { int intg, frac, len; my_bool sign; decimal_digit_t *buf; } decimal_t; int internal_str2dec(const char *from, decimal_t *to, char **end, my_bool fixed); int decimal2string(const decimal_t *from, char *to, int *to_len, decimal_digits_t fixed_precision, decimal_digits_t fixed_decimals, char filler); int decimal2ulonglong(const decimal_t *from, ulonglong *to); int ulonglong2decimal(ulonglong from, decimal_t *to); int decimal2longlong(const decimal_t *from, longlong *to); int longlong2decimal(longlong from, decimal_t *to); int decimal2double(const decimal_t *from, double *to); int double2decimal(double from, decimal_t *to); decimal_digits_t decimal_actual_fraction(const decimal_t *from); int decimal2bin(const decimal_t *from, uchar *to, decimal_digits_t precision, decimal_digits_t scale); int bin2decimal(const uchar *from, decimal_t *to, decimal_digits_t precision, decimal_digits_t scale); uint decimal_size(decimal_digits_t precision, decimal_digits_t scale); uint decimal_bin_size(decimal_digits_t precision, decimal_digits_t scale); uint decimal_result_size(decimal_t *from1, decimal_t *from2, char op, int param); decimal_digits_t decimal_intg(const decimal_t *from); int decimal_add(const decimal_t *from1, const decimal_t *from2, decimal_t *to); int decimal_sub(const decimal_t *from1, const decimal_t *from2, decimal_t *to); int decimal_cmp(const decimal_t *from1, const decimal_t *from2); int decimal_mul(const decimal_t *from1, const decimal_t *from2, decimal_t *to); int decimal_div(const decimal_t *from1, const decimal_t *from2, decimal_t *to, int scale_incr); int decimal_mod(const decimal_t *from1, const decimal_t *from2, decimal_t *to); int decimal_round(const decimal_t *from, decimal_t *to, int new_scale, decimal_round_mode mode); int decimal_is_zero(const decimal_t *from); void max_decimal(decimal_digits_t precision, decimal_digits_t frac, decimal_t *to); #define string2decimal(A,B,C) internal_str2dec((A), (B), (C), 0) #define string2decimal_fixed(A,B,C) internal_str2dec((A), (B), (C), 1) /* set a decimal_t to zero */ #define decimal_make_zero(dec) do { \ (dec)->buf[0]=0; \ (dec)->intg=1; \ (dec)->frac=0; \ (dec)->sign=0; \ } while(0) /* returns the length of the buffer to hold string representation of the decimal (including decimal dot, possible sign and \0) */ #define decimal_string_size(dec) (((dec)->intg ? (dec)->intg : 1) + \ (dec)->frac + ((dec)->frac > 0) + 2) /* negate a decimal */ #define decimal_neg(dec) do { (dec)->sign^=1; } while(0) /* conventions: decimal_smth() == 0 -- everything's ok decimal_smth() <= 1 -- result is usable, but precision loss is possible decimal_smth() <= 2 -- result can be unusable, most significant digits could've been lost decimal_smth() > 2 -- no result was generated */ #define E_DEC_OK 0 #define E_DEC_TRUNCATED 1 #define E_DEC_OVERFLOW 2 #define E_DEC_DIV_ZERO 4 #define E_DEC_BAD_NUM 8 #define E_DEC_OOM 16 #define E_DEC_ERROR 31 #define E_DEC_FATAL_ERROR 30 #ifdef __cplusplus } #endif #endif