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)
Check Out this Related Man Page
FBSQL_DB_STATUS(3) 1 FBSQL_DB_STATUS(3)fbsql_db_status - Get the status for a given databaseSYNOPSIS
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)
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)