mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-18 22:40:50 +00:00
28 lines
441 B
C++
28 lines
441 B
C++
#ifndef MYSQLXX_TYPES_H
|
||
#define MYSQLXX_TYPES_H
|
||
|
||
#include <string>
|
||
|
||
#include <mysql/mysql.h>
|
||
|
||
|
||
namespace mysqlxx
|
||
{
|
||
|
||
typedef unsigned long long UInt64;
|
||
typedef long long Int64;
|
||
typedef unsigned UInt32;
|
||
typedef int Int32;
|
||
|
||
typedef unsigned long * MYSQL_LENGTHS;
|
||
typedef MYSQL_FIELD * MYSQL_FIELDS;
|
||
|
||
/// Для совместимости с mysql++
|
||
typedef time_t sql_datetime;
|
||
typedef time_t sql_date;
|
||
typedef std::string sql_char;
|
||
|
||
}
|
||
|
||
#endif
|