~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.h

  • Committer: Brian Aker
  • Date: 2011-01-04 22:27:38 UTC
  • mfrom: (2041.3.16 session-fix)
  • mto: This revision was merged to the branch mainline in revision 2055.
  • Revision ID: brian@tangent.org-20110104222738-4r3hrsxrlbuildrg
Merge in cleanup of error messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "drizzled/comp_creator.h"
27
27
#include "drizzled/identifier.h"
28
28
 
 
29
#include "drizzled/error_t.h"
 
30
 
29
31
namespace drizzled
30
32
{
31
33
 
49
51
 
50
52
Item *negate_expression(Session *session, Item *expr);
51
53
 
52
 
bool check_identifier_name(LEX_STRING *str, uint32_t err_code= 0,
 
54
bool check_identifier_name(LEX_STRING *str, drizzled_error_code err_code= EE_OK,
53
55
                           uint32_t max_char_length= NAME_CHAR_LEN,
54
56
                           const char *param_for_err_msg= "");
55
57
 
72
74
bool dispatch_command(enum enum_server_command command, Session *session,
73
75
                      char* packet, uint32_t packet_length);
74
76
 
75
 
bool check_simple_select();
 
77
bool check_simple_select(Session* session);
76
78
 
77
79
void init_select(LEX *lex);
78
80
bool new_select(LEX *lex, bool move_down);