diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-12-11 21:35:49 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-12-11 21:35:49 +0000 |
commit | 1ff0a475ee7b9a4f8097db1cac33c60c44fce4eb (patch) | |
tree | 07fd8d680fbca760c124fdd21596e3427261a124 /src | |
parent | 298845a6f012038a12fb62822157fc3e240410ca (diff) | |
download | postgresql-1ff0a475ee7b9a4f8097db1cac33c60c44fce4eb.tar.gz postgresql-1ff0a475ee7b9a4f8097db1cac33c60c44fce4eb.zip |
Fix for psql from Peter.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/mainloop.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bin/psql/mainloop.c b/src/bin/psql/mainloop.c index e6b85604982..1d3298187a3 100644 --- a/src/bin/psql/mainloop.c +++ b/src/bin/psql/mainloop.c @@ -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') |