Function DatabaseConnector->table_is_locked
Definitions
sources/database.php
- Wait up to 5 iterations for a table to be unlocked (if it is locked).Only works with MySQL/MyISAM (and irrelevant for other DBs which don't do table-level locking).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$table | ID_TEXT | required parameter | N/A | N/A | The table name |
Return
- Whether the table was still locked after trying 5 times
- Type: boolean
- Set: N/A
- Range: N/A