Commit 1ff0a475 authored by Bruce Momjian's avatar Bruce Momjian

Fix for psql from Peter.

parent 298845a6
......@@ -275,9 +275,6 @@ MainLoop(PsqlSettings *pset, FILE *source)
/* semicolon? then send query */
else if (line[i] == ';' && !was_bslash && !paren_level)
{
/* delete the old query buffer from last time around */
if (slashCmdStatus == CMD_SEND)
line[i] = '\0';
/* is there anything else on the line? */
if (line[query_start + strspn(line + query_start, " \t")] != '\0')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment