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)

Check Out this Related Man Page

FBSQL_DB_STATUS(3)							 1							FBSQL_DB_STATUS(3)

fbsql_db_status - Get the status for a given database

SYNOPSIS
int fbsql_db_status (string $database_name, [resource $link_identifier]) DESCRIPTION
Gets the current status of the specified database. PARAMETERS
o $database_name - The database name. o $ link_identifier -A FrontBase link identifier returned by fbsql_connect(3) or fbsql_pconnect(3).If optional and not specified, the function will try to find an open link to the FrontBase server and if no such link is found it will try to create one as if fbsql_connect(3) was called with no arguments. RETURN VALUES
Returns an integer value with the current status. This can be one of the following constants: o FALSE - The exec handler for the host was invalid. This error will occur when the $link_identifier connects directly to a database by using a port number. FBExec can be available on the server but no connection has been made for it. o FBSQL_UNKNOWN - The Status is unknown. o FBSQL_STOPPED - The database is not running. Use fbsql_start_db(3) to start the database. o FBSQL_STARTING - The database is starting. o FBSQL_RUNNING - The database is running and can be used to perform SQL operations. o FBSQL_STOPPING - The database is stopping. o FBSQL_NOEXEC - FBExec is not running on the server and it is not possible to get the status of the database. SEE ALSO
fbsql_start_db(3), fbsql_stop_db(3). PHP Documentation Group FBSQL_DB_STATUS(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