~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2009-07-09 19:49:32 UTC
  • mfrom: (1085.1.10 mordred)
  • Revision ID: brian@gaz-20090709194932-o90qfzgk9xem5di1
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
  parser.
138
138
*/
139
139
 
140
 
void my_parse_error(const char *s)
 
140
static void my_parse_error(const char *s)
141
141
{
142
142
  Session *session= current_session;
143
143
  Lex_input_stream *lip= session->m_lip;
169
169
  to abort from the parser.
170
170
*/
171
171
 
172
 
void DRIZZLEerror(const char *s)
 
172
static void DRIZZLEerror(const char *s)
173
173
{
174
174
  Session *session= current_session;
175
175
 
197
197
  @param expr first and only expression of the in value list
198
198
  @return an expression representing the IN predicate.
199
199
*/
200
 
Item* handle_sql2003_note184_exception(Session *session, Item* left, bool equal,
201
 
                                       Item *expr)
 
200
static Item* handle_sql2003_note184_exception(Session *session,
 
201
                                              Item* left, bool equal,
 
202
                                              Item *expr)
202
203
{
203
204
  /*
204
205
    Relevant references for this issue:
274
275
   @return <code>false</code> if successful, <code>true</code> if an error was
275
276
   reported. In the latter case parsing should stop.
276
277
 */
277
 
bool add_select_to_union_list(LEX *lex, bool is_union_distinct)
 
278
static bool add_select_to_union_list(LEX *lex, bool is_union_distinct)
278
279
{
279
280
  if (lex->result)
280
281
  {
306
307
   @return false if successful, true if an error was reported. In the latter
307
308
   case parsing should stop.
308
309
 */
309
 
bool setup_select_in_parentheses(LEX *lex) 
 
310
static bool setup_select_in_parentheses(LEX *lex) 
310
311
{
311
312
  Select_Lex * sel= lex->current_select;
312
313
  if (sel->set_braces(1))