~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/options.h

  • Committer: Olaf van der Spek
  • Date: 2011-04-05 12:26:58 UTC
  • mto: (2278.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2272.
  • Revision ID: olafvdspek@gmail.com-20110405122658-xxrvmobwwwwf3oct
Refactor Open_tables_state

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
{
80
79
#define CLIENT_ODBC             64      /* Odbc client */
81
80
#define CLIENT_IGNORE_SPACE     256     /* Ignore spaces before '(' */
82
81
#define CLIENT_PROTOCOL_MYSQL41 512     /* New 4.1 protocol */
 
82
#define CLIENT_INTERACTIVE      1024
83
83
#define CLIENT_SSL              2048    /* Switch to SSL after handshake */
84
84
#define CLIENT_IGNORE_SIGPIPE   4096    /* IGNORE sigpipes */
85
85
#define CLIENT_TRANSACTIONS     8192    /* Support transactions */
87
87
#define CLIENT_SECURE_CONNECTION 32768  /* New 4.1 authentication */
88
88
#define CLIENT_MULTI_STATEMENTS (1UL << 16) /* Enable/disable multi-stmt support */
89
89
#define CLIENT_MULTI_RESULTS    (1UL << 17) /* Enable/disable multi-results */
 
90
#define CLIENT_CAPABILITIES_PLUGIN_AUTH (1 << 19)
90
91
 
91
92
#define CLIENT_ADMIN            (1UL << 25) /* Admin client connection */
92
93
 
102
103
                           CLIENT_COMPRESS | \
103
104
                           CLIENT_ODBC | \
104
105
                           CLIENT_IGNORE_SPACE | \
 
106
                           CLIENT_INTERACTIVE | \
105
107
                           CLIENT_SSL | \
106
108
                           CLIENT_IGNORE_SIGPIPE | \
107
109
                           CLIENT_TRANSACTIONS | \
109
111
                           CLIENT_SECURE_CONNECTION | \
110
112
                           CLIENT_MULTI_STATEMENTS | \
111
113
                           CLIENT_MULTI_RESULTS | \
 
114
                           CLIENT_CAPABILITIES_PLUGIN_AUTH | \
112
115
                           CLIENT_ADMIN | \
113
116
                           CLIENT_SSL_VERIFY_SERVER_CERT | \
114
117
                           CLIENT_REMEMBER_OPTIONS)
124
127
 
125
128
} /* namespace drizzle_plugin */
126
129
 
127
 
#endif /* PLUGIN_MYSQL_PROTOCOL_OPTIONS_H */