~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/drizzle_protocol/errmsg.h

  • Committer: Brian Aker
  • Date: 2010-04-05 23:46:43 UTC
  • Revision ID: brian@gaz-20100405234643-0he3xnj902rc70r8
Fixing tests to work with PBXT.

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 LIBDRIZZLECLIENT_ERRMSG_H
21
 
#define LIBDRIZZLECLIENT_ERRMSG_H
 
20
#ifndef PLUGIN_DRIZZLE_PROTOCOL_ERRMSG_H
 
21
#define PLUGIN_DRIZZLE_PROTOCOL_ERRMSG_H
 
22
 
 
23
namespace drizzle_protocol
 
24
{
22
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
 
#endif
 
106
} /* namespace drizzle_protocol */
 
107
 
 
108
#endif /* PLUGIN_DRIZZLE_PROTOCOL_ERRMSG_H */