Skip to content

FORCE INDEX failure #99

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
case:
SELECT ... FROM tbl FORCE INDEX (col1_idx) WHERE ... ORDER BY col1
output:
SELECT ... FROM tbl WHERE ... ORDER BY col1,
it removes FORCE INDEX... and 
PHP produce notice:
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: token_category
Filename: PHP-SQL-Parser/php-sql-parser.php
Line Number: 912

What version of the product are you using? On what operating system?
PHP 5.4 x64, WIN 7

Please provide any additional information below.

Original issue reported on code.google.com by bramanin...@gmail.com on 27 Oct 2013 at 9:26

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions