~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/table_function.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *
4
4
 *  Definitions required for TableFunction plugin
5
5
 *
6
 
 *  Copyright (C) 2010 Sun Microsystems
 
6
 *  Copyright (C) 2010 Sun Microsystems, Inc.
7
7
 *  Copyright (C) 2010 Monty Taylor
8
8
 *
9
9
 *  This program is free software; you can redistribute it and/or modify
35
35
#include <set>
36
36
#include <algorithm>
37
37
 
 
38
#include "drizzled/visibility.h"
 
39
 
38
40
namespace drizzled
39
41
{
40
42
 
41
 
extern int wild_case_compare(const CHARSET_INFO * const cs, 
42
 
                             const char *str,const char *wildstr);
43
 
 
44
43
namespace plugin
45
44
{
46
45
 
61
60
  return buffer;
62
61
}
63
62
 
64
 
class TableFunction : public Plugin
 
63
class DRIZZLED_API TableFunction : public Plugin
65
64
{
66
65
  TableFunction();
67
66
  TableFunction(const TableFunction &);
68
67
  TableFunction& operator=(const TableFunction &);
69
68
 
70
69
  message::Table proto;
71
 
  TableIdentifier identifier;
 
70
  identifier::Table identifier;
72
71
  std::string local_path;
73
72
  std::string original_table_label;
74
73
 
99
98
    BOOLEAN,
100
99
    NUMBER,
101
100
    STRING,
102
 
    VARBINARY
 
101
    VARBINARY,
 
102
    SIZE
103
103
  };
104
104
 
105
105
  class Generator