ovsdb: Use direct pointer from table to txn_table to simplify code.
[sliver-openvswitch.git] / ovsdb / table.c
index b520580..e15857b 100644 (file)
@@ -169,6 +169,7 @@ ovsdb_table_create(struct ovsdb_table_schema *ts)
 
     table = xmalloc(sizeof *table);
     table->schema = ts;
+    table->txn_table = NULL;
     hmap_init(&table->rows);
 
     return table;