~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
2375
2375
 
2376
2376
 
2377
2377
/*
2378
 
  Checks for usage of routines and/or tables in a parsed statement
2379
 
 
2380
 
  SYNOPSIS
2381
 
    st_lex:table_or_sp_used()
2382
 
 
2383
 
  RETURN
2384
 
    false  No routines and tables used
2385
 
    true   Either or both routines and tables are used.
2386
 
*/
2387
 
 
2388
 
bool LEX::table_or_sp_used()
2389
 
{
2390
 
  if (query_tables)
2391
 
    return(true);
2392
 
 
2393
 
  return(false);
2394
 
}
2395
 
 
2396
 
 
2397
 
/*
2398
2378
  Do end-of-prepare fixup for list of tables and their merge-VIEWed tables
2399
2379
 
2400
2380
  SYNOPSIS