File indexing completed on 2025-07-01 08:22:20
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_MYSQL_DETAIL_FLAGS_HPP
0009 #define BOOST_MYSQL_DETAIL_FLAGS_HPP
0010
0011 #include <boost/config.hpp>
0012
0013 #include <cstdint>
0014
0015 namespace boost {
0016 namespace mysql {
0017 namespace detail {
0018
0019 namespace column_flags {
0020
0021 BOOST_INLINE_CONSTEXPR std::uint16_t not_null = 1;
0022 BOOST_INLINE_CONSTEXPR std::uint16_t pri_key = 2;
0023 BOOST_INLINE_CONSTEXPR std::uint16_t unique_key = 4;
0024 BOOST_INLINE_CONSTEXPR std::uint16_t multiple_key = 8;
0025 BOOST_INLINE_CONSTEXPR std::uint16_t blob = 16;
0026 BOOST_INLINE_CONSTEXPR std::uint16_t unsigned_ = 32;
0027 BOOST_INLINE_CONSTEXPR std::uint16_t zerofill = 64;
0028 BOOST_INLINE_CONSTEXPR std::uint16_t binary = 128;
0029 BOOST_INLINE_CONSTEXPR std::uint16_t enum_ = 256;
0030 BOOST_INLINE_CONSTEXPR std::uint16_t auto_increment = 512;
0031 BOOST_INLINE_CONSTEXPR std::uint16_t timestamp = 1024;
0032 BOOST_INLINE_CONSTEXPR std::uint16_t set = 2048;
0033 BOOST_INLINE_CONSTEXPR std::uint16_t no_default_value = 4096;
0034 BOOST_INLINE_CONSTEXPR std::uint16_t on_update_now = 8192;
0035 BOOST_INLINE_CONSTEXPR std::uint16_t part_key = 16384;
0036 BOOST_INLINE_CONSTEXPR std::uint16_t num = 32768;
0037
0038 }
0039
0040 namespace status_flags {
0041
0042 BOOST_INLINE_CONSTEXPR std::uint32_t more_results = 8;
0043 BOOST_INLINE_CONSTEXPR std::uint32_t no_backslash_escapes = 512;
0044 BOOST_INLINE_CONSTEXPR std::uint32_t out_params = 4096;
0045
0046 }
0047
0048 }
0049 }
0050 }
0051
0052 #endif