175
175
drizzle_con_st b_;
179
inline drizzle_return_t query(drizzle_con_st* con, result_c& result, const char* str, size_t str_size)
181
drizzle_return_t ret;
182
drizzle_query(con, &result.b_, str, str_size, &ret);
183
if (ret == DRIZZLE_RETURN_OK)
184
ret = drizzle_result_buffer(&result.b_);
188
inline drizzle_return_t query(drizzle_con_st* con, result_c& result, const std::string& str)
190
return query(con, result, str.data(), str.size());
193
inline drizzle_return_t query(drizzle_con_st* con, result_c& result, const char* str)
195
return query(con, result, str, strlen(str));