Skip to content

Commit

Permalink
Added select all stmts to chaching in buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
talkanbaev-artur committed Apr 11, 2022
1 parent daddf7c commit 0cfb3e6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions builder/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,8 @@ func (b Buffer) escape(table, value string) string {
}

if value == "*" {
return escaped_table + ".*"
}

if len(value) > 0 && value[0] == UnescapeCharacter {
escapedValue = escaped_table + ".*"
} else if len(value) > 0 && value[0] == UnescapeCharacter {
escapedValue = value[1:]
} else if _, err := strconv.Atoi(value); err == nil {
escapedValue = value
Expand Down

0 comments on commit 0cfb3e6

Please sign in to comment.