/
usr
/
include
/
mysql
/
server
/
/usr/include/mysql/server
mkdir
upload
Name
Size
Mode
Actions
mysql/
-
0755
rm
private/
-
0755
rm
big_endian.h
4505
0644
edit
dl
rm
byte_order_generic.h
5242
0644
edit
dl
rm
byte_order_generic_x86.h
4282
0644
edit
dl
rm
byte_order_generic_x86_64.h
4129
0644
edit
dl
rm
decimal.h
4921
0644
edit
dl
rm
errmsg.h
4409
0644
edit
dl
rm
handler_ername.h
4603
0644
edit
dl
rm
handler_state.h
758
0644
edit
dl
rm
json_lib.h
14217
0644
edit
dl
rm
keycache.h
8827
0644
edit
dl
rm
little_endian.h
3572
0644
edit
dl
rm
mariadb_capi_rename.h
3418
0644
edit
dl
rm
ma_dyncol.h
8045
0644
edit
dl
rm
mysql.h
40047
0644
edit
dl
rm
mysqld_ername.h
128496
0644
edit
dl
rm
mysqld_error.h
48384
0644
edit
dl
rm
mysql_com.h
31139
0644
edit
dl
rm
mysql_com_server.h
1313
0644
edit
dl
rm
mysql_embed.h
1124
0644
edit
dl
rm
mysql_time.h
2420
0644
edit
dl
rm
mysql_version.h
1289
0644
edit
dl
rm
my_alloc.h
2067
0644
edit
dl
rm
my_alloca.h
1431
0644
edit
dl
rm
my_attribute.h
3578
0644
edit
dl
rm
my_byteorder.h
2053
0644
edit
dl
rm
my_cmp.h
914
0644
edit
dl
rm
my_compiler.h
5266
0644
edit
dl
rm
my_config.h
14543
0644
edit
dl
rm
my_dbug.h
9953
0644
edit
dl
rm
my_decimal_limits.h
2074
0644
edit
dl
rm
my_dir.h
3887
0644
edit
dl
rm
my_getopt.h
5604
0644
edit
dl
rm
my_global.h
32880
0644
edit
dl
rm
my_list.h
1506
0644
edit
dl
rm
my_net.h
2029
0644
edit
dl
rm
my_pthread.h
27615
0644
edit
dl
rm
my_sys.h
49093
0644
edit
dl
rm
my_valgrind.h
4261
0644
edit
dl
rm
my_xml.h
2832
0644
edit
dl
rm
m_ctype.h
70089
0644
edit
dl
rm
m_string.h
10249
0644
edit
dl
rm
pack.h
1105
0644
edit
dl
rm
sql_common.h
5268
0644
edit
dl
rm
sql_state.h
14955
0644
edit
dl
rm
sslopt-case.h
1534
0644
edit
dl
rm
sslopt-longopts.h
2595
0644
edit
dl
rm
sslopt-vars.h
1405
0644
edit
dl
rm
typelib.h
2396
0644
edit
dl
rm
Edit:
/usr/include/mysql/server/my_compiler.h
(5266B)
#ifndef MY_COMPILER_INCLUDED #define MY_COMPILER_INCLUDED /* Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. Copyright (c) 2017, 2022, MariaDB Corporation. 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 */ /** Header for compiler-dependent features. Intended to contain a set of reusable wrappers for preprocessor macros, attributes, pragmas, and any other features that are specific to a target compiler. */ /** Compiler-dependent internal convenience macros. */ /* C vs C++ */ #ifdef __cplusplus #define CONSTEXPR constexpr #else #define CONSTEXPR #endif /* __cplusplus */ /* GNU C/C++ */ #if defined __GNUC__ # define MY_ALIGN_EXT /* __builtin_unreachable() removes the "statement may fall through" warning-as- error when MY_ASSERT_UNREACHABLE() is used in "case xxx:" in switch (...) statements. abort() is there to prevent the execution from reaching the __builtin_unreachable() as this may cause misleading stack traces. */ # define MY_ASSERT_UNREACHABLE() { abort(); __builtin_unreachable(); } /* Microsoft Visual C++ */ #elif defined _MSC_VER # define MY_ALIGNOF(type) __alignof(type) # define MY_ALIGNED(n) __declspec(align(n)) /* Oracle Solaris Studio */ #elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) # if __SUNPRO_C >= 0x590 # define MY_ALIGN_EXT # endif /* IBM XL C/C++ */ #elif defined __xlC__ # if __xlC__ >= 0x0600 # define MY_ALIGN_EXT # endif /* HP aCC */ #elif defined(__HP_aCC) || defined(__HP_cc) # if (__HP_aCC >= 60000) || (__HP_cc >= 60000) # define MY_ALIGN_EXT # endif #endif #ifdef MY_ALIGN_EXT /** Specifies the minimum alignment of a type. */ # define MY_ALIGNOF(type) __alignof__(type) /** Determine the alignment requirement of a type. */ # define MY_ALIGNED(n) __attribute__((__aligned__((n)))) #endif /** Generic (compiler-independent) features. */ #ifndef MY_ALIGNOF # ifdef __cplusplus template<typename type> struct my_alignof_helper { char m1; type m2; }; /* Invalid for non-POD types, but most compilers give the right answer. */ # define MY_ALIGNOF(type) offsetof(my_alignof_helper<type>, m2) # else # define MY_ALIGNOF(type) offsetof(struct { char m1; type m2; }, m2) # endif #endif #ifndef MY_ASSERT_UNREACHABLE # define MY_ASSERT_UNREACHABLE() do { abort(); } while (0) #endif /** C++ Type Traits */ #ifdef __cplusplus /** Opaque storage with a particular alignment. */ # if defined(MY_ALIGNED) /* Partial specialization used due to MSVC++. */ template<size_t alignment> struct my_alignment_imp; template<> struct MY_ALIGNED(1) my_alignment_imp<1> {}; template<> struct MY_ALIGNED(2) my_alignment_imp<2> {}; template<> struct MY_ALIGNED(4) my_alignment_imp<4> {}; template<> struct MY_ALIGNED(8) my_alignment_imp<8> {}; template<> struct MY_ALIGNED(16) my_alignment_imp<16> {}; /* ... expand as necessary. */ # else template<size_t alignment> struct my_alignment_imp { double m1; }; # endif /** A POD type with a given size and alignment. @remark If the compiler does not support a alignment attribute (MY_ALIGN macro), the default alignment of a double is used instead. @tparam size The minimum size. @tparam alignment The desired alignment: 1, 2, 4, 8 or 16. */ template <size_t size, size_t alignment> struct my_aligned_storage { union { char data[size]; my_alignment_imp<alignment> align; }; }; #endif /* __cplusplus */ # ifndef MY_ALIGNED /* Make sure MY_ALIGNED can be used also on platforms where we don't have a way of aligning data structures. */ #define MY_ALIGNED(size) #endif #ifdef __GNUC__ # define ATTRIBUTE_NORETURN __attribute__((noreturn)) # define ATTRIBUTE_NOINLINE __attribute__((noinline)) /** Starting with GCC 4.3, the "cold" attribute is used to inform the compiler that a function is unlikely executed. The function is optimized for size rather than speed and on many targets it is placed into special subsection of the text section so all cold functions appears close together improving code locality of non-cold parts of program. The paths leading to call of cold functions within code are marked as unlikely by the branch prediction mechanism. optimize a rarely invoked function for size instead for speed. */ # define ATTRIBUTE_COLD __attribute__((cold)) #elif defined _MSC_VER # define ATTRIBUTE_NORETURN __declspec(noreturn) # define ATTRIBUTE_NOINLINE __declspec(noinline) #else # define ATTRIBUTE_NORETURN /* empty */ # define ATTRIBUTE_NOINLINE /* empty */ #endif #ifndef ATTRIBUTE_COLD # define ATTRIBUTE_COLD /* empty */ #endif #include <my_attribute.h> #endif /* MY_COMPILER_INCLUDED */
Save
cmd:
run