~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/execute.cc

  • Committer: Brian Aker
  • Date: 2010-12-18 05:18:30 UTC
  • mto: This revision was merged to the branch mainline in revision 2009.
  • Revision ID: brian@tangent.org-20101218051830-lswb13hfiqbia74o
Adding user identifier that makes use of a shared ptr to handle concurrency
issues around looking at the state of a connection.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    // Overwrite the context in the next session, with what we have in our
65
65
    // session. Eventually we will allow someone to change the effective
66
66
    // user.
67
 
    new_session->getSecurityContext()= _session.getSecurityContext();
 
67
    new_session->user()= _session.user();
68
68
 
69
69
    if (Session::schedule(new_session))
70
70
    {