~drizzle-developers/drizzle/elliott-release

« back to all changes in this revision

Viewing changes to drizzled/memory/sql_alloc.h

  • Committer: Patrick Crews
  • Date: 2011-02-01 20:33:06 UTC
  • mfrom: (1845.2.288 drizzle)
  • Revision ID: gleebix@gmail.com-20110201203306-mwq2rk0it81tlwxh
Merged Trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
 
20
 
 
21
 
20
22
#ifndef DRIZZLED_MEMORY_SQL_ALLOC_H
21
23
#define DRIZZLED_MEMORY_SQL_ALLOC_H
22
24
 
23
25
#include <unistd.h>
24
26
#include "drizzled/memory/root.h"
25
27
 
 
28
#include "drizzled/visibility.h"
 
29
 
26
30
namespace drizzled
27
31
{
28
32
class Session;
37
41
char *sql_strmake(const char *str, size_t len);
38
42
void *sql_memdup(const void * ptr, size_t size);
39
43
 
40
 
class SqlAlloc
 
44
class DRIZZLED_API SqlAlloc
41
45
{
42
46
public:
43
47
  static void *operator new(size_t size);