mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
LIKE quoting should convert to string for SQL
This commit is contained in:
parent
874f3628c9
commit
abf00e22ec
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ func ExpandUserHost(userhost Name) (expanded Name) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func QuoteLike(userhost Name) Name {
|
func QuoteLike(userhost Name) string {
|
||||||
return Name(likeQuoter.Replace(userhost.String()))
|
return likeQuoter.Replace(userhost.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
type ClientLookupSet struct {
|
type ClientLookupSet struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue