~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/table_function.h

  • Committer: Brian Aker
  • Date: 2010-12-04 03:02:43 UTC
  • mto: This revision was merged to the branch mainline in revision 1973.
  • Revision ID: brian@tangent.org-20101204030243-febgthqec5rxus47
Did a grep for _if(

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, Inc.
 
6
 *  Copyright (C) 2010 Sun Microsystems
7
7
 *  Copyright (C) 2010 Monty Taylor
8
8
 *
9
9
 *  This program is free software; you can redistribute it and/or modify
24
24
#define DRIZZLED_PLUGIN_TABLE_FUNCTION_H
25
25
 
26
26
#include <drizzled/definitions.h>
27
 
#include <drizzled/plugin.h>
28
 
#include <drizzled/plugin/plugin.h>
29
 
#include <drizzled/identifier.h>
30
 
#include <drizzled/message/table.pb.h>
31
 
#include <drizzled/charset.h>
32
 
#include <drizzled/field.h>
 
27
#include "drizzled/plugin.h"
 
28
#include "drizzled/plugin/plugin.h"
 
29
#include "drizzled/identifier.h"
 
30
#include "drizzled/message/table.pb.h"
 
31
#include "drizzled/charset.h"
 
32
#include "drizzled/field.h"
33
33
 
34
34
#include <string>
35
35
#include <set>
36
36
#include <algorithm>
37
37
 
38
 
#include <drizzled/visibility.h>
39
 
 
40
38
namespace drizzled
41
39
{
42
40
 
 
41
extern int wild_case_compare(const CHARSET_INFO * const cs, 
 
42
                             const char *str,const char *wildstr);
 
43
 
43
44
namespace plugin
44
45
{
45
46
 
60
61
  return buffer;
61
62
}
62
63
 
63
 
class DRIZZLED_API TableFunction : public Plugin
 
64
class TableFunction : public Plugin
64
65
{
65
66
  TableFunction();
66
67
  TableFunction(const TableFunction &);
67
68
  TableFunction& operator=(const TableFunction &);
68
69
 
69
70
  message::Table proto;
70
 
  identifier::Table identifier;
 
71
  TableIdentifier identifier;
71
72
  std::string local_path;
72
73
  std::string original_table_label;
73
74
 
98
99
    BOOLEAN,
99
100
    NUMBER,
100
101
    STRING,
101
 
    VARBINARY,
102
 
    SIZE
 
102
    VARBINARY
103
103
  };
104
104
 
105
105
  class Generator