diff --git a/src/parser/grammar.y b/src/parser/grammar.y
index bdba4ea4e453022c19e8a8eaa5f7b80852fa53d4..ed2b070dbb23fef9b2af493286ba3fea4653ac97 100644 (file)
--- a/src/parser/grammar.y
+++ b/src/parser/grammar.y
fetch_statement:
FETCH object_type STRING filter_clause
{
- $$ = sdb_ast_fetch_create($2, $3, NULL, $4);
+ $$ = sdb_ast_fetch_create($2, NULL, $3, $4);
CK_OOM($$);
}
|