1
/* Copyright (C) 2003 MySQL AB
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
GNU General Public License for more details.
12
You should have received a copy of the GNU General Public License
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
19
#include "testDefinitions.h"
21
#define SUBSCRIBER_TABLE "SUBSCRIBER"
22
#define SUBSCRIBER_NUMBER "NUMBER"
23
#define SUBSCRIBER_LOCATION "LOCATION"
24
#define SUBSCRIBER_NAME "NAME"
25
#define SUBSCRIBER_GROUP "GROUP_ID"
26
#define SUBSCRIBER_SESSIONS "SESSIONS"
27
#define SUBSCRIBER_CHANGED_BY "CHANGED_BY"
28
#define SUBSCRIBER_CHANGED_TIME "CHANGED_TIME"
30
#define SERVER_TABLE "SERVER"
31
#define SERVER_ID "SERVER_ID"
32
#define SERVER_SUBSCRIBER_SUFFIX "SUFFIX"
33
#define SERVER_NAME "NAME"
34
#define SERVER_READS "NO_OF_READ"
35
#define SERVER_INSERTS "NO_OF_INSERT"
36
#define SERVER_DELETES "NO_OF_DELETE"
38
#define GROUP_TABLE "GROUP_T"
39
#define GROUP_ID "GROUP_ID"
40
#define GROUP_NAME "GROUP_NAME"
41
#define GROUP_ALLOW_READ "ALLOW_READ"
42
#define GROUP_ALLOW_INSERT "ALLOW_INSERT"
43
#define GROUP_ALLOW_DELETE "ALLOW_DELETE"
45
#define SESSION_TABLE "SESSION"
46
#define SESSION_SERVER "SERVER_ID"
47
#define SESSION_SUBSCRIBER "NUMBER"
48
#define SESSION_DATA "DATA"
52
#define IND_SUBSCRIBER_NUMBER (unsigned)0
53
#define IND_SUBSCRIBER_NAME (unsigned)1
54
#define IND_SUBSCRIBER_GROUP (unsigned)2
55
#define IND_SUBSCRIBER_LOCATION (unsigned)3
56
#define IND_SUBSCRIBER_SESSIONS (unsigned)4
57
#define IND_SUBSCRIBER_CHANGED_BY (unsigned)5
58
#define IND_SUBSCRIBER_CHANGED_TIME (unsigned)6
60
#define IND_SERVER_SUBSCRIBER_SUFFIX (unsigned)0
61
#define IND_SERVER_ID (unsigned)1
62
#define IND_SERVER_NAME (unsigned)2
63
#define IND_SERVER_READS (unsigned)3
64
#define IND_SERVER_INSERTS (unsigned)4
65
#define IND_SERVER_DELETES (unsigned)5
67
#define IND_GROUP_ID (unsigned)0
68
#define IND_GROUP_NAME (unsigned)1
69
#define IND_GROUP_ALLOW_READ (unsigned)2
70
#define IND_GROUP_ALLOW_INSERT (unsigned)3
71
#define IND_GROUP_ALLOW_DELETE (unsigned)4
73
#define IND_SESSION_SUBSCRIBER (unsigned)0
74
#define IND_SESSION_SERVER (unsigned)1
75
#define IND_SESSION_DATA (unsigned)2