Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix sip bindings for QgsTransaction
  • Loading branch information
m-kuhn committed Jun 1, 2015
1 parent 454e1fe commit 55db2ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/core/qgstransaction.sip
Expand Up @@ -45,14 +45,14 @@ class QgsTransaction /Abstract/
* statements block until the conflicting transaction is committed or
* rolled back.
* Some providers might not honour the statement timeout. */
bool begin( QString& errorMsg, int statementTimeout = 20 );
bool begin( QString& errorMsg /Out/, int statementTimeout = 20 );

/** Commit transaction. All layers need to be in read-only mode. */
bool commit( QString& errorMsg );
bool commit( QString& errorMsg /Out/ );

/** Roll back transaction. All layers need to be in read-only mode. */
bool rollback( QString& errorMsg );
bool rollback( QString& errorMsg /Out/ );

/** Executes sql */
virtual bool executeSql( const QString& sql, QString& error ) = 0;
virtual bool executeSql( const QString& sql, QString& error /Out/ ) = 0;
};

0 comments on commit 55db2ab

Please sign in to comment.