From 279479cddc9336345adf2efad2490297bdf6eeb9 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Fri, 3 Jun 2016 21:33:21 +0300 Subject: [PATCH] Partial untested implementation of the MySQL module. --- cbp/ModMySQL.cbp | 92 +++- cbp/default.workspace | 1 + modules/mysql/Account.cpp | 153 ++++-- modules/mysql/Account.hpp | 272 +++++++--- modules/mysql/Bind.cpp | 10 - modules/mysql/Bind.hpp | 17 - modules/mysql/Column.hpp | 6 +- modules/mysql/Common.cpp | 64 --- modules/mysql/Common.hpp | 140 +----- modules/mysql/Connection.cpp | 112 ++++- modules/mysql/Connection.hpp | 279 +++++++++-- modules/mysql/Datetime.cpp | 10 - modules/mysql/Datetime.hpp | 17 - modules/mysql/Decimal.cpp | 10 - modules/mysql/Decimal.hpp | 17 - modules/mysql/Handle/Connection.cpp | 207 ++++++++ modules/mysql/Handle/Connection.hpp | 387 +++++++++++++++ modules/mysql/Handle/Result.cpp | 240 +++++++++ modules/mysql/Handle/Result.hpp | 409 +++++++++++++++ modules/mysql/Handle/Statement.cpp | 198 ++++++++ modules/mysql/Handle/Statement.hpp | 441 ++++++++++++++++ modules/mysql/Handles.cpp | 25 - modules/mysql/Handles.hpp | 691 -------------------------- modules/mysql/Module.cpp | 278 +++++------ modules/mysql/Module.hpp | 41 -- modules/mysql/Result.cpp | 10 - modules/mysql/Result.hpp | 17 - modules/mysql/ResultSet.cpp | 115 +++++ modules/mysql/ResultSet.hpp | 139 ++++++ modules/mysql/Savepoint.hpp | 6 +- modules/mysql/Statement.cpp | 247 ++++++++- modules/mysql/Statement.hpp | 187 ++++++- modules/mysql/Transaction.hpp | 6 +- modules/mysql/Wrapper/CharsetInfo.cpp | 0 modules/mysql/Wrapper/CharsetInfo.hpp | 0 35 files changed, 3487 insertions(+), 1357 deletions(-) delete mode 100644 modules/mysql/Bind.cpp delete mode 100644 modules/mysql/Bind.hpp delete mode 100644 modules/mysql/Datetime.cpp delete mode 100644 modules/mysql/Datetime.hpp delete mode 100644 modules/mysql/Decimal.cpp delete mode 100644 modules/mysql/Decimal.hpp create mode 100644 modules/mysql/Handle/Connection.cpp create mode 100644 modules/mysql/Handle/Connection.hpp create mode 100644 modules/mysql/Handle/Result.cpp create mode 100644 modules/mysql/Handle/Result.hpp create mode 100644 modules/mysql/Handle/Statement.cpp create mode 100644 modules/mysql/Handle/Statement.hpp delete mode 100644 modules/mysql/Handles.cpp delete mode 100644 modules/mysql/Handles.hpp delete mode 100644 modules/mysql/Module.hpp delete mode 100644 modules/mysql/Result.cpp delete mode 100644 modules/mysql/Result.hpp create mode 100644 modules/mysql/ResultSet.cpp create mode 100644 modules/mysql/ResultSet.hpp create mode 100644 modules/mysql/Wrapper/CharsetInfo.cpp create mode 100644 modules/mysql/Wrapper/CharsetInfo.hpp diff --git a/cbp/ModMySQL.cbp b/cbp/ModMySQL.cbp index 05157dc2..aca294f8 100644 --- a/cbp/ModMySQL.cbp +++ b/cbp/ModMySQL.cbp @@ -7,6 +7,7 @@