~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_connect.cc

mergingĀ fromĀ main

Show diffs side-by-side

added added

removed removed

Lines of Context:
266
266
    server_capabilites|= CLIENT_COMPRESS;
267
267
#endif /* HAVE_COMPRESS */
268
268
 
269
 
    end= strnmov(buff, server_version, SERVER_VERSION_LENGTH) + 1;
 
269
    end= stpncpy(buff, server_version, SERVER_VERSION_LENGTH) + 1;
270
270
    int4store((uchar*) end, thd->thread_id);
271
271
    end+= 4;
272
272
    /*