~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Brian Aker
  • Date: 2010-10-15 00:10:43 UTC
  • mto: This revision was merged to the branch mainline in revision 1851.
  • Revision ID: brian@tangent.org-20101015001043-df9lfy4rubdiwa4d
This patch returns dynamic SQL into the core (through SQL-Server syntax).
This will allow us to add back in the test cases that were using
DECLARE/PREPARE syntax (which... was a last minutes decision in 5.0 to allow
so that we could have "dynamic" SQL). 

Show diffs side-by-side

added added

removed removed

Lines of Context:
281
281
  lex->setCacheable(true);
282
282
 
283
283
  if (lex->statement) 
 
284
  {
284
285
    delete lex->statement;
 
286
    lex->statement= NULL;
 
287
  }
285
288
}
286
289
 
287
290
static int find_keyword(Lex_input_stream *lip, uint32_t len, bool function)