public function selectDatabase(string $databaseName = ''): void
    {
        $this->selectedDB = $databaseName;
        $this->currentDB = $this->currentLink->select_db($databaseName);

        if (!$this->currentDB) {
            $this->setError(AbstractMySQL::E_NO_DB_SELECTED, __CLASS__);
        }
    }