first what so ever registration
This commit is contained in:
parent
0c50cfa639
commit
99a9fd507e
17 changed files with 285 additions and 25 deletions
16
database/mysql/transaction.h
Normal file
16
database/mysql/transaction.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#include "mysql.h"
|
||||
|
||||
class MySQL::Transaction {
|
||||
public:
|
||||
Transaction(MYSQL* connection);
|
||||
~Transaction();
|
||||
|
||||
void commit();
|
||||
void abort();
|
||||
|
||||
private:
|
||||
MYSQL* con;
|
||||
bool opened;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue