Skip to content

Commit

Permalink
Remove trailing semicolon in SET NAMES #1065
Browse files Browse the repository at this point in the history
  • Loading branch information
renecannao committed Jun 24, 2017
1 parent adcc2c7 commit 7ce7ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gen_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ char *trim_spaces_and_quotes_in_place(char *str) {
return str;
// Trim trailing space
end = str + strlen(str) - 1;
while(end > str && (isspace(*end) || *end=='\"' || *end=='\'')) end--;
while(end > str && (isspace(*end) || *end=='\"' || *end=='\'' || *end==';')) end--;
// Write new null terminator
*(end+1) = 0;
return str;
Expand Down

0 comments on commit 7ce7ae6

Please sign in to comment.