first what so ever registration

This commit is contained in:
Blue 2023-12-20 19:42:13 -03:00
parent 0c50cfa639
commit 99a9fd507e
Signed by: blue
GPG key ID: 9B203B252A63EE38
17 changed files with 285 additions and 25 deletions

View 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;
};