diff --git a/t/utils/dbi_test.c b/t/utils/dbi_test.c
index 1666d6ed7e92af8e0baaa63b29b4ce9f8d0d26bc..e32f005f179146d6b4d3f437dc0a33d9d466386c 100644 (file)
--- a/t/utils/dbi_test.c
+++ b/t/utils/dbi_test.c
"column %zu; expected: %i", data[i].type, i,
expected_type);
- expected_data = golden_data[current_query->current_row][i];
+ expected_data = golden_data[current_query->current_row - 1][i + 1];
switch (expected_type) {
case SDB_TYPE_INTEGER:
fail_unless(data[i].data.integer == expected_data.integer,