略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: sybase_deadlock_retry_count

2024-12-22

sybase_deadlock_retry_count

(PHP 4 >= 4.3.0, PHP 5)

sybase_deadlock_retry_countSets the deadlock retry count

Warning

This function was REMOVED in PHP 7.0.0.

说明

sybase_deadlock_retry_count ( int $retry_count ) : void

Using sybase_deadlock_retry_count(), the number of retries can be defined in cases of deadlocks. By default, every deadlock is retried an infinite number of times or until the process is killed by Sybase, the executing script is killed (for instance, by set_time_limit()) or the query succeeds.

参数

retry_count

Values for retry_count
-1 Retry forever (default)
0 Do not retry
n Retry n times

返回值

没有返回值。

注释

Note: 此函数仅适用于对 Sybase 使用 CT 库接口,而不适用于 DB 库。

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.sybase-deadlock-retry-count.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3