~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Dennis Schoen
  • Date: 2010-01-28 16:47:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1292.
  • Revision ID: dennis@blogma.de-20100128164702-0gyrsy2ymctj9ia4
add getSecurityContext()

Show diffs side-by-side

added added

removed removed

Lines of Context:
751
751
    for(vector<Session*>::iterator it= getSessionList().begin(); it != getSessionList().end(); ++it)
752
752
    {
753
753
      tmp= *it;
754
 
      SecurityContext *tmp_sctx= &tmp->security_ctx;
 
754
      SecurityContext *tmp_sctx= &tmp->getSecurityContext();
755
755
      struct st_my_thread_var *mysys_var;
756
756
      if (tmp->client->isConnected() && (!user || (tmp_sctx->getUser().c_str() && !strcmp(tmp_sctx->getUser().c_str(), user))))
757
757
      {