Skip to content

Commit

Permalink
Add draft transactions support
Browse files Browse the repository at this point in the history
  • Loading branch information
SevDan committed Jan 10, 2021
1 parent 85928e7 commit d91aed5
Show file tree
Hide file tree
Showing 2 changed files with 254 additions and 80 deletions.
9 changes: 7 additions & 2 deletions include/CFunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
*
* ml_base, External lua add-on module
*
* Copyright © 2003-2008 MTA. All Rights Reserved.
* Copyright 2003-2008 MTA. All Rights Reserved.
*
* Grand Theft Auto is © 2002-2003 Rockstar North
* Grand Theft Auto is 2002-2003 Rockstar North
*
* THE FOLLOWING SOURCES ARE PART OF THE MULTI THEFT
* AUTO SOFTWARE DEVELOPMENT KIT AND ARE RELEASED AS
Expand All @@ -33,6 +33,11 @@ extern ILuaModuleManager10 *pModuleManager;
class CFunctions
{
public:
// transaction functions
static int pg_tx_begin(lua_State* luaVM);
static int pg_tx_rollback(lua_State* luaVM);
static int pg_tx_commit(lua_State* luaVM);

static int pg_conn(lua_State* luaVM);
static int pg_query(lua_State* luaVM);
static int pg_poll(lua_State* luaVM);
Expand Down
Loading

0 comments on commit d91aed5

Please sign in to comment.