~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/table_function.h

  • Committer: Monty Taylor
  • Date: 2010-12-03 19:56:07 UTC
  • mto: (1975.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1976.
  • Revision ID: mordred@inaugust.com-20101203195607-yw50aynlw04dt5k6
All protocol stuff except for the buffer_length. WTF?

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
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