~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/db.cc

  • Committer: Stewart Smith
  • Date: 2009-12-08 01:43:27 UTC
  • mto: (1240.3.7 build)
  • mto: This revision was merged to the branch mainline in revision 1241.
  • Revision ID: stewart@flamingspork.com-20091208014327-sbjp9fi6q8j07kqg
for NormalisedDatabaseName s/is_valid/isValid/ to conform to style guide.

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
    return(-1);
187
187
  }
188
188
 
189
 
  assert(database_name.is_valid());
 
189
  assert(database_name.isValid());
190
190
  schema_message->set_name(database_name.to_string());
191
191
 
192
192
  /*
280
280
    goto exit;
281
281
 
282
282
  assert(schema_message);
283
 
  assert(database_name.is_valid());
 
283
  assert(database_name.isValid());
284
284
 
285
285
  schema_message->set_name(database_name.to_string());
286
286
 
793
793
    from sp_head::execute(). But let's switch the current database to NULL
794
794
    in this case to be sure.
795
795
  */
796
 
  if (! normalised_database_name.is_valid())
 
796
  if (! normalised_database_name.isValid())
797
797
  {
798
798
    my_error(ER_WRONG_DB_NAME, MYF(0),
799
799
             normalised_database_name.to_string().c_str());
861
861
  free(database_name);
862
862
}
863
863
 
864
 
bool NormalisedDatabaseName::is_valid() const
 
864
bool NormalisedDatabaseName::isValid() const
865
865
{
866
866
  LEX_STRING db_lexstring;
867
867