1
0
forked from blue/pica
pica/database/mysql/transaction.h

17 lines
209 B
C
Raw Normal View History

2023-12-20 22:42:13 +00:00
#pragma once
#include "mysql.h"
class MySQL::Transaction {
public:
Transaction(MYSQL* connection);
~Transaction();
void commit();
void abort();
private:
MYSQL* con;
bool opened;
};