~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/main.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-10 12:49:38 UTC
  • mto: This revision was merged to the branch mainline in revision 2233.
  • Revision ID: olafvdspek@gmail.com-20110310124938-gwhzx3pq8ueg682n
Session::lex()

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
      return;
104
104
 
105
105
    /*
106
 
      session->getLex()->current_select == 0 if lex structure is not inited
 
106
      session->lex().current_select == 0 if lex structure is not inited
107
107
      (not query command (COM_QUERY))
108
108
    */
109
 
    if (! (session->getLex()->current_select &&
110
 
           session->getLex()->current_select->no_error && !session->is_fatal_error))
 
109
    if (! (session->lex().current_select &&
 
110
           session->lex().current_select->no_error && !session->is_fatal_error))
111
111
    {
112
112
      if (! session->main_da.is_error())            // Return only first message
113
113
      {