~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/mysql_protocol.cc

  • Committer: lbieber at stabletransit
  • Date: 2010-10-18 20:26:50 UTC
  • mfrom: (1859.1.4 build)
  • Revision ID: lbieber@drizzle-build-n02.wc1.dfw1.stabletransit.com-20101018202650-hcvsp7yuaf1xy04s
Merge Monty - Adds support for a const std::string sys_var type.
Merge Monty - Make it possible to use sys_var directly from plugins.
Merge Padraig - Replaced a few unit8_t types that were being used as bitmaps with std::bitset

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)