projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
397e9b3
)
Clear paren level flag on \r or any backslash command, rather than
author
Bruce Momjian
Thu, 16 Dec 1999 23:54:41 +0000
(23:54 +0000)
committer
Bruce Momjian
Thu, 16 Dec 1999 23:54:41 +0000
(23:54 +0000)
keeping parenlevel unchanged.
src/bin/psql/mainloop.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/mainloop.c
b/src/bin/psql/mainloop.c
index 1d3298187a34afd26045fca1b9b39725f8df3083..76da5417365ca3e123472d5f075e90fef1cde9e3 100644
(file)
--- a/
src/bin/psql/mainloop.c
+++ b/
src/bin/psql/mainloop.c
@@
-313,6
+313,7
@@
MainLoop(PsqlSettings *pset, FILE *source)
{
const char *end_of_cmd = NULL;
+ paren_level = 0;
line[i - prevlen] = '\0'; /* overwrites backslash */
/* is there anything else on the line? */