row0sel.c Removes now trailing spaces from varchars

srv0start.c	Removes now trailing spaces from varchars
row0mysql.ic	Removes now trailing spaces from varchars
ha_innobase.cc	Removes now trailing spaces from varchars
This commit is contained in:
heikki@donna.mysql.fi 2001-03-02 19:07:29 +02:00
commit 3abaff79ce
4 changed files with 27 additions and 5 deletions

View file

@ -1934,6 +1934,9 @@ row_sel_field_store_in_mysql_format(
dest = row_mysql_store_var_len(dest, len);
ut_memcpy(dest, data, len);
/* Pad with trailing spaces */
memset(dest + len, ' ', col_len - len);
/* ut_ad(col_len >= len + 2); No real var implemented in
MySQL yet! */