~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.c

  • Committer: Brian Aker
  • Date: 2008-08-05 04:10:42 UTC
  • mfrom: (261.2.8 codestyle)
  • mto: This revision was merged to the branch mainline in revision 263.
  • Revision ID: brian@tangent.org-20080805041042-1l4893r3bwy2lxz2
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1103
1103
  }
1104
1104
  completion_hash_init(&ht, 128);
1105
1105
  init_alloc_root(&hash_mem_root, 16384, 0);
1106
 
  memset((char*) &drizzle, 0, sizeof(drizzle));
 
1106
  memset(&drizzle, 0, sizeof(drizzle));
1107
1107
  if (sql_connect(current_host,current_db,current_user,opt_password,
1108
1108
                  opt_silent))
1109
1109
  {
3691
3691
 
3692
3692
  /* Save old status */
3693
3693
  old_status=status;
3694
 
  memset((char*) &status, 0, sizeof(status));
 
3694
  memset(&status, 0, sizeof(status));
3695
3695
 
3696
3696
  // Run in batch mode
3697
3697
  status.batch=old_status.batch;