mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
b7ef5a699c
* Get rid of non-existent vectorclass * Move FastMemcpy to contribs * Restore comments * Disable FastMemcpy on non-Linux * Fix cmake file * Don't build FastMemcpy for ARM64 * Replace FastMemcpy submodule with its contents * Fix cmake file * Move widechar_width to contrib/ * Move sumbur to contrib/ * Move consistent-hashing to contrib/ * Fix UBSan tests
34 lines
492 B
C++
34 lines
492 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
#ifndef _mysql_h
|
|
|
|
struct st_mysql;
|
|
using MYSQL = st_mysql;
|
|
|
|
struct st_mysql_res;
|
|
using MYSQL_RES = st_mysql_res;
|
|
|
|
using MYSQL_ROW = char**;
|
|
|
|
struct st_mysql_field;
|
|
using MYSQL_FIELD = st_mysql_field;
|
|
|
|
#endif
|
|
|
|
namespace mysqlxx
|
|
{
|
|
|
|
using UInt64 = uint64_t;
|
|
using Int64 = int64_t;
|
|
using UInt32 = uint32_t;
|
|
using Int32 = int32_t;
|
|
|
|
using MYSQL_LENGTH = unsigned long;
|
|
using MYSQL_LENGTHS = MYSQL_LENGTH *;
|
|
using MYSQL_FIELDS = MYSQL_FIELD *;
|
|
|
|
}
|