Skip to content

Commit 708a214

Browse files
committed
Fix CSV import for edge with one property
1 parent 23f3e87 commit 708a214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/load/age_load.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ agtype* create_agtype_from_list_i(char **header, char **fields,
157157
agtype_in_state result;
158158
size_t i;
159159

160-
if (start_index + 1 == fields_len)
160+
if (start_index >= fields_len)
161161
{
162162
return create_empty_agtype();
163163
}

0 commit comments

Comments
 (0)