~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/show_engine_status.cc

  • Committer: Eric Day
  • Date: 2009-10-31 21:53:33 UTC
  • mfrom: (1200 staging)
  • mto: This revision was merged to the branch mainline in revision 1202.
  • Revision ID: eday@oddments.org-20091031215333-j94bjoanwmi68p6f
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "drizzled/item/int.h"
27
27
#include "drizzled/item/empty_string.h"
28
28
 
29
 
using namespace drizzled;
 
29
namespace drizzled
 
30
{
30
31
 
31
32
static bool stat_print(Session *session, const char *type, uint32_t type_len,
32
33
                       const char *file, uint32_t file_len,
68
69
{
69
70
  drizzled::plugin::StorageEngine *engine;
70
71
 
71
 
  if ((engine= plugin::StorageEngine::findByName(session, engine_name)))
 
72
  if ((engine= plugin::StorageEngine::findByName(*session, engine_name)))
72
73
  {
73
74
    bool res= show_status(session, 
74
75
                          engine,
80
81
 
81
82
  return true;
82
83
}
 
84
 
 
85
} /* namespace drizzled */
 
86