diff --git a/lib/sqlparser/sqlparser.class.php b/lib/sqlparser/sqlparser.class.php index 777ef3da60..94345385d8 100644 --- a/lib/sqlparser/sqlparser.class.php +++ b/lib/sqlparser/sqlparser.class.php @@ -114,6 +114,17 @@ class sqlparser $this->tables = $this->parseTables(); } + /** + * Create statement. + * + * @access public + * @return void + */ + public function createStatement() + { + $this->statement = new PhpMyAdmin\SqlParser\Statements\SelectStatement(); + } + /** * Get function. *