~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_connect.cc

  • Committer: Brian Aker
  • Date: 2008-09-04 18:16:51 UTC
  • Revision ID: brian@tangent.org-20080904181651-kydoxckk145z99b8
strend remove

Show diffs side-by-side

added added

removed removed

Lines of Context:
335
335
    net->return_status= &thd->server_status;
336
336
 
337
337
  char *user= end;
338
 
  char *passwd= strend(user)+1;
 
338
  char *passwd= strchr(user, '\0')+1;
339
339
  uint user_len= passwd - user - 1;
340
340
  char *db= passwd;
341
341
  char db_buff[NAME_LEN + 1];           // buffer to store db in utf8