~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/client.c

  • Committer: brian
  • Date: 2008-08-01 17:27:37 UTC
  • mfrom: (261.1.6 drizzle)
  • Revision ID: brian@localhost.localdomain-20080801172737-v6f9pau23un0bwfl
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
 
105
105
/* Server error code and message */
106
106
unsigned int drizzle_server_last_errno;
107
 
char drizzle_server_last_error[MYSQL_ERRMSG_SIZE];
 
107
char drizzle_server_last_error[DRIZZLE_ERRMSG_SIZE];
108
108
 
109
109
/****************************************************************************
110
110
  A modified version of connect().  my_connect() allows you to specify
1607
1607
  {
1608
1608
    {
1609
1609
      *end++= SCRAMBLE_LENGTH;
 
1610
      memset(end, 0, SCRAMBLE_LENGTH-1);
 
1611
      memcpy(end, passwd, strlen(passwd));
1610
1612
      end+= SCRAMBLE_LENGTH;
1611
1613
    }
1612
1614
  }