src/core/framework/core/3rdparty/ezcomponents/Database/src/sqlabstraction/implementations/query_select_oracle.php
public function prepare()
    {
        if ( $this->fromString == null || $this->fromString == '' )
        {
            $this->from( $this->getDummyTableName() );
        }
        return parent::prepare();
    }
public function prepare()
    {
        if ( $this->fromString == null || $this->fromString == '' )
        {
            $this->from( $this->getDummyTableName() );
        }
        return parent::prepare();
    }
public function prepare ( ) { if ( $ this -> fromString == null || $ this -> fromString == '' ) { $ this -> from ( $ this -> getDummyTableName ( ) ) ; } return parent :: prepare ( ) ; }
Handles preparing query.

Overrides ezcQuery->prepare()

Adds "FROM dual" to the select if no FROM clause specified
i.e. fixes queries like "SELECT 1+1" to work in Oracle.

@return PDOStatement
Handles preparing query .