~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/mysql_ms.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2008 PrimeBase Technologies GmbH, Germany
 
1
/* Copyright (C) 2008 PrimeBase Technologies GmbH, Germany
2
2
 *
3
3
 * PrimeBase Media Stream for MySQL
4
4
 *
29
29
 
30
30
 
31
31
#ifdef DRIZZLED
32
 
#include "config.h"
 
32
#include <config.h>
33
33
#include <drizzled/common.h>
34
34
#include <drizzled/data_home.h>
35
35
#include <drizzled/current_session.h>
56
56
}
57
57
 
58
58
#ifdef DRIZZLED
59
 
const std::string ms_my_get_mysql_home_path()
 
59
const char *ms_my_get_mysql_home_path()
60
60
{
61
 
        return drizzled::getDataHomeCatalog().file_string();
 
61
        return drizzled::getDataHomeCatalog().file_string().c_str();
62
62
}
63
63
 
64
64
bool ms_is_autocommit()
67
67
}
68
68
 
69
69
#else
70
 
const std::string ms_my_get_mysql_home_path()
 
70
const char *ms_my_get_mysql_home_path()
71
71
{
72
72
        return mysql_real_data_home;
73
73
}