~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/current_session.h

  • Committer: Brian Aker
  • Date: 2011-02-22 04:19:44 UTC
  • mto: (2192.1.1 drizzle-staging)
  • mto: This revision was merged to the branch mainline in revision 2193.
  • Revision ID: brian@tangent.org-20110222041944-furz1h252ecz7mpd
Merge in modifications such that we check both schema and table for
replication option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems
 
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
24
24
#include <pthread.h>
25
25
#include <boost/thread/tss.hpp>
26
26
 
 
27
#include <drizzled/visibility.h>
 
28
 
27
29
namespace drizzled
28
30
{
29
31
 
31
33
 
32
34
namespace memory { class Root; }
33
35
 
34
 
Session *_current_session(void);
 
36
DRIZZLED_API Session *_current_session(void);
35
37
#define current_session ::drizzled::_current_session()
36
38
memory::Root *current_mem_root(void);
37
39