src/ORM/Connect/MySQLSchemaManager.php
protected function runTableCheckCommand($sql)
    {
        $testResults = $this->query($sql);
        foreach ($testResults as $testRecord) {
            if (strtolower($testRecord['Msg_text']) != 'ok') {
                return false;
            }
        }
        return true;
    }
protected function runTableCheckCommand($sql)
    {
        $testResults = $this->query($sql);
        foreach ($testResults as $testRecord) {
            if (strtolower($testRecord['Msg_text']) != 'ok') {
                return false;
            }
        }
        return true;
    }
protected function runTableCheckCommand ( $ sql ) { $ testResults = $ this -> query ( $ sql ) ; foreach ( $ testResults as $ testRecord ) { if ( strtolower ( $ testRecord [ 'Msg_text' ] ) != 'ok' ) { return false ; } } return true ; }
Helper function used by checkAndRepairTable.
@param string $sql Query to run.
@return boolean Returns if the query returns a successful result.
Helper function used by checkAndRepairTable .