2require_once(
'./Services/Database/interfaces/interface.ilAtomQuery.php');
44 }
catch (Exception $e) {
45 $this->ilDBInstance->unlockTables();
48 $this->ilDBInstance->unlockTables();
59 foreach ($this->tables as
$table) {
60 $full_name =
$table->getTableName() .
$table->getAlias();
61 if (in_array($full_name, $this->locked_table_full_names)) {
64 $this->locked_table_full_names[] = $full_name;
66 if (!in_array(
$table->getTableName(), $this->locked_table_names)) {
67 $locks[] = array(
'name' =>
$table->getTableName(),
'type' =>
$table->getLockLevel() );
68 $this->locked_table_names[] =
$table->getTableName();
69 if (
$table->isLockSequence() && $this->ilDBInstance->sequenceExists(
$table->getTableName())) {
70 $locks[] = array(
'name' =>
$table->getTableName(),
'type' =>
$table->getLockLevel(),
'sequence' =>
true );
74 $locks[] = array(
'name' =>
$table->getTableName(),
'type' =>
$table->getLockLevel(),
'alias' =>
$table->getAlias() );
An exception for terminatinating execution or to throw for unit testing.
Class ilAtomQueryException.
const DB_ATOM_IDENTICAL_TABLES
if(empty($password)) $table