~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_state.c

  • Committer: Brian Aker
  • Date: 2008-08-05 04:10:42 UTC
  • mfrom: (261.2.8 codestyle)
  • mto: This revision was merged to the branch mainline in revision 263.
  • Revision ID: brian@tangent.org-20080805041042-1l4893r3bwy2lxz2
Merge from Monty

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;