-
```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
// …
-
As analysed in https://github.com/doctrine/sql-formatter/pull/116#issuecomment-2125860461.
A little related with #39 formatting.
https://github.com/doctrine/sql-formatter/blob/1.4.0/src/Highligh…
-
```
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…
-
When running the following command I get the following problem. I'm not sure if it's because the output from the `composer updated` command is just too big or because it's using a lot of width. Any he…
-
### Environment
Windows 10 with MySQL
#### Package
show
```
$ composer show --latest gedmo/doctrine-extensions
# Put the result here.
name : gedmo/doctrine-extensions
descrip. : Do…
-
You get the following error when attempting to apply the 1.27.4 patch:
```
A database query error has occurred.
Query: call `create_parent_pages`()
Function: DatabaseBase::sourceFile( /opt/brod…
-
```
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…
-
I get this error after installing the library with composer:
```
PHP Fatal error: Uncaught Error: Class 'JsonStreamingParser\Listener\InMemoryListener' not found in /data/www/default/database/jso…
ghost updated
6 years ago
-
hi,
If I parse a SQL query containing `CAST (foo AS DECIMAL(16, 2))`,
and then create a query with the creator,
it loses the comma in `DECIMAL(16, 2)`
test code :
```php