1. 26 Oct, 2006 2 commits
    • unknown's avatar
      Bug#23427 incompatible ABI change in 5.0.26? · d7bc5885
      unknown authored
       - Improve icheck rules in Makefile.am
      
      
      include/Makefile.am:
        Remove m_ctype from BUILT_SOURCES, it has been in bk for a looong time.
        Improve the icheck rules
         - Abort make if icheck fails to compare, very important.
         - Don't include include files from /usr into the icheck file. Avoids problem when running
           icheck on different machines.
         - If no icheck is availabel, touch the mysql_h.ic file so it exists for "make dist"
      include/mysql_h_abi.ic:
        Remove all include files from /usr, no need to check that!
      d7bc5885
    • unknown's avatar
      Bug#20894 Reproducible MySQL client segmentation fault · 9099b414
      unknown authored
       - Add two null bytes in  "buff" variable allowing us to call
         get_arg two times also for strings longer than sizeof(buff) 
      
      
      client/mysql.cc:
        Make sure there are _two_ zero bytes at the end of buff, to allow 'get_arg' to be
        called twice on long strings. The first time it will mark end of string with a
        zero and the second time it will "skip ahead" to the first zero, and the find the
        second one indicating end of buff.
      mysql-test/r/mysql.result:
        Update test results
      mysql-test/t/mysql.test:
        Add tests for "com_connect" function in mysql
        Add test reported in bug
      9099b414
  2. 25 Oct, 2006 10 commits
  3. 24 Oct, 2006 22 commits
  4. 23 Oct, 2006 6 commits
    • unknown's avatar
      Avoid matching the trailing carriage return when parsing the mysqld.spec file · f4836e1e
      unknown authored
      This fixes problem where --replace_result failed in rpl000015 because the MYSQL_TCP_PORT variable was "3306\r"
      
      
      mysql-test/mysql-test-run.pl:
        Avoid matching the trailing carriage return when parsing the mysqld.spec file
      f4836e1e
    • unknown's avatar
      The vardir trick can only bge used on platforms with native symlinks -... · 956a5b2a
      unknown authored
      The vardir trick can only bge used on platforms with native symlinks - otherwise opt_vardir need to be set to default value.
      
      
      956a5b2a
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · d5af662c
      unknown authored
      into  example.com:/work/bug23037/my50
      
      
      sql/sql_show.cc:
        Auto merged
      d5af662c
    • unknown's avatar
    • unknown's avatar
      Netware uses size_t as socklen_t · 4919bc20
      unknown authored
      4919bc20
    • unknown's avatar
      Fix for bug#23037 Bug in field "Default" of query "SHOW COLUMNS FROM table" · 6acfa1cd
      unknown authored
        
      To the documentor: The DEFAULT value in SHOW COLUMNS/SELECT FROM I_S.COLUMNS
      was truncated to NAME_LEN (which effectively is 64) characters.
      
      
      mysql-test/r/information_schema.result:
        Update result
        
        Because the length of I_S.COLUMNS.COLUMN_DEFAULT was increased to
        65535 the column changed it's type from varchar(64) to longtext
        The type is longtext if the length is > 65532 (the max varchar len)
      mysql-test/t/information_schema.test:
        test case for bug#23037: Bug in field "Default" of
        query "SHOW COLUMNS FROM table"
        
        Both SHOW COLUMNS and I_S.COLUMNS is TESTED as well the
        value returned by both. Using --replace_regex is unfeasible
        as the repetition value cannot be > 255.
        --replace_regex /A{256}/VALUE/ doesn't work, not to talk about
          /A{65532}/VALUE/
        /(A{255}){255}/VALUE/ is awfully slow. Thus, simple function with
        cursor is used to extract the value.
      sql/sql_show.cc:
        Default value can have TIMESTAMP, CHAR, VARCHAR, ENUM
        VARCHAR can have the longest value, up to 65535. However, because
        of table handler limitations the actual limit is 65532 characters,
        latin1 charset. However, here is used MAX_FIELD_VARCHARLENGTH macro,
        because there could be a storage engine without such limitation.
      6acfa1cd