(PHP 4 >= 4.0.2, PHP 5 < 5.1.0, PECL ingres >= 1.0.0)

ingres_autocommit – Switch autocommit on or off

说明

ingres_autocommit

( resource $link

) : bool

ingres_autocommit() is called before opening a

transaction (before the first call to

[ingres_query()](php7/function.ingres-query) or just after a call to

[ingres_rollback()](php7/function.ingres-rollback) or

[ingres_commit()](php7/function.ingres-commit)) 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()](php7/function.ingres-commit)

was called after every call to [ingres_query()](php7/function.ingres-query).

To see if autocommit is enabled use,

[ingres_autocommit_state()](php7/function.ingres-autocommit-state).

By default Ingres will rollback any uncommitted transactions at the end of

a request. Use this function or [ingres_commit()](php7/function.ingres-commit) to

ensure your data is committed to the database.

参数

link

The connection link identifier

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE。

参见

[ingres_autocommit_state()](php7/function.ingres-autocommit-state) – Test if the connection is using autocommit

[ingres_query()](php7/function.ingres-query) – Send an SQL query to Ingres

[ingres_rollback()](php7/function.ingres-rollback) – Roll back a transaction

[ingres_commit()](php7/function.ingres-commit) – Commit a transaction

php7 switch,Switch autocommit on or off - PHP 7 中文文档相关推荐

  1. php7连接oracle数据库,使用一个持久连接连到 Oracle 数据库 - PHP 7 中文文档

    (PHP 5, PHP 7, PECL OCI8 >= 1.1.0) oci_pconnect – 使用一个持久连接连到 Oracle 数据库 说明 oci_pconnect ( string ...

  2. php7数组写法,数组运算符 - PHP 7 中文文档

    数组运算符 数组运算符 例子 名称 结果 $a + $b 联合 $a 和 $b 的联合. $a == $b 相等 如果 $a 和 $b 具有相同的键/值对则为 TRUE. $a === $b 全等 如 ...

  3. php7 list explode,使用一个字符串分割另一个字符串 - PHP 7 中文文档

    (PHP 4, PHP 5, PHP 7) explode – 使用一个字符串分割另一个字符串 说明 explode ( string $delimiter , string $string [, i ...

  4. php7 globals,使用 Register Globals - PHP 7 中文文档

    Warning 本特性已自 PHP 5.3.0 起废弃并将自 PHP 5.4.0 起移除. 可能 PHP 中最具争议的变化就是从 PHP » 4.2.0 版开始配置文件中 PHP 指令 [regist ...

  5. php7 runkit,runkit - PHP 7 中文文档

    Runkit_Sandbox - Runkit Sandbox Class - PHP Virtual Machine Runkit_Sandbox_Parent - Runkit Anti-Sand ...

  6. php7支持画,画一多边形并填充 - PHP 7 中文文档

    (PHP 4, PHP 5, PHP 7) imagefilledpolygon – 画一多边形并填充 说明 imagefilledpolygon ( resource $image , array ...

  7. c语言float可以作为switch,switch可接受的变量数据类型

    教科书都会说switch只能用于整型变量,于是c语言中很显然int, short, long, enum, char(包括无符号类型和long long)都可以作为switch变量,而float,do ...

  8. switch字符串jdk_JDK 12 Early Access Build 12中的原始字符串文字支持

    switch字符串jdk 本周Java世界上最大的新闻可能是JDK 11的通用性. 但是,另一个令人兴奋的发展是JDK 12 Early Access Build 12的发布 ( 2018年9月20日 ...

  9. C语言CASE如何用switch,switch case 中如何使用枚举

    public enum ContractTempletEnum { PPT(1,"普通模板"),SIGNT(2,"签约模板"); private Integer ...

  10. c语言判断学生成绩等级用switch,switch语句判断学生成绩

    下面通过判断学生成绩来展示switch语句的使用. Q:判断学生成绩的等级,90-100分为A级,80-89为B级,70-79为C级,60-69为D级,60以下不及格. package main im ...

最新文章

  1. Django 无法加载静态文件(js,css,image)解决办法
  2. 关于多人操作数据的处理策略
  3. JSP完全自学手册图文教程
  4. android网络请求回调管理,Android HTTP网络请求的异步实现
  5. ffmpeg builds by zeranoe_FFmpeg
  6. 渗透测试小马(一句话)篇
  7. unicode 与 utf-8
  8. Tensorflow新手通过PlayGround可视化初识神经网络
  9. (32)FPGA面试题时序约束
  10. A disk read error occurred Press Ctrl+Alt+del to restart
  11. VMWare workstation Pro 14 For Linux key
  12. Android5.1 Audio计算音量流程
  13. 罗斯蒙特电磁流量计8723说明书_罗斯蒙特电磁流量计8732EM变送器信号处理算法说明...
  14. 线性反馈移位寄存器的输出(未解出)
  15. 遗传算法应用于XGBoost的调参过程
  16. 苹果服务器系统状态查询网站,mac电脑服务器地址怎么查看
  17. 收款码在线生成系统源码 无限制
  18. win10系统重装之u盘装系统,u盘安装win10系统
  19. The Google File System 中文版论文(转载)
  20. 微信小程序入门教程之四:API 使用

热门文章

  1. matlab 增量式,matlab增量式pid仿真
  2. ARM开发5.3.4 基础实训( 1 ) 蜂鸣器输出控制--LPC21XX
  3. uniapp —— 实现左右联动商品分类页面
  4. mybatis中的mapper代理模式的数据传参的应用
  5. idea重写接口没有@override_1.重载和重写的区别
  6. linux7配置永久路由,CentOS7添加永久静态路由
  7. sensor曝光量和曝光行的区别_求教:关于lcd和sensor的几个问题和讨论
  8. shell脚本编程 逐行处理文本 将字符串转化为数组
  9. 云智慧悄然“变身”业务运维,到底发生了什么?
  10. POJ2063 Investment(完全背包)