GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Hex string literal x'...' incorrectly parsed as keyword + string · Issue #649 · phpmyadmin/sql-parser Open DescriptionBugThe lexer incorrectly tokenizes hex string literals This affects The To Reproduce$parser = new Parser("CREATE TABLE test (IP binary(16) NOT NULL DEFAULT x'00000000000000000000000000000000')"); echo $parser->statements[0]->build(); // Output: ... DEFAULT x AS `00000000000000000000000000000000` // Expected: ... DEFAULT x'00000000000000000000000000000000' Affected versions Both 5.11.x and master. Root cause The Lexer's number parsing state machine has states 7-9 for b'...' binary literals, but no equivalent states for Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |