1. 08 Apr, 2006 1 commit
    • igor@rurik.mysql.com's avatar
      Fixed bug #16069. · 17141582
      igor@rurik.mysql.com authored
      The function agg_cmp_type in item_cmpfunc.cc neglected the fact that 
      the first argument in a BETWEEN/IN predicate could be a field of a view.
      As a result in the case when the retrieved table was hidden by a view 
      over it and the arguments in the BETWEEN/IN predicates are of 
      the date/time type the function did not perform conversion of 
      the constant arguments to the same format as the first field argument.
      If formats of the arguments differed it caused wrong a evaluation of
      the predicates.
      17141582
  2. 07 Apr, 2006 17 commits
  3. 06 Apr, 2006 18 commits
  4. 05 Apr, 2006 4 commits
    • igor@rurik.mysql.com's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · e732d053
      igor@rurik.mysql.com authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      e732d053
    • bar@mysql.com's avatar
      conf_to_src.c: · 52220d2d
      bar@mysql.com authored
        Buffer was too small to load Index.xml.
        So some charsets were not gerenrated.
        Making the buffer bigger, and adding an DBUG_ASSERT,
        to easier catch the problem in the future.
      ctype-extra.c:
        Additional charsets were generated.
      52220d2d
    • evgen@sunlight.local's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · d0724059
      evgen@sunlight.local authored
      into sunlight.local:/local_work/16281-bug-5.0-mysql
      d0724059
    • evgen@sunlight.local's avatar
      Fixed bug #16281: Multi-table update broken in 5.0 on tables imported from 4.1 · b9949ed9
      evgen@sunlight.local authored
      Mutli-table uses temporary table to store new values for fields. With the
      new values the rowid of the record to be updated is stored in a Field_string
      field. Table to be updated is set as source table of the rowid field.
      But when the temporary table creates the tmp field for the rowid field it
      converts it to a varstring field because the table to be updated was created by
      the v4.1. Due to this the stored rowids were broken and no records for 
      update were found.
      
      The flag can_alter_field_type is added to Field_string class. When it is set to
      0 the field won't be converted to varstring. The Field_string::type() function 
      now always returns MYSQL_TYPE_STRING if can_alter_field_type is set to 0.
      The multi_update::initialize_tables() function now sets can_alter_field_type
      flag to 0 for the rowid fields denying conversion of the field to a varstring
      field.
      b9949ed9