-
```
What steps will reproduce the problem?
1. execute this code :
$parser = new PHPSQLParser();
$sql = "SELECT _utf8'hi'";
$parser->parse($sql, true);
2. script dies with this message :
cannot cal…
-
```
What steps will reproduce the problem?
1. execute this code :
$parser = new PHPSQLParser();
$sql = "SELECT _utf8'hi'";
$parser->parse($sql, true);
2. script dies with this message :
cannot cal…
-
```
What steps will reproduce the problem?
1. execute this code :
$parser = new PHPSQLParser();
$sql = "SELECT _utf8'hi'";
$parser->parse($sql, true);
2. script dies with this message :
cannot cal…
-
```
What steps will reproduce the problem?
1. execute this code :
$parser = new PHPSQLParser();
$sql = "SELECT _utf8'hi'";
$parser->parse($sql, true);
2. script dies with this message :
cannot cal…
-
```
What steps will reproduce the problem?
1. Have tables you can't change that incorrectly store numbers as strings
2. join those tables using the 'to_number' function in the on clause
3. parse sql
…
-
```
What steps will reproduce the problem?
1. execute this code :
$parser = new PHPSQLParser();
$sql = "SELECT _utf8'hi'";
$parser->parse($sql, true);
2. script dies with this message :
cannot cal…
-
Howdy!
First of all, thanks for your effort in maintaining this OS project.
I wanted to use this in a WordPress plugin, but I'm afraid that 1.8mb might be too much for a library. This is the def…
Luc45 updated
11 months ago
-
```
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 ... F…
-
```
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 ... F…
-
```php
$sql = 'CREATE TABLE tab1 (`col1` TIMESTAMP /*!40100 DEFAULT NULL */)';
$parser = new Parser($sql);
$s3 = $parser->statements[0]->build();
// $s3 wrongly contains end-of-comment
// …