~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/options.h

  • Committer: Brian Aker
  • Date: 2010-12-18 10:14:05 UTC
  • mfrom: (2008.1.3 clean)
  • Revision ID: brian@tangent.org-20101218101405-qjbse29shi9coklg
Merge of user identifier work

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef PLUGIN_MYSQL_PROTOCOL_OPTIONS_H
21
21
#define PLUGIN_MYSQL_PROTOCOL_OPTIONS_H
22
22
 
23
 
#ifdef  __cplusplus
24
 
extern "C" {
25
 
#endif
 
23
namespace drizzle_plugin
 
24
{
26
25
 
27
26
enum drizzle_option
28
27
{
72
71
};
73
72
 
74
73
 
75
 
#ifdef  __cplusplus
76
 
}
77
 
#endif
78
 
 
79
74
#define CLIENT_NET_READ_TIMEOUT    365*24*3600  /* Timeout on read */
80
75
#define CLIENT_NET_WRITE_TIMEOUT  365*24*3600  /* Timeout on write */
81
76
 
95
90
#define CLIENT_MULTI_STATEMENTS (1UL << 16) /* Enable/disable multi-stmt support */
96
91
#define CLIENT_MULTI_RESULTS    (1UL << 17) /* Enable/disable multi-results */
97
92
 
 
93
#define CLIENT_ADMIN            (1UL << 25) /* Admin client connection */
 
94
 
98
95
#define CLIENT_SSL_VERIFY_SERVER_CERT (1UL << 30)
99
96
#define CLIENT_REMEMBER_OPTIONS (1UL << 31)
100
97
 
113
110
                           CLIENT_SECURE_CONNECTION | \
114
111
                           CLIENT_MULTI_STATEMENTS | \
115
112
                           CLIENT_MULTI_RESULTS | \
 
113
                           CLIENT_ADMIN | \
116
114
                           CLIENT_SSL_VERIFY_SERVER_CERT | \
117
115
                           CLIENT_REMEMBER_OPTIONS)
118
116
 
125
123
                                               & ~CLIENT_COMPRESS) \
126
124
                                               & ~CLIENT_SSL_VERIFY_SERVER_CERT)
127
125
 
 
126
} /* namespace drizzle_plugin */
 
127
 
128
128
#endif /* PLUGIN_MYSQL_PROTOCOL_OPTIONS_H */