~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/drizzle_protocol/errmsg.h

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef PLUGIN_DRIZZLE_PROTOCOL_ERRMSG_H
21
21
#define PLUGIN_DRIZZLE_PROTOCOL_ERRMSG_H
22
22
 
 
23
namespace drizzle_protocol
 
24
{
 
25
 
23
26
/* Error messages for MySQL clients */
24
27
/* (Error messages for the daemon are in sql/share/errmsg.txt) */
25
28
 
26
 
#ifdef  __cplusplus
27
 
extern "C"
28
 
#endif
29
29
const char * drizzleclient_get_client_error(unsigned int err_index);
30
30
 
31
31
#define CR_MIN_ERROR    2000  /* For easier client code */
103
103
  CR_ERROR_LAST    =2065 /*Copy last error nr:*/
104
104
};
105
105
 
 
106
} /* namespace drizzle_protocol */
 
107
 
106
108
#endif /* PLUGIN_DRIZZLE_PROTOCOL_ERRMSG_H */