File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
* procedural language
5
5
*
6
6
* IDENTIFICATION
7
- * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.22 2001/07/11 18:54:18 momjian Exp $
7
+ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.23 2001/07/12 01:19:40 momjian Exp $
8
8
*
9
9
* This software is copyrighted by Jan Wieck - Hamburg.
10
10
*
@@ -332,7 +332,7 @@ decl_statement : decl_varname decl_const decl_datatype decl_notnull decl_defval
332
332
{
333
333
PLpgSQL_rec *new ;
334
334
335
- new = malloc(sizeof (PLpgSQL_var ));
335
+ new = malloc(sizeof (PLpgSQL_rec ));
336
336
337
337
new ->dtype = PLPGSQL_DTYPE_REC;
338
338
new ->refname = $1 .name;
@@ -374,8 +374,8 @@ decl_statement : decl_varname decl_const decl_datatype decl_notnull decl_defval
374
374
new = malloc(sizeof (PLpgSQL_var));
375
375
memset (new , 0 , sizeof (PLpgSQL_var));
376
376
377
- curname_def = malloc(sizeof (PLpgSQL_var ));
378
- memset (curname_def, 0 , sizeof (PLpgSQL_var ));
377
+ curname_def = malloc(sizeof (PLpgSQL_expr ));
378
+ memset (curname_def, 0 , sizeof (PLpgSQL_expr ));
379
379
380
380
new ->dtype = PLPGSQL_DTYPE_VAR;
381
381
new ->refname = $1 .name;
You can’t perform that action at this time.
0 commit comments