*** DRAFT ***

SQLite Requirement Matrix Details
busy_timeout.html

Index Summary Markup Original


R-42315-53658-63706-40087-63101-17320-03632-52756 tcl slt th3 src

This routine sets a busy handler that sleeps for a specified amount of time when a table is locked.

th3/cov1/main21.test:103

/* IMP: R-42315-53658 */
# EVIDENCE-OF: R-42315-53658 This routine sets a busy handler that
# sleeps for a specified amount of time when a table is locked.

R-60235-46489-17538-30450-39189-57367-12631-34674 tcl slt th3 src

The handler will sleep multiple times until at least "ms" milliseconds of sleeping have accumulated.

th3/cov1/main21.test:106

/* IMP: R-60235-46489 */
# EVIDENCE-OF: R-60235-46489 The handler will sleep multiple times until
# at least "ms" milliseconds of sleeping have accumulated.

R-23828-03043-49392-48287-20383-19771-48629-15869 tcl slt th3 src

After at least "ms" milliseconds of sleeping, the handler returns 0 which causes sqlite3_step() to return SQLITE_BUSY.

th3/cov1/main21.test:109

/* IMP: R-23828-03043 */
# EVIDENCE-OF: R-23828-03043 After at least "ms" milliseconds of
# sleeping, the handler returns 0 which causes sqlite3_step() to return
# SQLITE_BUSY.

R-64470-55820-31502-18212-19924-05102-35790-30152 tcl slt th3 src

Calling this routine with an argument less than or equal to zero turns off all busy handlers.

th3/cov1/main21.test:127

/* IMP: R-64470-55820 */
# EVIDENCE-OF: R-64470-55820 Calling this routine with an argument less
# than or equal to zero turns off all busy handlers.

R-42556-20460-59163-07637-16181-08925-43211-33857 tcl slt th3 src

There can only be a single busy handler for a particular database connection at any given moment. If another busy handler was defined (using sqlite3_busy_handler()) prior to calling this routine, that other busy handler is cleared.

th3/req1/busy01.test:176

/* IMP: R-42556-20460 */
# EVIDENCE-OF: R-42556-20460 There can only be a single busy handler for
# a particular database connection at any given moment. If another busy
# handler was defined (using sqlite3_busy_handler()) prior to calling
# this routine, that other busy handler is cleared.