ClickHouse/libs/libmysqlxx/include/mysqlxx/Types.h
2011-03-09 19:18:01 +00:00

28 lines
470 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>
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_timestamp;
typedef time_t sql_date;
typedef std::string sql_char;
}
#endif