Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Return column names as values. Refs gh-83

  • Loading branch information...
commit 4025c0081662b39992f0d4cad2cb7a1323911699 1 parent 8930527
@piotras authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  php_midgard_query_selectors.c
View
2  php_midgard_query_selectors.c
@@ -236,7 +236,7 @@ static PHP_METHOD(midgard_query_result, get_column_names)
guint i;
for (i = 0; i < n_names; i++) {
- add_assoc_string(return_value, (gchar *)names[i], "", 1);
+ add_index_string(return_value, i, (gchar *)names[i], 1);
}
g_free(names);
Please sign in to comment.
Something went wrong with that request. Please try again.