1. 18 Jan, 2005 14 commits
    • unknown's avatar
      Added test for bug #7884 "Able to add invalid unique index on TIMESTAMP · e2c869f2
      unknown authored
      prefix", which roots were fixed in 4.0 tree.
      
      
      mysql-test/r/alter_table.result:
        Added test for bug #7884 "Able to add invalid unique index on TIMESTAMP
        prefix".
      mysql-test/t/alter_table.test:
        Added test for bug #7884 "Able to add invalid unique index on TIMESTAMP
        prefix".
      e2c869f2
    • unknown's avatar
      Manual merge of fix for bug #7884 "Able to add invalid unique index on · 9474fed7
      unknown authored
      TIMESTAMP prefix" into 4.1 tree.
      
      
      sql/field.h:
        Manual merge.
      9474fed7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 9ed0d855
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.0-bg7884
      
      
      9ed0d855
    • unknown's avatar
      Clean up in implementation of f_is_geom()/f_is_bitfield()/f_is_enum() · b1a0f67a
      unknown authored
      macros.
      
      It does not fixes any bugs in 4.0. But it prevents from future error in
      any bugfixes that may use these macros. Also after merging into 4.1 tree
      this cleanup will fix bug #7884 "Able to add invalid unique index on
      TIMESTAMP prefix".
      
      
      sql/field.h:
        Since FIELDFLAG_INTERVAL, FIELDFLAG_BITFIELD, FIELDFLAG_BLOB and
        FIELDFLAG_GEOM flags occupy the same space as number of decimals for
        FIELDFLAG_NUMBER fields, it is safer to check in "f_is_geom()"-type
        macros that we have non-number field, like we already do in f_is_blob()
        macro.
      b1a0f67a
    • unknown's avatar
      1. Item now uses my_charset_bin by default, · cd89ed9a
      unknown authored
      not default_charset_into. It fixes the
      problem that in some cases numbers where
      treated as CHAR(N), not as BINARY(N), e.g.
      wrong 'charsetnr' when sent to the client side.
      2. IFNULL didn't aggregate argument charsets
      and collations, so IFNULL(1,'a') produced
      a CHAR(N). Now produces a BINARY(N).
      3. SELECT PROCEDURE ANALIZE now returns
      BINARY columns, which is much better than it worked
      previously: CHAR with the default character set.
      But in the future it's worth to fix the fields
      'Field_name' and 'Optimal_fieldtype' to use UTF8,
      and 'Min_value' and 'Max_value' to inherit their charsets
      from the original items. But it is not important,
      and BINARY(N) is OK for now.
      4. Tests were fixed accordingly. No new tests were
      made, as the old onces cover everything.
      
      
      mysql-test/r/analyse.result:
        SELECT PROCEDURE ANALIZE now returns
        BINARY columns, which is much better than it worked
        previously: CHAR with the default character set.
        But in the future it's worth to fix the fields
        'Field_name' and 'Optimal_fieldtype' to use UTF8,
        and 'Min_value' and 'Max_value' to inherit their charsets
        from the original items. But it is not important,
        and BINARY(N) is OK for now.
      mysql-test/r/case.result:
        Test fix according to the changes
      mysql-test/r/metadata.result:
        Test fix according to the changes
      mysql-test/r/ps_1general.result:
        Test fix according to the changes
      mysql-test/r/ps_2myisam.result:
        Test fix according to the changes
      mysql-test/r/ps_3innodb.result:
        Test fix according to the changes
      mysql-test/r/ps_4heap.result:
        Test fix according to the changes
      mysql-test/r/ps_5merge.result:
        Test fix according to the changes
      mysql-test/r/ps_6bdb.result:
        Test fix according to the changes
      mysql-test/r/ps_7ndb.result:
        Test fix according to the changes
      mysql-test/r/union.result:
        Test fix according to the changes
      sql/item.cc:
        Item is now BINARY by default
      sql/item_cmpfunc.cc:
        IFNULL now collects arguments collations/charsets
        like other functions do.
      cd89ed9a
    • unknown's avatar
      Fix 'make distclean' goal. · 1457163c
      unknown authored
      1457163c
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 381659ff
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      381659ff
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.0 · 7f4bb64a
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      7f4bb64a
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2c6b02ca
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      
      2c6b02ca
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 813e748d
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      813e748d
    • unknown's avatar
      #7874: CONCAT() gives wrong results mixing latin1 field and utf8 string literals · ec0daa74
      unknown authored
      We should not overwrite res if it is returned from a const item.
      
      
      ec0daa74
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1 · 985805ce
      unknown authored
      
      sql/filesort.cc:
        Auto merged
      985805ce
    • unknown's avatar
      Fixed new bug that caused symlink test to fail · 96f64b44
      unknown authored
      
      mysys/my_symlink.c:
        More debugging
      96f64b44
    • unknown's avatar
      Anoter fix for moved IO_CACHE object · 896cdbe5
      unknown authored
      896cdbe5
  2. 17 Jan, 2005 19 commits
  3. 16 Jan, 2005 6 commits
  4. 15 Jan, 2005 1 commit