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

View File

@ -14,7 +14,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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(); yyresult = yyparse();
scanner_finish(); scanner_finish();
clearerr(stdin);
if (yyresult) /* error */ if (yyresult) /* error */
return NIL; return NIL;