protected function _process( array $stmts )
	{
		$table = "madmin_job";
		$this->_msg( sprintf( 'Converting "%1$s" to InnoDB".', $table ), 0 );

		$stmt = $this->_conn->create( $stmts['check'] );
		$stmt->bind( 1, $this->_schema->getDBName() );
		$stmt->bind( 2, $table );
		$result = $stmt->execute();
		$dbname = $result->fetch();
		$result->finish();

		if( $this->_schema->tableExists( $table ) === true
			&& $dbname['ENGINE'] === 'MyISAM' )
		{
			$this->_execute( $stmts['convert'] );
			$this->_status( 'converted' );
		}
		else
		{
			$this->_status( 'OK' );
		}
	}
protected function _process( array $stmts )
	{
		$table = "madmin_job";
		$this->_msg( sprintf( 'Converting "%1$s" to InnoDB".', $table ), 0 );

		$stmt = $this->_conn->create( $stmts['check'] );
		$stmt->bind( 1, $this->_schema->getDBName() );
		$stmt->bind( 2, $table );
		$result = $stmt->execute();
		$dbname = $result->fetch();
		$result->finish();

		if( $this->_schema->tableExists( $table ) === true
			&& $dbname['ENGINE'] === 'MyISAM' )
		{
			$this->_execute( $stmts['convert'] );
			$this->_status( 'converted' );
		}
		else
		{
			$this->_status( 'OK' );
		}
	}
protected function _process ( array $ stmts ) { $ table = "madmin_job" ; $ this -> _msg ( sprintf ( 'Converting "%1$s" to InnoDB".' , $ table ) , 0 ) ; $ stmt = $ this -> _conn -> create ( $ stmts [ 'check' ] ) ; $ stmt -> bind ( 1 , $ this -> _schema -> getDBName ( ) ) ; $ stmt -> bind ( 2 , $ table ) ; $ result = $ stmt -> execute ( ) ; $ dbname = $ result -> fetch ( ) ; $ result -> finish ( ) ; if ( $ this -> _schema -> tableExists ( $ table ) === true && $ dbname [ 'ENGINE' ] === 'MyISAM' ) { $ this -> _execute ( $ stmts [ 'convert' ] ) ; $ this -> _status ( 'converted' ) ; } else { $ this -> _status ( 'OK' ) ; } }
Converts MyISAM table to InnoDB.

@param array $stmts List of SQL statements to execute for changing table
Converts MyISAM table to InnoDB .