~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/protocol.cc

Removed references to strmov and strnmov

Show diffs side-by-side

added added

removed removed

Lines of Context:
270
270
 
271
271
  /* The first # is to make the protocol backward compatible */
272
272
  buff[2]= '#';
273
 
  pos= (uchar*) strmov((char*) buff+3, drizzle_errno_to_sqlstate(sql_errno));
 
273
  pos= (uchar*) stpcpy((char*) buff+3, drizzle_errno_to_sqlstate(sql_errno));
274
274
 
275
275
  length= (uint) (strmake((char*) pos, err, DRIZZLE_ERRMSG_SIZE-1) -
276
276
                  (char*) buff);