~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/mysql_protocol.cc

  • Committer: Barry.Leslie at PrimeBase
  • Date: 2010-10-20 20:41:00 UTC
  • mfrom: (1863 staging)
  • mto: This revision was merged to the branch mainline in revision 1871.
  • Revision ID: barry.leslie@primebase.com-20101020204100-oyj6p5cfssjw3p62
Merged with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
787
787
 
788
788
  session->getSecurityContext().setUser(user);
789
789
 
790
 
  return session->checkUser(passwd, passwd_len, l_db);
 
790
  return session->checkUser(string(passwd, passwd_len),
 
791
                            string(l_db ? l_db : ""));
 
792
 
791
793
}
792
794
 
793
795
bool ClientMySQLProtocol::netStoreData(const unsigned char *from, size_t length)