Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ingres_autocommit(3) [php man page]

INGRES_AUTOCOMMIT(3)							 1						      INGRES_AUTOCOMMIT(3)

ingres_autocommit - Switch autocommit on or off

SYNOPSIS
bool ingres_autocommit (resource $link) DESCRIPTION
ingres_autocommit(3) is called before opening a transaction (before the first call to ingres_query(3) or just after a call to ingres_roll- back(3) or ingres_commit(3)) to switch the autocommit mode of the server on or off (when the script begins the autocommit mode is off). When autocommit mode is on, every query is automatically committed by the server, as if ingres_commit(3) was called after every call to ingres_query(3). To see if autocommit is enabled use, ingres_autocommit_state(3). By default Ingres will rollback any uncommitted transactions at the end of a request. Use this function or ingres_commit(3) to ensure your data is committed to the database. PARAMETERS
o $link - The connection link identifier RETURN VALUES
Returns TRUE on success or FALSE on failure. SEE ALSO
ingres_autocommit_state(3), ingres_query(3), ingres_rollback(3), ingres_commit(3). PHP Documentation Group INGRES_AUTOCOMMIT(3)

Check Out this Related Man Page

INGRES_EXECUTE(3)							 1							 INGRES_EXECUTE(3)

ingres_execute - Execute a prepared query

SYNOPSIS
bool ingres_execute (resource $result, [array $params], [string $types]) DESCRIPTION
Execute a query prepared using ingres_prepare(3). Note Related Configurations See also the ingres.describe, ingres.scrollable and ingres.utf8 directives in Runtime Configuration. PARAMETERS
o $result - The result query identifier o $params - An array of parameter values to be used with the query o $types - A string containing a sequence of types for the parameter values passed. See the types parameter in ingres_query(3) for the list of type codes. RETURN VALUES
Returns TRUE on success or FALSE on failure. SEE ALSO
ingres_unbuffered_query(3), ingres_fetch_array(3), ingres_fetch_assoc(3), ingres_fetch_object(3), ingres_fetch_row(3), ingres_commit(3), ingres_rollback(3), ingres_autocommit(3), ingres_set_environment(3), ingres_errno(3), ingres_error(3). PHP Documentation Group INGRES_EXECUTE(3)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

copy, clear and keep to new data only

I have an Ingres database logfile that grows constantly, iircp.log. It is always "attached" to the Ingres process that uses it, and I do not want to screw up the data. I have been copying it to another directory and then using vi on the original to reduce the size 34000 lines at a time. What I want... (1 Reply)
Discussion started by: sarge
1 Replies

2. Web Development

[Solved] Disable mySQL autocommit

Hi. Does anyone know how I can disable auto-commit in mySQL? I've been Googling it for ages, and one suggestion that always comes up is adding this to /etc/my.cnf: ... init_connect='SET autocommit=0' But that didn't work. I then read that this wouldn't work anyway for a... (4 Replies)
Discussion started by: Scott
4 Replies

3. Shell Programming and Scripting

help with grep command

i have the following lines T2345 T3435 - bugfixed and running T5654 fixed and committed T34541:- fixed and committed i need to extract only the T part (eg:T2345) ,ie i dont want any special characters after it. i have been trying with grep and egrep but with no luck. pls help (11 Replies)
Discussion started by: born
11 Replies

4. UNIX and Linux Applications

command to check value of autocommit and isolation level

Hi, Pls let me know command to get following: 1. how to check current value of autocommit 2. how to check current value of isolation level I am using mysql-5.0.26 on unix -Thanks (2 Replies)
Discussion started by: newbielgn
2 Replies

5. 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