~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: brian
  • Date: 2008-08-02 07:52:28 UTC
  • Revision ID: brian@localhost.localdomain-20080802075228-pjeanzl53moqomio
First pass through cleaning up security context.

Show diffs side-by-side

added added

removed removed

Lines of Context:
644
644
 
645
645
    /* Clear variables that are allocated */
646
646
    thd->user_connect= 0;
647
 
    thd->security_ctx->priv_user= thd->security_ctx->user;
648
647
    res= check_user(thd, COM_CHANGE_USER, passwd, passwd_len, db, false);
649
648
 
650
649
    if (res)