~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle-2.0/libdrizzle/libdrizzle.hpp

  • Committer: Olaf van der Spek
  • Date: 2011-08-11 12:10:21 UTC
  • mto: This revision was merged to the branch mainline in revision 2397.
  • Revision ID: olafvdspek@gmail.com-20110811121021-cuio8i0qi202l6iu
Delete commented functions

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
  drizzle_con_st b_;
176
176
};
177
177
 
178
 
/*
179
 
inline drizzle_return_t query(drizzle_con_st* con, result_c& result, const char* str, size_t str_size)
180
 
{
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_);
185
 
  return ret;
186
 
}
187
 
 
188
 
inline drizzle_return_t query(drizzle_con_st* con, result_c& result, const std::string& str)
189
 
{
190
 
  return query(con, result, str.data(), str.size());
191
 
}
192
 
 
193
 
inline drizzle_return_t query(drizzle_con_st* con, result_c& result, const char* str)
194
 
{
195
 
  return query(con, result, str, strlen(str));
196
 
}
197
 
*/
198
 
 
199
178
}