]> granicus.if.org Git - postgresql/commitdiff
Fix for psql from Peter.
authorBruce Momjian <bruce@momjian.us>
Sat, 11 Dec 1999 21:35:49 +0000 (21:35 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 11 Dec 1999 21:35:49 +0000 (21:35 +0000)
src/bin/psql/mainloop.c

index e6b8560498221f9623d1e067a5343ff157041e74..1d3298187a34afd26045fca1b9b39725f8df3083 100644 (file)
@@ -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')