Skip to content

Commit

Permalink
String encapsulation from string to 'string' in collection functions (
Browse files Browse the repository at this point in the history
  • Loading branch information
Exloki authored and lucko committed Jan 31, 2018
1 parent b909803 commit f8951e6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public Promise<Map<UUID, Profile>> lookupProfiles(@Nonnull Iterable<UUID> unique
if (!first) {
sb.append(", ");
}
sb.append("UNHEX(`").append(UuidUtils.toString(uniqueId)).append("`)");
sb.append("UNHEX('").append(UuidUtils.toString(uniqueId)).append("')");
first = false;
}

Expand Down Expand Up @@ -395,7 +395,7 @@ public Promise<Map<String, Profile>> lookupProfilesByName(@Nonnull Iterable<Stri
if (!first) {
sb.append(", ");
}
sb.append("`").append(name).append("`");
sb.append("'").append(name).append("'");
first = false;
}

Expand Down

0 comments on commit f8951e6

Please sign in to comment.