We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 737147a commit 0918350Copy full SHA for 0918350
go/vt/sqlparser/ast.go
@@ -1577,18 +1577,9 @@ func (node TableName) Format(buf *TrackedBuffer) {
1577
if node.IsEmpty() {
1578
return
1579
}
1580
- buf.astPrintf(node, `"`)
1581
- if !node.QualifierThird.IsEmpty() {
1582
- buf.astPrintf(node, "%v.", node.QualifierThird)
1583
- }
1584
- if !node.QualifierSecond.IsEmpty() {
1585
- buf.astPrintf(node, "%v.", node.QualifierSecond)
1586
1587
- if !node.Qualifier.IsEmpty() {
1588
- buf.astPrintf(node, "%v.", node.Qualifier)
1589
1590
- buf.astPrintf(node, "%v", node.Name)
1591
+ buf.WriteString(`"`)
+ buf.WriteString(node.GetRawVal())
1592
1593
1594
// Format formats the node.
0 commit comments