~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Lee Bieber
  • Date: 2010-12-23 23:11:00 UTC
  • mfrom: (2024.1.1 clean)
  • Revision ID: kalebral@gmail.com-20101223231100-0rqirgz7ugkl10yp
Merge Brian - session list cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
475
475
      break;
476
476
    }
477
477
    /* Close before unlock, avoiding crash. See LP bug#436685 */
478
 
    list.front()->client->close();
 
478
    list.front()->getClient()->close();
479
479
  }
480
480
}
481
481
 
628
628
    session              Thread handler
629
629
*/
630
630
 
 
631
void drizzled::Session::unlink(session_id_t &session_id)
 
632
{
 
633
  Session::shared_ptr session= session::Cache::singleton().find(session_id);
 
634
 
 
635
  if (session)
 
636
    unlink(session);
 
637
}
 
638
 
631
639
void drizzled::Session::unlink(Session::shared_ptr &session)
632
640
{
633
641
  connection_count.decrement();