Skip to content

Commit

Permalink
Fix root cause of the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
absurdfarce committed Jun 25, 2024
1 parent f23bf75 commit 20f0008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ func (c *client) interceptSystemQuery(hdr *frame.Header, stmt interface{}) {
c.send(hdr, &message.ServerError{ErrorMessage: "Proxy unable to create new session for keyspace"})
} else {
c.keyspace = s.Keyspace
c.send(hdr, &message.SetKeyspaceResult{Keyspace: s.Keyspace})
c.send(hdr, &message.SetKeyspaceResult{Keyspace: strings.Trim(s.Keyspace, "\"")})
}
default:
c.send(hdr, &message.ServerError{ErrorMessage: "Proxy attempted to intercept an unhandled query"})
Expand Down

0 comments on commit 20f0008

Please sign in to comment.