~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/console/console.cc

  • Committer: kalebral at gmail
  • Date: 2010-12-04 04:58:08 UTC
  • mto: (1971.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1972.
  • Revision ID: kalebral@gmail.com-20101204045808-acto22oxfg43m02e
a few more updates of files that did not have license or had incorrect license structure

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
  virtual bool authenticate(void)
100
100
  {
101
101
    printDebug("authenticate");
102
 
    identifier::User::shared_ptr user= identifier::User::make_shared();
103
 
    user->setUser(username);
104
 
    session->setUser(user);
 
102
    session->getSecurityContext().setUser(username);
105
103
    return session->checkUser(password, db);
106
104
  }
107
105
 
201
199
 
202
200
    char buff[MAX_FIELD_WIDTH];
203
201
    String str(buff, sizeof(buff), &my_charset_bin);
204
 
    from->val_str_internal(&str);
 
202
    from->val_str(&str);
205
203
    return store(str.ptr(), str.length());
206
204
  }
207
205