diff options
Diffstat (limited to 'libmysqlpp/my-selectcommand.h')
-rw-r--r-- | libmysqlpp/my-selectcommand.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/libmysqlpp/my-selectcommand.h b/libmysqlpp/my-selectcommand.h index b9a0edc..9613731 100644 --- a/libmysqlpp/my-selectcommand.h +++ b/libmysqlpp/my-selectcommand.h @@ -1,26 +1,24 @@ #ifndef MY_SELECTCOMMAND_H #define MY_SELECTCOMMAND_H -#include <selectcommand.h> #include "my-command.h" +#include <selectcommand.h> namespace MySQL { class Connection; class ColumnBase; class SelectCommand : public DB::SelectCommand, public Command { - public: - SelectCommand(const Connection *, const std::string & sql); + public: + SelectCommand(const Connection *, const std::string & sql); - bool fetch() override; - void execute() override; + bool fetch() override; + void execute() override; - private: - bool prepared; - bool executed; - Binds fields; + private: + bool prepared; + bool executed; + Binds fields; }; } #endif - - |