MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ndb_schema.hpp
1
/*
2
Copyright (C) 2005, 2006 MySQL AB, 2008 Sun Microsystems, Inc.
3
All rights reserved. Use is subject to license terms.
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; version 2 of the License.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
#ifndef NDB_SCHEMA_H
20
#define NDB_SCHEMA_H
21
22
#include "testDefinitions.h"
23
24
#define SUBSCRIBER_TABLE "SUBSCRIBER"
25
#define SUBSCRIBER_NUMBER "NUMBER"
26
#define SUBSCRIBER_LOCATION "LOCATION"
27
#define SUBSCRIBER_NAME "NAME"
28
#define SUBSCRIBER_GROUP "GROUP_ID"
29
#define SUBSCRIBER_SESSIONS "SESSIONS"
30
#define SUBSCRIBER_CHANGED_BY "CHANGED_BY"
31
#define SUBSCRIBER_CHANGED_TIME "CHANGED_TIME"
32
33
#define SERVER_TABLE "SERVER"
34
#define SERVER_ID "SERVER_ID"
35
#define SERVER_SUBSCRIBER_SUFFIX "SUFFIX"
36
#define SERVER_NAME "NAME"
37
#define SERVER_READS "NO_OF_READ"
38
#define SERVER_INSERTS "NO_OF_INSERT"
39
#define SERVER_DELETES "NO_OF_DELETE"
40
41
#undef GROUP_NAME
/* Defined in Windows SDK (include\nb30.h), so we use NDB_GROUP_NAME */
42
43
#define GROUP_TABLE "GROUP_T"
44
#define GROUP_ID "GROUP_ID"
45
#define NDB_GROUP_NAME "GROUP_NAME"
46
#define GROUP_ALLOW_READ "ALLOW_READ"
47
#define GROUP_ALLOW_INSERT "ALLOW_INSERT"
48
#define GROUP_ALLOW_DELETE "ALLOW_DELETE"
49
50
#define SESSION_TABLE "SESSION"
51
#define SESSION_SERVER "SERVER_ID"
52
#define SESSION_SUBSCRIBER "NUMBER"
53
#define SESSION_DATA "DATA"
54
57
#define IND_SUBSCRIBER_NUMBER (unsigned)0
58
#define IND_SUBSCRIBER_NAME (unsigned)1
59
#define IND_SUBSCRIBER_GROUP (unsigned)2
60
#define IND_SUBSCRIBER_LOCATION (unsigned)3
61
#define IND_SUBSCRIBER_SESSIONS (unsigned)4
62
#define IND_SUBSCRIBER_CHANGED_BY (unsigned)5
63
#define IND_SUBSCRIBER_CHANGED_TIME (unsigned)6
64
65
#define IND_SERVER_SUBSCRIBER_SUFFIX (unsigned)0
66
#define IND_SERVER_ID (unsigned)1
67
#define IND_SERVER_NAME (unsigned)2
68
#define IND_SERVER_READS (unsigned)3
69
#define IND_SERVER_INSERTS (unsigned)4
70
#define IND_SERVER_DELETES (unsigned)5
71
72
#define IND_GROUP_ID (unsigned)0
73
#define IND_GROUP_NAME (unsigned)1
74
#define IND_GROUP_ALLOW_READ (unsigned)2
75
#define IND_GROUP_ALLOW_INSERT (unsigned)3
76
#define IND_GROUP_ALLOW_DELETE (unsigned)4
77
78
#define IND_SESSION_SUBSCRIBER (unsigned)0
79
#define IND_SESSION_SERVER (unsigned)1
80
#define IND_SESSION_DATA (unsigned)2
81
82
#endif
storage
ndb
test
ndbapi
bench
ndb_schema.hpp
Generated on Sat Nov 9 2013 01:28:19 for MySQL 5.6.14 Source Code Document by
1.8.1.2