~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/repl_failsafe.cc

  • Committer: Patrick Galbraith
  • Date: 2008-07-27 19:30:42 UTC
  • mto: (212.1.4 codestyle)
  • mto: This revision was merged to the branch mainline in revision 217.
  • Revision ID: patg@ishvara-20080727193042-iie3dyo65v0grevw
Renamed all MYSQL_TYPE... to FIELD_TYPE...

It took less time than I thought.

All tests pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
  Protocol *protocol= thd->protocol;
189
189
 
190
190
  field_list.push_back(new Item_return_int("Server_id", 10,
191
 
                                           MYSQL_TYPE_LONG));
 
191
                                           FIELD_TYPE_LONG));
192
192
  field_list.push_back(new Item_empty_string("Host", 20));
193
193
  if (opt_show_slave_auth_info)
194
194
  {
195
195
    field_list.push_back(new Item_empty_string("User",20));
196
196
    field_list.push_back(new Item_empty_string("Password",20));
197
197
  }
198
 
  field_list.push_back(new Item_return_int("Port", 7, MYSQL_TYPE_LONG));
 
198
  field_list.push_back(new Item_return_int("Port", 7, FIELD_TYPE_LONG));
199
199
  field_list.push_back(new Item_return_int("Rpl_recovery_rank", 7,
200
 
                                           MYSQL_TYPE_LONG));
 
200
                                           FIELD_TYPE_LONG));
201
201
  field_list.push_back(new Item_return_int("Master_id", 10,
202
 
                                           MYSQL_TYPE_LONG));
 
202
                                           FIELD_TYPE_LONG));
203
203
 
204
204
  if (protocol->send_fields(&field_list,
205
205
                            Protocol::SEND_NUM_ROWS | Protocol::SEND_EOF))