mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-18 22:40:50 +00:00
32 lines
609 B
C++
32 lines
609 B
C++
#ifndef MYSQLXX_TYPES_H
|
||
#define MYSQLXX_TYPES_H
|
||
|
||
#include <string>
|
||
#include <mysql/mysql.h>
|
||
#include <Poco/Types.h>
|
||
|
||
#include <mysqlxx/Date.h>
|
||
#include <mysqlxx/DateTime.h>
|
||
|
||
|
||
namespace mysqlxx
|
||
{
|
||
|
||
typedef Poco::UInt64 UInt64;
|
||
typedef Poco::Int64 Int64;
|
||
typedef Poco::UInt32 UInt32;
|
||
typedef Poco::Int32 Int32;
|
||
|
||
typedef unsigned long * MYSQL_LENGTHS;
|
||
typedef MYSQL_FIELD * MYSQL_FIELDS;
|
||
|
||
/// Для совместимости с mysql++. Не используйте эти typedef-ы.
|
||
typedef DateTime sql_datetime;
|
||
typedef DateTime sql_timestamp;
|
||
typedef Date sql_date;
|
||
typedef std::string sql_char;
|
||
|
||
}
|
||
|
||
#endif
|