Not sure why parser() was still doing clearerr(stdin) ... but it's

*got* to be pointless.
This commit is contained in:
Tom Lane 2003-05-05 01:59:02 +00:00
parent 16503e6fa4
commit e3ed942e3b
1 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.57 2003/04/29 22:13:10 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.58 2003/05/05 01:59:02 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -55,7 +55,6 @@ raw_parser(const char *str)
yyresult = yyparse();
scanner_finish();
clearerr(stdin);
if (yyresult) /* error */
return NIL;