protected function addTableVendorInfo(Table $table)
    {
        $stmt = $this->dbh->query("SHOW TABLE STATUS LIKE '" . $table->getName() . "'");
        $row = $stmt->fetch(\PDO::FETCH_ASSOC);
        if (!$this->addVendorInfo) {
            // since we depend on `Engine` in the MysqlPlatform, we always have to extract this vendor information
            $row = ['Engine' => $row['Engine']];
        }
        $vi = $this->getNewVendorInfoObject($row);
        $table->addVendorInfo($vi);
    }
protected function addTableVendorInfo(Table $table)
    {
        $stmt = $this->dbh->query("SHOW TABLE STATUS LIKE '" . $table->getName() . "'");
        $row = $stmt->fetch(\PDO::FETCH_ASSOC);
        if (!$this->addVendorInfo) {
            // since we depend on `Engine` in the MysqlPlatform, we always have to extract this vendor information
            $row = ['Engine' => $row['Engine']];
        }
        $vi = $this->getNewVendorInfoObject($row);
        $table->addVendorInfo($vi);
    }
protected function addTableVendorInfo ( Table $ table ) { $ stmt = $ this -> dbh -> query ( "SHOW TABLE STATUS LIKE '" . $ table -> getName ( ) . "'" ) ; $ row = $ stmt -> fetch ( \ PDO :: FETCH_ASSOC ) ; if ( ! $ this -> addVendorInfo ) { // since we depend on `Engine` in the MysqlPlatform, we always have to extract this vendor information $ row = [ 'Engine' => $ row [ 'Engine' ] ] ; } $ vi = $ this -> getNewVendorInfoObject ( $ row ) ; $ table -> addVendorInfo ( $ vi ) ; }
Adds vendor-specific info for table.

@param Table $table
Adds vendor - specific info for table .