~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/registry.h

  • Committer: Monty Taylor
  • Date: 2009-05-29 02:09:15 UTC
  • mto: This revision was merged to the branch mainline in revision 1044.
  • Revision ID: mordred@inaugust.com-20090529020915-ys8uyh4c3az4xn4f
Added toupper to registry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
    /* Ignore failures here - the original name could be all lower */
82
82
    addItemEntry(name, item);
83
83
 
 
84
    /* Transform to upper, then add */ 
 
85
    transform(name.begin(), name.end(),
 
86
              name.begin(), ::toupper);
 
87
 
 
88
    /* Ignore failures here - the original name could be all upper */
 
89
    addItemEntry(name, item);
 
90
 
84
91
    return false;
85
92
  }
86
93