ClickHouse/libs/libmysqlxx/include/mysqlxx/Types.h
2011-03-10 20:31:02 +00:00

32 lines
561 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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 DateTime sql_datetime;
typedef DateTime sql_timestamp;
typedef Date sql_date;
typedef std::string sql_char;
}
#endif