Code

parser/grammar: Fix the hostname in a 'FETCH host' node.
[sysdb.git] / src / parser / grammar.y
index bdba4ea4e453022c19e8a8eaa5f7b80852fa53d4..ed2b070dbb23fef9b2af493286ba3fea4653ac97 100644 (file)
@@ -279,7 +279,7 @@ statement:
 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($$);
                }
        |