~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzlecheck.cc

  • Committer: Toru Maesaka
  • Date: 2008-12-14 08:26:38 UTC
  • mto: (670.1.24 devel)
  • mto: This revision was merged to the branch mainline in revision 676.
  • Revision ID: dev@torum.net-20081214082638-c8uje8oiwk4s2dh0
First pass of replacing MySQL's strxmov with libc alternatives

Show diffs side-by-side

added added

removed removed

Lines of Context:
646
646
    ptr= strcpy(query, op)+strlen(op);
647
647
    ptr= strcpy(ptr, " TABLE ")+7;
648
648
    ptr= fix_table_name(ptr, tables);
649
 
    ptr= strxmov(ptr, " ", options, NULL);
 
649
    ptr+= sprintf(ptr," %s",options);
650
650
    query_length= (uint) (ptr - query);
651
651
  }
652
652
  if (drizzle_real_query(sock, query, query_length))