1. 08 Apr, 2005 1 commit
    • unknown's avatar
      Bug#9188 - Corruption Can't open file: 'table.MYI' (errno: 145) · 7ff8fc73
      unknown authored
      Since 4.1 keys are compared with trailing spaces. 
      Thus, a "x " key can be inserted between a couple of "x" keys.
      The existing code did not take this into account. Though the
      comments in the code claimed it did.
      
      
      myisam/mi_search.c:
        Bug#9188 - Corruption Can't open file: 'table.MYI' (errno: 145)
        Fixed some function comments.
        In the case when we insert a different key between two identical keys,
        the difference must be additional spaces. In this case the prefix is 
        the same as that of the new key instead of the (zero) remaining length.
      myisam/mi_write.c:
        Bug#9188 - Corruption Can't open file: 'table.MYI' (errno: 145)
        Fixed a function comment.
      mysql-test/r/myisam.result:
        Bug#9188 - Corruption Can't open file: 'table.MYI' (errno: 145)
        The test result.
      mysql-test/t/myisam.test:
        Bug#9188 - Corruption Can't open file: 'table.MYI' (errno: 145)
        The test case.
      7ff8fc73
  2. 03 Apr, 2005 2 commits
  3. 02 Apr, 2005 4 commits
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · ecf8732c
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      ecf8732c
    • unknown's avatar
      results updated · a77a2c83
      unknown authored
      a77a2c83
    • unknown's avatar
      merged · 5f8c654a
      unknown authored
      
      mysql-test/r/drop.result:
        Auto merged
      mysql-test/t/drop.test:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/share/russian/errmsg.txt:
        Auto merged
      sql/share/ukrainian/errmsg.txt:
        Auto merged
      5f8c654a
    • unknown's avatar
      bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names · 7d865e0b
      unknown authored
      sql/sql_table.cc: print an error with a function that respects width modifiers (%.64s)
      
      
      mysql-test/r/drop.result:
        bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names
      mysql-test/t/drop.test:
        bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names
      sql/share/english/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/share/russian/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/share/ukrainian/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/sql_table.cc:
        print an error with a function that respects width modifiers (%.64s)
      7d865e0b
  4. 01 Apr, 2005 7 commits
  5. 31 Mar, 2005 13 commits
  6. 30 Mar, 2005 13 commits
    • unknown's avatar
      A fix for Bug#9443 "mysql_client_test fails on linux and some solaris · f485db42
      unknown authored
      platforms": yet another issue with floating pointer comparisons.
      The fix uses the workaround with volatiles.
      
      
      sql/item_cmpfunc.cc:
        A fix for the failing mysql_client_test on some Intel platforms
        when compiled with optimization.
        We don't use -ffloat-store compileation as it may slow all
        floating point operations.
      f485db42
    • unknown's avatar
      ndb - CSC#4927: ordered index + long pk, second half · e12f1a44
      unknown authored
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        ACC_LOCKREQ - element may have moved after lock request was made
      e12f1a44
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 30c85129
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union_merge-4.1
      
      
      30c85129
    • unknown's avatar
      postmerge fixes · 56b2de98
      unknown authored
      
      mysql-test/r/metadata.result:
        postmerge change
      sql/item.cc:
        work around about varchar in 4.1
      56b2de98
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 3d03f0ae
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      
      3d03f0ae
    • unknown's avatar
      merge · 504ab8d4
      unknown authored
      
      sql/sql_parse.cc:
        Auto merged
      504ab8d4
    • unknown's avatar
      Fix 'Bootstrap' to bypass a problem with "bk changes" by changing the... · cc3cadb7
      unknown authored
      Fix 'Bootstrap' to bypass a problem with "bk changes" by changing the directory before calling the command.
      
      
      Build-tools/Bootstrap:
        Bypass a BK problem with "bk changes": It stopped delivering changeset comments when
        1) it encountered a single, unbroken line with about 1k characters  AND
        2) it was applied not to the current directory but to a named BK root directory.
        
        As 1) cannot be changed post-factum (and might happen again),
        the "bk changes" command is now preceded by a "cd $REPO".
        
        Do some renaming of variables used around the "bk changes" call to improve documentation.
      cc3cadb7
    • unknown's avatar
      Portability fix (avoid bash-ism). · 890aa5b2
      unknown authored
      
      support-files/mysql.server.sh:
        Replace a non-portable "for" loop (bash style, fails on BSD) by an equivalent "while" loop.
        Note that the "stop" method is still wrong, as it does not wait for file removal.
      890aa5b2
    • unknown's avatar
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · c1338937
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1-synced
      
      
      c1338937
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug8807 · ed4022bd
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1-synced
      
      
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      mysql-test/r/ps_6bdb.result:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      ed4022bd
    • unknown's avatar
      Fix for BUG#9213: GROUP BY returns wrong query results: · 5ac4670b
      unknown authored
      Make test_if_skip_sort_order() rebuild tab->ref if it decides to use an index
      different from the index join optimizer has choosen.  
      
      
      mysql-test/r/group_by.result:
        Testcase for BUG#9213
      mysql-test/t/group_by.test:
        Testcase for BUG#9213
      sql/table.h:
        Added comments about TABLE::used_keys
      5ac4670b
    • unknown's avatar
      BUG#8807 Select crash server · af2ab040
      unknown authored
       - Add function Item_param::fix_fields which will update any subselect they are part of and indicate that the subsleect is not const during prepare phase, and thus should not be executed during prepare.
      
      
      mysql-test/include/ps_query.inc:
        Adde new test case
      mysql-test/r/ps_2myisam.result:
        Update test result
      mysql-test/r/ps_3innodb.result:
        Update test result
      mysql-test/r/ps_4heap.result:
        Update test result
      mysql-test/r/ps_5merge.result:
        Update test result
      mysql-test/r/ps_6bdb.result:
        Update test result
      mysql-test/r/ps_7ndb.result:
        Update test result
      sql/item.cc:
        Add function Item_param::fix_fields, which will mark any subselects they are part of as not being a constant expression unless the param value is specified, ie. it will be not be constant during prepare phase.
      sql/item.h:
        Adde Item_param::fix_fields
      sql/item_subselect.h:
        Make Item_param::fix_field friend of Item_subselect
      af2ab040