mirror of
https://github.com/postgres/postgres.git
synced 2025-04-18 13:44:19 +03:00
Fix fat fingering in 22cb6d28950
Per Rainier Vilela
This commit is contained in:
parent
928394b664
commit
39729ec01d
@ -902,12 +902,12 @@ read_one_statement(StringInfo inBuf, FILE *pfile)
|
||||
break;
|
||||
}
|
||||
|
||||
destroyStringInfo(&q);
|
||||
|
||||
if (c == '\n')
|
||||
appendStringInfoChar(inBuf, (char) '\n');
|
||||
}
|
||||
|
||||
destroyStringInfo(&q);
|
||||
|
||||
/* No input before EOF signal means time to quit. */
|
||||
if (c == EOF && inBuf->len == 0)
|
||||
return EOF;
|
||||
|
Loading…
x
Reference in New Issue
Block a user