~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/embedded_innodb/embedded_innodb_engine.cc

  • Committer: Brian Aker
  • Date: 2010-08-05 20:24:49 UTC
  • mto: (1688.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1689.
  • Revision ID: brian@gaz-20100805202449-am05zi2zmjhklt8g
This fixes the lower casing of names from Schema even when we should not.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
#include "drizzled/field/enum.h"
103
103
#include <drizzled/session.h>
104
104
 
 
105
#include <boost/algorithm/string.hpp>
 
106
 
105
107
using namespace std;
106
108
using namespace google;
107
109
using namespace drizzled;
1221
1223
{
1222
1224
  ib_trx_t   transaction;
1223
1225
  ib_crsr_t  cursor;
1224
 
  string search_string(schema.getLower());
 
1226
  /* 
 
1227
    Why not use getPath()?
 
1228
  */
 
1229
  string search_string(schema.getSchemaName());
 
1230
 
 
1231
  boost::algorithm::to_lower(search_string);
1225
1232
 
1226
1233
  search_string.append("/");
1227
1234
 
1267
1274
      if (set_of_names)
1268
1275
        set_of_names->insert(just_table_name);
1269
1276
      if (identifiers)
1270
 
        identifiers->push_back(TableIdentifier(schema.getLower(), just_table_name));
 
1277
        identifiers->push_back(TableIdentifier(schema.getSchemaName(), just_table_name));
1271
1278
    }
1272
1279
 
1273
1280