Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ibase_trans(3) [php man page]

IBASE_TRANS(3)								 1							    IBASE_TRANS(3)

ibase_trans - Begin a transaction

SYNOPSIS
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)
Man Page

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

user id

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)
Discussion started by: gundu
2 Replies

2. Shell Programming and Scripting

Help identifying transactions with no detail lines

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)
Discussion started by: rookie12
2 Replies

3. Shell Programming and Scripting

Removing consecutive lines in a file

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)
Discussion started by: deneuve01
11 Replies

4. Shell Programming and Scripting

gets all files details committed to svn by a particular user [or all users] since a particular date

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)
Discussion started by: linuxadmin
3 Replies

5. Windows & DOS: Issues & Discussions

Adding same value to variables in does each repetition of command

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)
Discussion started by: pasc
0 Replies