mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix sip bindings for QgsTransaction
This commit is contained in:
parent
454e1fef09
commit
55db2abc5c
@ -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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user