1. 25 Feb, 2009 24 commits
  2. 24 Feb, 2009 16 commits
    • Anurag Shekhar's avatar
      Bug #38103 myisamchk: --help output incomplete · 9c83df11
      Anurag Shekhar authored
      In the output message for --help entry for -H --HELP was missing.
      Added this entry while printing the help text.
      
      storage/myisam/myisamchk.c:
        Added entry for -H --HELP while printing message for -? --help
      9c83df11
    • Andrei Elkin's avatar
      fcc9e3d2
    • Andrei Elkin's avatar
      merging from 5.0-bt rep to a local branch · b75cf4b2
      Andrei Elkin authored
      b75cf4b2
    • Patrick Crews's avatar
      Bug#40178: Test main.completion_type_func does not clean up / needs to be rewritten · 30c65aae
      Patrick Crews authored
      Revised the test to include a test of completion_type = 1 as well as making the test more readable / worthwhile
      Removed the master.opt file as it was redundant / unnecessary.
      
      mysql-test/suite/sys_vars/t/completion_type_func-master.opt:
        Removed as redundant.  Test uses include/have_innodb.inc.
      30c65aae
    • Andrei Elkin's avatar
    • Georgi Kodinov's avatar
      Bug #31060: MySQL CLI parser bug 2 · a201577d
      Georgi Kodinov authored
            
      There was a problem when a DELIMITER COMMAND is not the first 
      command on the line. I this case an extra line feed was added
      to the glob buffer and this was causing subsequent attempts 
      to enter this delimiter to fail.
      Fixed by not adding a new line to the glob buffer if the 
      command being added is a DELIMITER
      
      client/mysql.cc:
        Bug #31060: Don't add a new line if DELIMTER is added to
        the glob buffer
      mysql-test/r/mysql.result:
        Bug #31060: test case
      mysql-test/t/mysql.test:
        Bug #31060: test case
      a201577d
    • Georgi Kodinov's avatar
      Bug #31060: MySQL CLI parser bug 2 · 71c6be54
      Georgi Kodinov authored
            
      There was a problem when a DELIMITER COMMAND is not the first 
      command on the line. I this case an extra line feed was added
      to the glob buffer and this was causing subsequent attempts 
      to enter this delimiter to fail.
      Fixed by not adding a new line to the glob buffer if the 
      command being added is a DELIMITER
      
      client/mysql.cc:
        Bug #31060: Don't add a new line if DELIMTER is added to
        the glob buffer
      mysql-test/r/mysql.result:
        Bug #31060: test case
      mysql-test/t/mysql.test:
        Bug #31060: test case
      71c6be54
    • Alexey Botchkov's avatar
      merging. · cde04f67
      Alexey Botchkov authored
      cde04f67
    • Alexey Botchkov's avatar
      merging. · 5f9d6640
      Alexey Botchkov authored
      5f9d6640
    • Alexey Botchkov's avatar
      merging. · 0091ab20
      Alexey Botchkov authored
      0091ab20
    • Alexey Botchkov's avatar
      merging. · 21ba22ac
      Alexey Botchkov authored
      21ba22ac
    • Chad MILLER's avatar
      Null-merge 39370 fix. Unnecessary in 5.1. · 448a1117
      Chad MILLER authored
      448a1117
    • Chad MILLER's avatar
      Merge bug 39370 fix from bug tree. · 8de8f6d5
      Chad MILLER authored
      8de8f6d5
    • Chad MILLER's avatar
      Bug#39370: wrong output for error code 153 · 83aa3e94
      Chad MILLER authored
      Add all HA error numbers and descriptions to perror.
      
      Add reminder to header.
      
      This is already fixed in smarter ways in future codebases, and this 
      codebase is unlikely to change, since new development is forbidden
      here.
      83aa3e94
    • Davi Arnaut's avatar
      Bug#41110: crash with handler command when used concurrently with alter table · 104cf08a
      Davi Arnaut authored
      Bug#41112: crash in mysql_ha_close_table/get_lock_data with alter table
      
      The problem is that the server wasn't handling robustly failures
      to re-open a table during a HANDLER .. READ statement. If the
      table needed to be re-opened due to it's storage engine being
      altered to one that doesn't support HANDLER, a reference (dangling
      pointer) to a closed table could be left in place and accessed in
      later attempts to fetch from the table using the handler. Also,
      if the server failed to set a error message if the re-open
      failed. These problems could lead to server crashes or hangs.
      
      The solution is to remove any references to a closed table and
      to set a error if reopening a table during a HANDLER .. READ
      statement fails.
      
      mysql-test/include/handler.inc:
        Add test case for Bug#41110 and Bug#41112
      mysql-test/r/handler_innodb.result:
        Add test case result for Bug#41110 and Bug#41112
      mysql-test/r/handler_myisam.result:
        Add test case result for Bug#41110 and Bug#41112
      sql/sql_handler.cc:
        Remove redundant reopen check.
        Set errors even if reopening table.
        Reset TABLE_LIST::table reference when the table is closed.
      104cf08a
    • Davi Arnaut's avatar
      Bug#41110: crash with handler command when used concurrently with alter table · 990bca3b
      Davi Arnaut authored
      Bug#41112: crash in mysql_ha_close_table/get_lock_data with alter table
      
      The problem is that the server wasn't handling robustly failures
      to re-open a table during a HANDLER .. READ statement. If the
      table needed to be re-opened due to it's storage engine being
      altered to one that doesn't support HANDLER, a reference (dangling
      pointer) to a closed table could be left in place and accessed in
      later attempts to fetch from the table using the handler. Also,
      if the server failed to set a error message if the re-open
      failed. These problems could lead to server crashes or hangs.
      
      The solution is to remove any references to a closed table and
      to set a error if reopening a table during a HANDLER .. READ
      statement fails.
      
      There is no test case in this change set as the test depends on
      a testing feature only available on 5.1 and later.
      
      sql/sql_handler.cc:
        Remove redundant reopen check.
        Set errors even if reopening table.
        Reset TABLE_LIST::table reference when the table is closed.
      990bca3b