/* Set "auto commit" property of the connection. If 'true', then rollback current transaction. If 'false', then start a new transaction.  */
static int conn_setautocommit(lua_State *L)
/* Set "auto commit" property of the connection. If 'true', then rollback current transaction. If 'false', then start a new transaction.  */
static int conn_setautocommit(lua_State *L)
{
		conn->auto_commit = 1;
		ASSERT (L, OCITransRollback (conn->svchp, conn->errhp,
			OCI_DEFAULT), conn->errhp);
	}
	else {
		conn->auto_commit = 0;
	}
	lua_pushboolean(L, 1);
	return 1;
}