mirror of
https://github.com/openvswitch/ovs
synced 2025-10-23 14:57:06 +00:00
ovsdb-idl: Remove write-only member 'commit_seqno' from ovsdb_idl_txn.
Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
This commit is contained in:
@@ -91,7 +91,6 @@ struct ovsdb_idl_txn {
|
|||||||
char *error;
|
char *error;
|
||||||
bool dry_run;
|
bool dry_run;
|
||||||
struct ds comment;
|
struct ds comment;
|
||||||
unsigned int commit_seqno;
|
|
||||||
|
|
||||||
/* Increments. */
|
/* Increments. */
|
||||||
const char *inc_table;
|
const char *inc_table;
|
||||||
@@ -1242,7 +1241,6 @@ ovsdb_idl_txn_create(struct ovsdb_idl *idl)
|
|||||||
txn->error = NULL;
|
txn->error = NULL;
|
||||||
txn->dry_run = false;
|
txn->dry_run = false;
|
||||||
ds_init(&txn->comment);
|
ds_init(&txn->comment);
|
||||||
txn->commit_seqno = txn->idl->change_seqno;
|
|
||||||
|
|
||||||
txn->inc_table = NULL;
|
txn->inc_table = NULL;
|
||||||
txn->inc_column = NULL;
|
txn->inc_column = NULL;
|
||||||
|
|||||||
@@ -733,7 +733,6 @@ class Transaction(object):
|
|||||||
self._status = Transaction.UNCOMMITTED
|
self._status = Transaction.UNCOMMITTED
|
||||||
self._error = None
|
self._error = None
|
||||||
self._comments = []
|
self._comments = []
|
||||||
self._commit_seqno = self.idl.change_seqno
|
|
||||||
|
|
||||||
self._inc_row = None
|
self._inc_row = None
|
||||||
self._inc_column = None
|
self._inc_column = None
|
||||||
|
|||||||
Reference in New Issue
Block a user