~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzleclient/errmsg.c

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-21 20:26:28 UTC
  • mto: (960.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 961.
  • Revision ID: osullivan.padraig@gmail.com-20090321202628-nh6qsi825m4d4av6
Removing the queues.[h,cc] files from the mysys directory. The only place
where they are needed now is in the MyISAM storage engine. Thus, I moved the
files there and updated the files in the MyISAM storage engine
appropriately.

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 "config.h"
 
23
#include <drizzled/gettext.h>
23
24
#include "errmsg.h"
24
25
 
25
26
const char *client_errors[]=
92
93
     "information, system error: %d"),
93
94
  N_("Lost connection to Drizzle server while setting initial database, "
94
95
     "system error: %d"),
95
 
  N_("Statement closed indirectly because of a preceeding %s() call"),
 
96
  N_("Statement closed indirectly because of a preceding %s() call"),
96
97
/* CR_NET_UNCOMPRESS_ERROR 08S01  */
97
98
  N_("Couldn't uncompress communication packet"),
98
99
/* CR_NET_READ_ERROR 08S01  */
108
109
 
109
110
 
110
111
const char *
111
 
get_client_error(unsigned int err_index)
 
112
drizzleclient_get_client_error(unsigned int err_index)
112
113
{
113
114
  return _(client_errors[err_index]);
114
115
}