~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/haildb/status_table_function.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:
16
16
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17
17
*/
18
18
 
19
 
#include <config.h>
20
 
#include <drizzled/plugin/table_function.h>
 
19
#include "config.h"
 
20
#include "drizzled/plugin/table_function.h"
21
21
 
22
22
#include <haildb.h>
23
23
 
102
102
 
103
103
int status_table_function_initialize(drizzled::module::Context &context)
104
104
{
105
 
  status_tool= new LibInnoDBStatusTool();
 
105
  status_tool= new(std::nothrow)LibInnoDBStatusTool();
106
106
  context.add(status_tool);
107
 
        return 0;
 
107
 
 
108
  return 0;
108
109
}