2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
43#include "database/mariadb/commands/async/MariaDBFreeResultCommand.h"
45#ifndef DOXYGEN_SHOULD_SKIP_THIS
52 const std::function<
void(
void)>& onFreeResult,
53 const std::function<
void(
const std::string&,
unsigned int)>& onError)
60 if (result !=
nullptr) {
61 mysql_free_result(result);
68 if (result !=
nullptr) {
69 ret = mysql_free_result_start(result);
76 return mysql_free_result_cont(result, status);
88 onError(errorString, errorNumber);
bool commandCompleted() override
int commandStart() override
~MariaDBFreeResultCommand() override
MariaDBFreeResultCommand(MYSQL_RES *&result, const std::function< void(void)> &onFreeResult, const std::function< void(const std::string &, unsigned int)> &onError)
void commandError(const std::string &errorString, unsigned int errorNumber) override
int commandContinue(int status) override