File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 3
3
*
4
4
* Copyright 2000 by PostgreSQL Global Development Group
5
5
*
6
- * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.49 2001/04/18 20:53:08 petere Exp $
6
+ * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.50 2001/05/06 21:15:51 petere Exp $
7
7
*/
8
8
#include "postgres_fe.h"
9
9
#include "command.h"
@@ -141,6 +141,9 @@ HandleSlashCmds(const char *line,
141
141
142
142
status = exec_command (new_cmd , line + 1 , & continue_parse , query_buf );
143
143
144
+ /* continue_parse must be relative to my_line for calculation below */
145
+ continue_parse += my_line - line ;
146
+
144
147
#if 0 /* turned out to be too annoying */
145
148
if (status != CMD_UNKNOWN && isalpha ((unsigned char ) new_cmd [0 ]))
146
149
psql_error ("Warning: this syntax is deprecated\n" );
You can’t perform that action at this time.
0 commit comments