Don't arbitrarily disallow semicolons in query strings. If you're trying to guard against sql injection, this is not the way (and there would still be statements that don't need a semicolon to work). However, with the string quoting patch I'm quite confident that there can be no sql injection.
modified pkg/query.c
@@ -387,10 +387,6 @@ format_sql_condition(const char *str, struct sbuf *sqlcond)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|