~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzleclient/errmsg.c

  • Committer: Brian Aker
  • Date: 2009-02-20 22:48:37 UTC
  • Revision ID: brian@tangent.org-20090220224837-fw5wrf46n4ru3e6a
First pass of stripping uint

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
/* Error messages for MySQL clients */
21
21
 
22
 
#include <libdrizzle/gettext.h>
 
22
#include <drizzled/gettext.h>
23
23
#include "errmsg.h"
24
24
 
25
25
const char *client_errors[]=
92
92
     "information, system error: %d"),
93
93
  N_("Lost connection to Drizzle server while setting initial database, "
94
94
     "system error: %d"),
95
 
  N_("Statement closed indirectly because of a preceeding %s() call"),
 
95
  N_("Statement closed indirectly because of a preceding %s() call"),
96
96
/* CR_NET_UNCOMPRESS_ERROR 08S01  */
97
97
  N_("Couldn't uncompress communication packet"),
98
98
/* CR_NET_READ_ERROR 08S01  */
108
108
 
109
109
 
110
110
const char *
111
 
get_client_error(unsigned int err_index)
 
111
drizzleclient_get_client_error(unsigned int err_index)
112
112
{
113
113
  return _(client_errors[err_index]);
114
114
}