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>
|
|
|
|
|
2016-02-03 01:17:58 +00:00
|
|
|
#include <common/LocalDate.h>
|
|
|
|
#include <common/LocalDateTime.h>
|
2011-03-03 19:57:34 +00:00
|
|
|
|
|
|
|
|
2017-01-13 20:37:37 +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
|
|
|
|
{
|
|
|
|
|
2016-05-28 10:35:44 +00:00
|
|
|
using UInt64 = Poco::UInt64;
|
|
|
|
using Int64 = Poco::Int64;
|
|
|
|
using UInt32 = Poco::UInt32;
|
|
|
|
using Int32 = Poco::Int32;
|
2011-03-03 19:57:34 +00:00
|
|
|
|
2016-05-28 10:35:44 +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
|
|
|
|
|
|
|
}
|