summaryrefslogtreecommitdiff
path: root/libmysqlpp/modifycommand.h
blob: abb3507b0c5eb34aae3e4f99a19dbdfe534a909e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef MY_MODIFYCOMMAND_H
#define MY_MODIFYCOMMAND_H

#include <modifycommand.h>
#include "command.h"

namespace MySQL {
	class Connection;
	class ModifyCommand : public DB::ModifyCommand, public Command {
		public:
			ModifyCommand(const Connection *, const std::string & sql);
			virtual ~ModifyCommand();

			unsigned int execute(bool);

		private:
			void prepare() const;
			mutable bool prepared;
	};
}

#endif