Skip to content

Commit

Permalink
Modify backend index related problems
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbin579 committed Aug 16, 2018
1 parent 73e82f6 commit a0ddb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/admin/admin-commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void admin_select_all_backends(network_mysqld_con* admin_con)
network_backend_t *backend = bs->backends->pdata[i];
GPtrArray *row = g_ptr_array_new_with_free_func(g_free);

sprintf(buffer, "%d", i);
sprintf(buffer, "%d", i + 1);

g_ptr_array_add(row, g_strdup(buffer));

Expand Down

0 comments on commit a0ddb98

Please sign in to comment.