Searched refs:transaction (Results 1 - 19 of 19) sorted by relevance

/freebsd-current/contrib/kyua/utils/sqlite/
H A Dtransaction_fwd.hpp30 /// Forward declarations for utils/sqlite/transaction.hpp
39 class transaction;
H A Dtransaction.hpp29 /// \file utils/sqlite/transaction.hpp
47 /// A transaction is automatically rolled back when it goes out of scope unless
49 class transaction { class in namespace:utils::sqlite
55 explicit transaction(database&);
59 ~transaction(void);
H A Dtransaction.cpp29 #include "utils/sqlite/transaction.hpp"
42 /// Internal implementation for the transaction.
43 struct utils::sqlite::transaction::impl : utils::noncopyable {
44 /// The database this transaction belongs to.
47 /// Possible statuses of a transaction.
54 /// The current status of the transaction.
57 /// Constructs a new transaction.
59 /// \param db_ The database this transaction belongs to.
60 /// \param status_ The status of the new transaction.
67 /// Destroys the transaction
113 sqlite::transaction::transaction(database& db) : function in class:sqlite::transaction
[all...]
H A Dtransaction_test.cpp29 #include "utils/sqlite/transaction.hpp"
78 sqlite::transaction tx = db.begin_transaction();
93 sqlite::transaction tx = db.begin_transaction();
109 sqlite::transaction tx = db.begin_transaction();
123 sqlite::transaction tx = db.begin_transaction();
H A Ddatabase.hpp101 transaction begin_transaction(void);
H A Ddatabase.cpp46 #include "utils/sqlite/transaction.hpp"
290 /// Opens a new transaction.
292 /// \return An object representing the state of the transaction.
294 /// \throw api_error If there is any problem while opening the transaction.
295 sqlite::transaction
299 return transaction(*this);
H A Ddatabase_test.cpp38 #include "utils/sqlite/transaction.hpp"
231 sqlite::transaction stmt = db.begin_transaction();
/freebsd-current/sys/contrib/ck/src/
H A Dck_array.c69 array->transaction = NULL;
80 * If no transaction copy has been necessary, attempt to do in-place
83 if (array->transaction == NULL) {
108 target = array->transaction;
121 array->transaction = target;
135 if (array->transaction != NULL) {
136 v = array->transaction->values;
155 if (array->transaction != NULL) {
156 target = array->transaction;
186 * If there is no immediate opportunity for transaction, allocat
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5fpga_xfer.c53 struct mlx5_fpga_transaction transaction; member in struct:xfer_transaction
100 /* Determine largest possible transaction at this point */
108 xfer_trans->transaction.addr = pos_addr;
109 xfer_trans->transaction.complete1 = trans_complete;
110 xfer_trans->transaction.conn = xfer_state->xfer->conn;
111 xfer_trans->transaction.data = pos_data;
112 xfer_trans->transaction.direction = xfer_state->xfer->direction;
113 xfer_trans->transaction.size = cur_size;
118 xfer_trans->transaction.size,
119 xfer_trans->transaction
[all...]
/freebsd-current/contrib/kyua/store/
H A Dschema_inttest.cpp86 store::read_transaction transaction = backend.start_read(); local
92 ATF_REQUIRE_EQ(context, transaction.get_context());
94 store::results_iterator iter = transaction.get_results();
106 store::read_transaction transaction = backend.start_read(); local
114 ATF_REQUIRE_EQ(context, transaction.get_context());
161 store::results_iterator iter = transaction.get_results();
223 store::read_transaction transaction = backend.start_read(); local
230 ATF_REQUIRE_EQ(context, transaction.get_context());
281 store::results_iterator iter = transaction.get_results();
333 store::read_transaction transaction local
[all...]
H A Dwrite_transaction.cpp58 #include "utils/sqlite/transaction.hpp"
188 /// Internal implementation for a store write-only transaction.
193 /// The SQLite database this transaction deals with.
196 /// The backing SQLite transaction.
197 sqlite::transaction _tx;
199 /// Opens a transaction.
201 /// \param backend_ The backend this transaction is connected to.
211 /// Creates a new write-only transaction.
213 /// \param backend_ The backend this transaction belongs to.
226 /// Commits the transaction
[all...]
H A Dschema_v3.sql32 -- The whole contents of this file are wrapped in a transaction. We want
247 -- the database creation (i.e. the whole transaction) succeeded.
H A Dread_transaction.cpp56 #include "utils/sqlite/transaction.hpp"
440 /// Internal implementation for a store read-only transaction.
445 /// The SQLite database this transaction deals with.
448 /// The backing SQLite transaction.
449 sqlite::transaction _tx;
451 /// Opens a transaction.
453 /// \param backend_ The backend this transaction is connected to.
463 /// Creates a new read-only transaction.
465 /// \param backend_ The backend this transaction belongs to.
478 /// Finishes the transaction
[all...]
H A Dschema_v1.sql32 -- The whole contents of this file are wrapped in a transaction. We want
306 -- the database creation (i.e. the whole transaction) succeeded.
H A Dschema_v2.sql32 -- The whole contents of this file are wrapped in a transaction. We want
285 -- the database creation (i.e. the whole transaction) succeeded.
/freebsd-current/sys/contrib/ck/include/
H A Dck_array.h47 struct _ck_array *transaction; member in struct:ck_array
/freebsd-current/sys/dev/ixl/
H A Di40e_nvm.c1319 /* In some circumstances, a multi-write transaction takes longer
1420 u8 module, transaction; local
1427 transaction = i40e_nvmupd_get_transaction(cmd->config);
1442 switch (transaction) {
1478 switch (transaction) {
1718 u8 module, transaction; local
1721 transaction = i40e_nvmupd_get_transaction(cmd->config);
1723 last = (transaction == I40E_NVM_LCB) || (transaction == I40E_NVM_SA);
1757 u8 module, transaction; local
1797 u8 module, transaction; local
[all...]
/freebsd-current/contrib/wpa/src/utils/
H A Dpcsc_funcs.c529 int transaction = 0; local
626 wpa_printf(MSG_DEBUG, "SCARD: Could not begin transaction: "
630 transaction = 1;
697 wpa_printf(MSG_DEBUG, "SCARD: Could not end transaction: "
704 if (transaction)
/freebsd-current/contrib/sqlite3/
H A Dsqlite3.c655 ** ^If an [sqlite3] object is destroyed while a transaction is open,
656 ** the transaction is automatically rolled back.
1196 ** current transaction. This hint is not guaranteed to be accurate but it
1249 ** and sent to the VFS after a transaction has been committed immediately
1276 ** files used for transaction control
1300 ** a write transaction to indicate that, unless it is rolled back for some
1302 ** transaction. This is used by VACUUM operations.
1499 ** transaction open on the database or not. It is only available on unix.The
1503 ** currently has an SQL transaction open on the database. It is set to 0 if
1513 ** If there is currently no transaction ope
[all...]

Completed in 398 milliseconds