IBASE_TRANS(3) 1 IBASE_TRANS(3)ibase_trans - Begin a transactionSYNOPSIS
resource ibase_trans ([int $trans_args], [resource $link_identifier])
DESCRIPTION
resource ibase_trans ([resource $link_identifier], [int $trans_args])
Begins a transaction.
Note
The first call to ibase_trans(3) will not return the default transaction of a connection. All transactions started by
ibase_trans(3) will be rolled back at the end of the script if they were not committed or rolled back by either ibase_commit(3) or
ibase_rollback(3).
Note
This function will accept multiple $trans_args and $link_identifier arguments. This allows transactions over multiple database con-
nections, which are committed using a 2-phase commit algorithm. This means you can rely on the updates to either succeed in every
database, or fail in every database. It does NOT mean you can use tables from different databases in the same query!
If you use transactions over multiple databases, you will have to specify both the $link_id and $transaction_id in calls to
ibase_query(3) and ibase_prepare(3).
PARAMETERS
o $trans_args
-$trans_args can be a combination of IBASE_READ, IBASE_WRITE, IBASE_COMMITTED, IBASE_CONSISTENCY, IBASE_CONCURRENCY,
IBASE_REC_VERSION, IBASE_REC_NO_VERSION, IBASE_WAIT and IBASE_NOWAIT.
o $link_identifier
- An InterBase link identifier. If omitted, the last opened link is assumed.
RETURN VALUES
Returns a transaction handle, or FALSE on error.
PHP Documentation Group IBASE_TRANS(3)
with my script i am trying to read what all the transactions happened that day like create,delete,update,etc. I also need to get the userid of that transaction. Once I login to my test machine, i loginto test env doing
su - env6. So i cannot get id as my login id. Any ideas??
Gundu (2 Replies)
Wondering if someone can help with my task of identifying missing detail lines in transactions.
I have a flat file that contains transaction header, transaction detail, and transaction trailer lines. These lines are identified with a 5-character line identifier "THEAD", "TDETL", and "TTAIL" at... (2 Replies)
We have very large transaction logs that have transactions which start with a line that starts with 'Begin :' and ends with a line that starts with 'End :'. For most transactions there is valid data between those two lines.
I am trying to get rid of lines that look like this:
Begin :... (11 Replies)
Here is a shell for printing committed person's:
1. Revision number
2. Name
3. Date of commit
4. Files committed.
5. committing comment
6. Date
I just made for my usage. May be helpful for you too.
Do as follows.
create a file
$ vi svn_get_user_committed_files_details.sh
press i... (3 Replies)
So, I have this command:
mkdir rolled
for %%x in (*gif) do convert %%x -roll +2+6 %%x|move %%x rolled
I'd like to have the +2 and +6 accumulate here.
In each new gif tackled, it should increase by the amount: +2 (for x) and +6 (for y)
Is this possible?
I'm on Windows, DOS. (0 Replies)