12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #ifndef BOOST_MYSQL_DETAIL_FLAGS_HPP
- #define BOOST_MYSQL_DETAIL_FLAGS_HPP
- #include <boost/config.hpp>
- #include <cstdint>
- namespace boost {
- namespace mysql {
- namespace detail {
- namespace column_flags {
- BOOST_INLINE_CONSTEXPR std::uint16_t not_null = 1;
- BOOST_INLINE_CONSTEXPR std::uint16_t pri_key = 2;
- BOOST_INLINE_CONSTEXPR std::uint16_t unique_key = 4;
- BOOST_INLINE_CONSTEXPR std::uint16_t multiple_key = 8;
- BOOST_INLINE_CONSTEXPR std::uint16_t blob = 16;
- BOOST_INLINE_CONSTEXPR std::uint16_t unsigned_ = 32;
- BOOST_INLINE_CONSTEXPR std::uint16_t zerofill = 64;
- BOOST_INLINE_CONSTEXPR std::uint16_t binary = 128;
- BOOST_INLINE_CONSTEXPR std::uint16_t enum_ = 256;
- BOOST_INLINE_CONSTEXPR std::uint16_t auto_increment = 512;
- BOOST_INLINE_CONSTEXPR std::uint16_t timestamp = 1024;
- BOOST_INLINE_CONSTEXPR std::uint16_t set = 2048;
- BOOST_INLINE_CONSTEXPR std::uint16_t no_default_value = 4096;
- BOOST_INLINE_CONSTEXPR std::uint16_t on_update_now = 8192;
- BOOST_INLINE_CONSTEXPR std::uint16_t part_key = 16384;
- BOOST_INLINE_CONSTEXPR std::uint16_t num = 32768;
- }
- namespace status_flags {
- BOOST_INLINE_CONSTEXPR std::uint32_t more_results = 8;
- BOOST_INLINE_CONSTEXPR std::uint32_t no_backslash_escapes = 512;
- BOOST_INLINE_CONSTEXPR std::uint32_t out_params = 4096;
- }
- }
- }
- }
- #endif
|