~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to examples/simple_multi.c

  • Committer: Andrew Hutchings
  • Date: 2010-12-14 22:26:33 UTC
  • mto: This revision was merged to the branch mainline in revision 2006.
  • Revision ID: andrew@linuxjedi.co.uk-20101214222633-paah90lvt2byp0j2
Fix drizzleadmin test to work on IPV6 servers too

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 */
36
36
 
37
37
 
38
 
#include "config.h"
39
 
 
40
38
#include <stdio.h>
41
39
#include <string.h>
42
40
#include <stdlib.h>
97
95
    }
98
96
 
99
97
    if (drizzle_query_add(&drizzle, &(ql[x]), &(con[x]), &(result[x]), query,
100
 
                          strlen(query), DRIZZLE_QUERY_NONE, NULL) == NULL)
 
98
                          strlen(query), 0, NULL) == NULL)
101
99
    {
102
100
      printf("drizzle_query_add:%s\n", drizzle_error(&drizzle));
103
101
      return 1;