~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 23:52:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2251.
  • Revision ID: olafvdspek@gmail.com-20110323235254-g3q0c1feajno7edr
 Remove const_reference and reference from identifier::Table

Show diffs side-by-side

added added

removed removed

Lines of Context:
360
360
}
361
361
 
362
362
message::table::shared_ptr StorageEngine::getTableMessage(Session& session,
363
 
                                                          identifier::Table::const_reference identifier,
 
363
                                                          const identifier::Table& identifier,
364
364
                                                          bool include_temporary_tables)
365
365
{
366
366
  drizzled::error_t error;
430
430
class DropTableByIdentifier: public std::unary_function<EngineVector::value_type, bool>
431
431
{
432
432
  Session::reference session;
433
 
  identifier::Table::const_reference identifier;
 
433
  const identifier::Table& identifier;
434
434
  drizzled::error_t &error;
435
435
 
436
436
public:
437
437
 
438
438
  DropTableByIdentifier(Session::reference session_arg,
439
 
                        identifier::Table::const_reference identifier_arg,
 
439
                        const identifier::Table& identifier_arg,
440
440
                        drizzled::error_t &error_arg) :
441
441
    session(session_arg),
442
442
    identifier(identifier_arg),
470
470
 
471
471
 
472
472
bool StorageEngine::dropTable(Session::reference session,
473
 
                              identifier::Table::const_reference identifier,
 
473
                              const identifier::Table& identifier,
474
474
                              drizzled::error_t &error)
475
475
{
476
476
  error= EE_OK;
508
508
 
509
509
bool StorageEngine::dropTable(Session::reference session,
510
510
                              StorageEngine &engine,
511
 
                              identifier::Table::const_reference identifier,
 
511
                              const identifier::Table& identifier,
512
512
                              drizzled::error_t &error)
513
513
{
514
514
  error= EE_OK;