#[allow(non_upper_case_globals, non_camel_case_types, non_snake_case)]
#[allow(missing_docs, unreachable_pub, missing_debug_implementations)]
#[allow(clippy::all, clippy::pedantic)]
mod generated {
include!("sys_bindings.rs");
}
pub use generated::*;
pub const HA_BINLOG_ROW_CAPABLE: u64 = 1 << 34;
pub const HA_BINLOG_STMT_CAPABLE: u64 = 1 << 35;
pub const HTON_CAN_RECREATE: u32 = 1 << 2;
pub const HA_READ_NEXT: u32 = 1;
pub const HA_READ_PREV: u32 = 2;
pub const HA_READ_ORDER: u32 = 4;
pub const HA_READ_RANGE: u32 = 8;
#[repr(C)]
#[derive(Debug)]
pub struct RustHandlerBase([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct TABLE([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct TABLE_SHARE([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct THD([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct XID([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct DdTable([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct DdColumn([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct DdIndex([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct DdIndexElement([u8; 0]);
#[allow(non_camel_case_types)]
#[repr(C)]
#[derive(Debug)]
pub struct HA_CREATE_INFO([u8; 0]);
#[allow(non_camel_case_types)]
#[repr(C)]
#[derive(Debug)]
pub struct KEY([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct ListCreateField([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct RowsMysql([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct BulkLoadStatCallbacks([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct MysqlString([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct FtHints([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct RangeSeqIf([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct CostEstimate([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct HandlerBuffer([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct Field([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct AlterInplaceInfo([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct HaCheckOpt([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct MdlKey([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct DdTablespace([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct StAlterTablespace([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct SdiKey([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct SdiVector([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct JsonDom([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct HaFkColumnType([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct Lex([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct Join([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct JoinHypergraph([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct AccessPath([u8; 0]);
#[repr(C)]
#[derive(Debug)]
pub struct HaCloneCbk([u8; 0]);
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn ha_err_end_of_file_is_137() {
assert_eq!(HA_ERR_END_OF_FILE, 137);
}
#[test]
fn ha_binlog_stmt_capable_bit() {
assert_eq!(HA_BINLOG_STMT_CAPABLE, 1u64 << 35);
}
#[test]
fn hton_can_recreate_bit() {
assert_eq!(HTON_CAN_RECREATE, 1u32 << 2);
}
}