~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Mark Atwood
  • Date: 2011-08-01 05:22:14 UTC
  • mfrom: (1919.3.53 drizzle_pbms)
  • Revision ID: me@mark.atwood.name-20110801052214-3wdsx3xgld6b5v4f
mergeĀ lp:~barry-leslie/drizzle/drizzle_pbms

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
    return drizzle_con_error(&b_);
139
139
  }
140
140
 
141
 
  void set_tcp(const char* host, in_port_t port)
142
 
  {
143
 
    drizzle_con_set_tcp(&b_, host, port);
144
 
  }
145
 
 
146
 
  void set_auth(const char* user, const char* password)
147
 
  {
148
 
    drizzle_con_set_auth(&b_, user, password);
149
 
  }
150
 
 
151
 
  void set_db(const char* db)
152
 
  {
153
 
    drizzle_con_set_db(&b_, db);
154
 
  }
155
 
 
156
141
  drizzle_return_t query(result_c& result, const char* str, size_t str_size)
157
142
  {
158
143
    drizzle_return_t ret;