~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/info_schema/tables.cc

  • Committer: Joe Daly
  • Date: 2010-01-05 01:41:25 UTC
  • mto: This revision was merged to the branch mainline in revision 1269.
  • Revision ID: skinny.moey@gmail.com-20100105014125-zyssxmzq4duury6x
fix up review comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
379
379
 
380
380
    if (tmp_table != NULL)
381
381
    {
382
 
      const std::string plugin_name= tmp_table->getPluginName();
 
382
      const std::string &plugin_name= tmp_table->getPluginName();
383
383
 
384
 
      if (plugin_name != "")
 
384
      if (! plugin_name.empty())
385
385
      {
386
386
        table->field[21]->set_notnull();
387
387
        table->field[21]->store(plugin_name.c_str(), plugin_name.size(), cs);