Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7d7ab8a

Browse files
committed
Fix collateral damage from previous (rev 1.49) patch.
1 parented65860 commit7d7ab8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/bin/psql/command.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
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.49.2.1 2001/05/06 21:44:32 petere Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"command.h"
@@ -141,6 +141,9 @@ HandleSlashCmds(const char *line,
141141

142142
status=exec_command(new_cmd,line+1,&continue_parse,query_buf);
143143

144+
/* continue_parse must be relative to my_line for calculation below */
145+
continue_parse+=my_line-line;
146+
144147
#if0/* turned out to be too annoying */
145148
if (status!=CMD_UNKNOWN&&isalpha((unsignedchar)new_cmd[0]))
146149
psql_error("Warning: this syntax is deprecated\n");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp