~knielsen/drizzle/innodb-fixes

Viewing all changes in revision 636.

  • Committer: Kristian Nielsen
  • Date: 2008-11-30 21:28:18 UTC
  • Revision ID: knielsen@odin-20081130212818-rv1el2kw03fygtu1
Remove last trace of Field_string.

This is also needed to fix a serious problem with multi_update as seen
with Valgrind errors in the main.update test. The multi_update creates
temporary tables with Field_string fields, but there are cast to
Field_varstring in Copy_field::get_copy_func() since both field types
are now DRIZZLE_TYPE_VARCHAR.

(an alternative would be to re-introduce Field_string as an
internal-only field type, and give it a distinct DRIZZLE_TYPE_FIXCHAR
type for get_copy_func() to check for.)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: