mirror of
https://github.com/postgres/postgres.git
synced 2026-07-14 12:20:52 -04:00
parent
928394b664
commit
39729ec01d
1 changed files with 2 additions and 2 deletions
|
|
@ -902,12 +902,12 @@ read_one_statement(StringInfo inBuf, FILE *pfile)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
destroyStringInfo(&q);
|
|
||||||
|
|
||||||
if (c == '\n')
|
if (c == '\n')
|
||||||
appendStringInfoChar(inBuf, (char) '\n');
|
appendStringInfoChar(inBuf, (char) '\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
destroyStringInfo(&q);
|
||||||
|
|
||||||
/* No input before EOF signal means time to quit. */
|
/* No input before EOF signal means time to quit. */
|
||||||
if (c == EOF && inBuf->len == 0)
|
if (c == EOF && inBuf->len == 0)
|
||||||
return EOF;
|
return EOF;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue