Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1ff0a47

Browse files
committed
Fix for psql from Peter.
1 parent 298845a commit 1ff0a47

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/bin/psql/mainloop.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,6 @@ MainLoop(PsqlSettings *pset, FILE *source)
275275
/* semicolon? then send query */
276276
else if (line[i] == ';' && !was_bslash && !paren_level)
277277
{
278-
/* delete the old query buffer from last time around */
279-
if (slashCmdStatus == CMD_SEND)
280-
281278
line[i] = '\0';
282279
/* is there anything else on the line? */
283280
if (line[query_start + strspn(line + query_start, " \t")] != '\0')

0 commit comments

Comments
 (0)