name_add->getNextEvent())
<< " num_servers: " << num_servers << " selections: " << i;
- // Post a server IO error event. This simulates an IO error occuring
+ // Post a server IO error event. This simulates an IO error occurring
// and a need to select the new server.
ASSERT_NO_THROW(name_add->postNextEvent(NameChangeTransaction::
SERVER_IO_ERROR_EVT))
name_add->getNextEvent())
<< " num_servers: " << num_servers << " selections: " << i;
- // Post a server IO error event. This simulates an IO error occuring
+ // Post a server IO error event. This simulates an IO error occurring
// and a need to select the new server.
ASSERT_NO_THROW(name_add->postNextEvent(NameChangeTransaction::
SERVER_IO_ERROR_EVT))
name_remove->getNextEvent())
<< " num_servers: " << num_servers << " selections: " << i;
- // Post a server IO error event. This simulates an IO error occuring
+ // Post a server IO error event. This simulates an IO error occurring
// and a need to select the new server.
ASSERT_NO_THROW(name_remove->postNextEvent(NameChangeTransaction::
SERVER_IO_ERROR_EVT))
name_remove->getNextEvent())
<< " num_servers: " << num_servers << " selections: " << i;
- // Post a server IO error event. This simulates an IO error occuring
+ // Post a server IO error event. This simulates an IO error occurring
// and a need to select the new server.
ASSERT_NO_THROW(name_remove->postNextEvent(NameChangeTransaction::
SERVER_IO_ERROR_EVT))
switch(mysql_errno(mysql_)) {
// These are the ones we consider fatal. Remember this method is
// used to check errors of API calls made subsequent to successfully
- // connecting. Errors occuring while attempting to connect are
+ // connecting. Errors occurring while attempting to connect are
// checked in the connection code. An alternative would be to call
// mysql_ping() - assuming autoreconnect is off. If that fails
// then we know connection is toast.