~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/options.h

  • Committer: pcrews
  • Date: 2011-05-24 17:36:24 UTC
  • mfrom: (1099.4.232 drizzle)
  • Revision ID: pcrews@lucid32-20110524173624-mwr1bvq6fa1r01ao
Updated translations + 2011.05.18 tarball tag

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef PLUGIN_MYSQL_PROTOCOL_OPTIONS_H
21
 
#define PLUGIN_MYSQL_PROTOCOL_OPTIONS_H
 
20
#pragma once
22
21
 
23
22
namespace drizzle_plugin
24
23
{
71
70
};
72
71
 
73
72
 
74
 
#define CLIENT_NET_READ_TIMEOUT    365*24*3600  /* Timeout on read */
75
 
#define CLIENT_NET_WRITE_TIMEOUT  365*24*3600  /* Timeout on write */
76
 
 
77
73
#define CLIENT_LONG_PASSWORD    1       /* new more secure passwords */
78
74
#define CLIENT_FOUND_ROWS       2       /* Found instead of affected rows */
79
75
#define CLIENT_LONG_FLAG        4       /* Get all column flags */
83
79
#define CLIENT_ODBC             64      /* Odbc client */
84
80
#define CLIENT_IGNORE_SPACE     256     /* Ignore spaces before '(' */
85
81
#define CLIENT_PROTOCOL_MYSQL41 512     /* New 4.1 protocol */
 
82
#define CLIENT_INTERACTIVE      1024
86
83
#define CLIENT_SSL              2048    /* Switch to SSL after handshake */
87
84
#define CLIENT_IGNORE_SIGPIPE   4096    /* IGNORE sigpipes */
88
85
#define CLIENT_TRANSACTIONS     8192    /* Support transactions */
90
87
#define CLIENT_SECURE_CONNECTION 32768  /* New 4.1 authentication */
91
88
#define CLIENT_MULTI_STATEMENTS (1UL << 16) /* Enable/disable multi-stmt support */
92
89
#define CLIENT_MULTI_RESULTS    (1UL << 17) /* Enable/disable multi-results */
 
90
#define CLIENT_CAPABILITIES_PLUGIN_AUTH (1 << 19)
93
91
 
94
92
#define CLIENT_ADMIN            (1UL << 25) /* Admin client connection */
95
93
 
105
103
                           CLIENT_COMPRESS | \
106
104
                           CLIENT_ODBC | \
107
105
                           CLIENT_IGNORE_SPACE | \
 
106
                           CLIENT_INTERACTIVE | \
108
107
                           CLIENT_SSL | \
109
108
                           CLIENT_IGNORE_SIGPIPE | \
110
109
                           CLIENT_TRANSACTIONS | \
112
111
                           CLIENT_SECURE_CONNECTION | \
113
112
                           CLIENT_MULTI_STATEMENTS | \
114
113
                           CLIENT_MULTI_RESULTS | \
 
114
                           CLIENT_CAPABILITIES_PLUGIN_AUTH | \
115
115
                           CLIENT_ADMIN | \
116
116
                           CLIENT_SSL_VERIFY_SERVER_CERT | \
117
117
                           CLIENT_REMEMBER_OPTIONS)
127
127
 
128
128
} /* namespace drizzle_plugin */
129
129
 
130
 
#endif /* PLUGIN_MYSQL_PROTOCOL_OPTIONS_H */