~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_state.c

MergedĀ inĀ remove-include-dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
/* Functions to map mysqld errno to sql_state */
17
17
 
18
18
#include "global.h"
19
 
#include <drizzled_error.h>
 
19
#include <drizzled/error.h>
20
20
#include <libdrizzle/drizzle.h>
21
 
 
22
 
struct st_map_errno_to_sqlstate
23
 
{
24
 
  uint mysql_errno;
25
 
  const char *odbc_state;
26
 
  const char *jdbc_state;
27
 
};
28
 
 
29
 
struct st_map_errno_to_sqlstate sqlstate_map[]=
30
 
{
31
 
#include <sql_state.h>
32
 
};
 
21
#include "sql_state.h"
33
22
 
34
23
const char *mysql_errno_to_sqlstate(uint mysql_errno)
35
24
{