19 #ifndef TESTDEFINITIONS_H
20 #define TESTDEFINITIONS_H
26 #include <ndb_types.h>
32 #define OP_PER_TRANS 200
33 #define NO_OF_SUBSCRIBERS 500000
34 #define NO_OF_GROUPS 100
35 #define NO_OF_SERVERS 20
37 #define SUBSCRIBER_NUMBER_LENGTH 12
38 #define SUBSCRIBER_NUMBER_SUFFIX_LENGTH 2
40 #define SUBSCRIBER_NAME_LENGTH 32
41 #define CHANGED_BY_LENGTH 32
42 #define CHANGED_TIME_LENGTH 32
43 #define SESSION_DETAILS_LENGTH 2000
44 #define SERVER_NAME_LENGTH 32
45 #define GROUP_NAME_LENGTH 32
53 typedef char SubscriberNumber[SUBSCRIBER_NUMBER_LENGTH];
54 typedef char SubscriberSuffix[SUBSCRIBER_NUMBER_SUFFIX_LENGTH + 2];
55 typedef char SubscriberName[SUBSCRIBER_NAME_LENGTH];
56 typedef char ServerName[SERVER_NAME_LENGTH];
57 typedef char GroupName[GROUP_NAME_LENGTH];
58 typedef char ChangedBy[CHANGED_BY_LENGTH];
59 typedef char ChangedTime[CHANGED_TIME_LENGTH];
60 typedef char SessionDetails[SESSION_DETAILS_LENGTH];
61 typedef Uint32 ServerId;
62 typedef Uint32 ServerBit;
63 typedef Uint32 GroupId;
64 typedef Uint32 Location;
65 typedef Uint32 Permission;
68 typedef Uint32 ActiveSessions;
69 typedef unsigned int BranchExecuted;
70 typedef unsigned int DoRollback;