OSDN Git Service
(root)
/
pg-rex
/
syncrep.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
<bruce@momjian.us>
Thu, 16 Dec 1999 23:54:41 +0000
(23:54 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Thu, 16 Dec 1999 23:54:41 +0000
(23:54 +0000)
keeping parenlevel unchanged.
src/bin/psql/mainloop.c
patch
|
blob
|
history
diff --git
a/src/bin/psql/mainloop.c
b/src/bin/psql/mainloop.c
index
1d32981
..
76da541
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? */