~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_lex.cc

  • Committer: Brian Aker
  • Date: 2008-07-18 23:59:12 UTC
  • Revision ID: brian@tangent.org-20080718235912-0gnbr1zi4li3kp8x
More dead code baby... it has become a little like drilling for oil. Alaska
must exist in here somewhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
352
352
  lex->server_options.username= 0;
353
353
  lex->server_options.password= 0;
354
354
  lex->server_options.scheme= 0;
355
 
  lex->server_options.socket= 0;
356
355
  lex->server_options.owner= 0;
357
356
  lex->server_options.port= -1;
358
357
 
2338
2337
  }
2339
2338
}
2340
2339
 
2341
 
/*
2342
 
  Get effective type of CHECK OPTION for given view
2343
 
 
2344
 
  SYNOPSIS
2345
 
    get_effective_with_check()
2346
 
    view    given view
2347
 
 
2348
 
  NOTE
2349
 
    It have not sense to set CHECK OPTION for SELECT satement or subqueries,
2350
 
    so we do not.
2351
 
 
2352
 
  RETURN
2353
 
    VIEW_CHECK_NONE      no need CHECK OPTION
2354
 
    VIEW_CHECK_LOCAL     CHECK OPTION LOCAL
2355
 
    VIEW_CHECK_CASCADED  CHECK OPTION CASCADED
2356
 
*/
2357
 
 
2358
 
uint8 st_lex::get_effective_with_check(TABLE_LIST *view __attribute__((__unused__)))
2359
 
{
2360
 
  return 0;
2361
 
}
2362
 
 
2363
2340
 
2364
2341
/**
2365
2342
  This method should be called only during parsing.