118
124
buffer_total= buffer_size + BUFFER_CHUNK;
119
125
} while ((read_size= read(0, buffer + buffer_size, BUFFER_CHUNK)) != 0);
121
(void)drizzle_query(&con, &result, buffer, buffer_size, &ret);
127
(void)drizzle_query(con, &result, buffer, buffer_size, &ret);
122
128
if (ret != DRIZZLE_RETURN_OK)
124
130
printf("drizzle_query:%s\n", drizzle_error(&drizzle));