~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/table_function.h

  • Committer: Brian Aker
  • Date: 2010-02-17 01:56:39 UTC
  • mfrom: (1273.13.69 build)
  • Revision ID: brian@gaz-20100217015639-ou3s722vekucn5fd
Many updates. Brian, Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
#include <string>
35
35
#include <set>
 
36
#include <algorithm>
36
37
 
37
38
namespace drizzled
38
39
{
126
127
    if (local_schema.length() == 0)
127
128
    {
128
129
      local_schema= identifier.getSchemaName();
129
 
      transform(local_schema.begin(), local_schema.end(),
130
 
                local_schema.begin(), ::tolower);
 
130
      std::transform(local_schema.begin(), local_schema.end(),
 
131
                     local_schema.begin(), ::tolower);
131
132
    }
132
133
 
133
134
    return local_schema;
138
139
    if (local_path.length() == 0)
139
140
    {
140
141
      local_path= identifier.getPath();
141
 
      transform(local_path.begin(), local_path.end(),
142
 
                local_path.begin(), ::tolower);
 
142
      std::transform(local_path.begin(), local_path.end(),
 
143
                     local_path.begin(), ::tolower);
143
144
    }
144
145
 
145
146
    return local_path;