~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • 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:
18
18
 */
19
19
 
20
20
 
 
21
 
21
22
#ifndef DRIZZLED_SESSION_H
22
23
#define DRIZZLED_SESSION_H
23
24
 
64
65
#include <boost/thread/condition_variable.hpp>
65
66
#include <boost/make_shared.hpp>
66
67
 
 
68
#include "drizzled/visibility.h"
67
69
 
68
70
#define MIN_HANDSHAKE_SIZE      6
69
71
 
259
261
namespace drizzled
260
262
{
261
263
 
262
 
void mark_transaction_to_rollback(Session *session, bool all);
 
264
DRIZZLED_API void mark_transaction_to_rollback(Session *session, bool all);
263
265
 
264
266
/**
265
267
  Storage engine specific thread local data.
314
316
 * session object.
315
317
 */
316
318
 
317
 
class Session : public Open_tables_state
 
319
class DRIZZLED_API Session :
 
320
  public Open_tables_state
318
321
{
319
322
public:
320
323
  // Plugin storage in Session.