Skip to content
Permalink
Browse files
Fix sip bindings for QgsTransaction
  • Loading branch information
m-kuhn committed Jun 1, 2015
1 parent 454e1fe commit 55db2abc5c9cd3c962c7505cc64e7479a80b812e
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/core/qgstransaction.sip
@@ -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.