mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-06 12:20:15 +01:00
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…
Reference in New Issue
Block a user