%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/phpmyadmin/sql-parser/tests/data/parser/ |
Upload File : |
{
"query": "-- extraneous comma\nLOCK TABLES table1 READ LOCAL,",
"lexer": {
"@type": "PhpMyAdmin\\SqlParser\\Lexer",
"str": "-- extraneous comma\nLOCK TABLES table1 READ LOCAL,",
"len": 50,
"last": 50,
"list": {
"@type": "PhpMyAdmin\\SqlParser\\TokensList",
"tokens": [
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": "-- extraneous comma",
"value": "-- extraneous comma",
"keyword": null,
"type": 4,
"flags": 4,
"position": 0
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": "\n",
"value": " ",
"keyword": null,
"type": 3,
"flags": 0,
"position": 19
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": "LOCK",
"value": "LOCK",
"keyword": "LOCK",
"type": 1,
"flags": 3,
"position": 20
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": " ",
"value": " ",
"keyword": null,
"type": 3,
"flags": 0,
"position": 24
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": "TABLES",
"value": "TABLES",
"keyword": "TABLES",
"type": 1,
"flags": 1,
"position": 25
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": " ",
"value": " ",
"keyword": null,
"type": 3,
"flags": 0,
"position": 31
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": "table1",
"value": "table1",
"keyword": null,
"type": 0,
"flags": 0,
"position": 32
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": " ",
"value": " ",
"keyword": null,
"type": 3,
"flags": 0,
"position": 38
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": "READ",
"value": "READ",
"keyword": "READ",
"type": 1,
"flags": 3,
"position": 39
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": " ",
"value": " ",
"keyword": null,
"type": 3,
"flags": 0,
"position": 43
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": "LOCAL",
"value": "LOCAL",
"keyword": "LOCAL",
"type": 1,
"flags": 1,
"position": 44
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": ",",
"value": ",",
"keyword": null,
"type": 2,
"flags": 16,
"position": 49
},
{
"@type": "PhpMyAdmin\\SqlParser\\Token",
"token": null,
"value": null,
"keyword": null,
"type": 9,
"flags": 0,
"position": null
}
],
"count": 13,
"idx": 13
},
"delimiter": ";",
"delimiterLen": 1,
"strict": false,
"errors": []
},
"parser": {
"@type": "PhpMyAdmin\\SqlParser\\Parser",
"list": {
"@type": "@1"
},
"statements": [
{
"@type": "PhpMyAdmin\\SqlParser\\Statements\\LockStatement",
"locked": [
{
"@type": "PhpMyAdmin\\SqlParser\\Components\\LockExpression",
"table": {
"@type": "PhpMyAdmin\\SqlParser\\Components\\Expression",
"database": null,
"table": "table1",
"column": null,
"expr": "table1",
"alias": null,
"function": null,
"subquery": null
},
"type": "READ LOCAL"
}
],
"isLock": true,
"options": null,
"first": 0,
"last": 12
}
],
"brackets": 0,
"strict": false,
"errors": []
},
"errors": {
"lexer": [],
"parser": [
[
"Unexpected end of LOCK statement.",
{
"@type": "@13"
},
0
]
]
}
}