ClickHouse/libs/libmysqlxx/include/mysqlxx/Types.h

36 lines
555 B
C++
Raw Normal View History

2014-04-08 06:51:53 +00:00
#pragma once
2011-03-03 19:57:34 +00:00
2011-03-05 16:56:30 +00:00
#include <string>
2011-03-10 20:31:02 +00:00
#include <Poco/Types.h>
#include <common/LocalDate.h>
#include <common/LocalDateTime.h>
2011-03-03 19:57:34 +00:00
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;
2011-03-03 19:57:34 +00:00
namespace mysqlxx
{
using UInt64 = Poco::UInt64;
using Int64 = Poco::Int64;
using UInt32 = Poco::UInt32;
using Int32 = Poco::Int32;
2011-03-03 19:57:34 +00:00
using MYSQL_LENGTH = unsigned long;
using MYSQL_LENGTHS = MYSQL_LENGTH *;
using MYSQL_FIELDS = MYSQL_FIELD *;
2011-03-03 19:57:34 +00:00
}