~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_gearman/logging_gearman.cc

  • Committer: Monty Taylor
  • Date: 2011-01-26 19:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: mordred@inaugust.com-20110126191555-nq5nnzyscvngsip2
Turns on -fvisibility=hidden by default. Symbols intended to be used by
plugins need to be marked with DRIZZLED_API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
               (int)dbs->size(), dbs->c_str(),
252
252
               // do need to quote the query
253
253
               quotify((const unsigned char *)session->getQueryString()->c_str(), session->getQueryString()->length(), qs, sizeof(qs)),
254
 
               // command_name is defined in drizzled/sql_parse.cc
255
 
               // dont need to quote the command name, always CSV safe
256
 
               (int)drizzled::command_name[session->command].length,
257
 
               drizzled::command_name[session->command].str,
 
254
               // getCommandName is defined in drizzled/sql_parse.h dont
 
255
               // need to quote the command name, always CSV safe
 
256
               (int)drizzled::getCommandName(session->command).size(),
 
257
               drizzled::getCommandName(session->command).c_str(),
258
258
               // counters are at end, to make it easier to add more
259
259
               (t_mark - session->getConnectMicroseconds()),
260
260
               (session->getElapsedTime()),