~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_state.cc

Updated an include guard thanks to a nice catch during code review from Jay. Thanks Jay!

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 */
20
20
 
21
21
/* Functions to map drizzle errno to sql_state */
22
 
#include "config.h"
 
22
#include <drizzled/global.h>
23
23
 
 
24
#include CSTDINT_H
24
25
#include <algorithm>
25
26
 
26
27
#include <drizzled/sql_state.h>
28
29
 
29
30
using namespace std;
30
31
 
31
 
namespace drizzled
32
 
{
33
 
 
34
32
typedef struct st_map_errno_to_sqlstate
35
33
{
36
34
  uint32_t drizzle_errno;
269
267
  return "HY000";
270
268
 
271
269
}
272
 
 
273
 
} /* namespace drizzled */