~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_state.c

  • Committer: Felipe
  • Date: 2008-08-04 23:58:04 UTC
  • mto: (261.2.6 codestyle)
  • mto: This revision was merged to the branch mainline in revision 263.
  • Revision ID: felipe@pena-20080804235804-x55q2xqxcar6u66f
- Renamed MYSQL_ERROR to DRIZZLE_ERROR.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <libdrizzle/drizzle.h>
21
21
#include "sql_state.h"
22
22
 
23
 
const char *mysql_errno_to_sqlstate(uint mysql_errno)
 
23
const char *drizzle_errno_to_sqlstate(uint mysql_errno)
24
24
{
25
25
  uint first=0, end= array_elements(sqlstate_map)-1;
26
26
  struct st_map_errno_to_sqlstate *map;