1. 13 Apr, 2006 1 commit
    • unknown's avatar
      Bug#18129 - Fast (online) add index leaves temporary table frm in case of errors · dd6af1f7
      unknown authored
      ALTER TABLE temporarily creates a new table with a .frm
      file and optionally other files. For fast ALTER TABLE
      only the .frm file is created. If the operation succeeds,
      The temporary files are renamed to their final target.
      
      In case of an error, the temporary file was forgotten to
      remove.
      
      Manually tested. The test requires to look at files,
      which I think cannot be done portably with the test suite.
      The test file is attached to the bug report.
      
      
      sql/sql_table.cc:
        Bug#18129 - Fast (online) add index leaves temporary table frm in case of errors
        Moved closing or removing of the temporary table
        to an 'err1' label at the end of mysql_alter_table().
        Added gotos to this label from all error checks between
        create or open and remove or close of the temporary table.
      dd6af1f7
  2. 12 Apr, 2006 8 commits
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · c6f311a0
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      c6f311a0
    • unknown's avatar
      Bug#18736 test case 'upgrade' fails · b4111c4d
      unknown authored
      "upgrade" failed on windows, because of lower_case_table_name.
      This fix changes letters to lower case, not to depend on OS.
      
      Note, this change does not affect coverage of 
      Bug N 17142 "Crash if create with encoded name",
      which the test war originally written for.
      
      
      mysql-test/r/upgrade.result:
        Changing "P" to "p" not to depend on lower_case_table_name
      mysql-test/t/upgrade.test:
        Changing "P" to "p" not to depend on lower_case_table_name
      b4111c4d
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 90125bbe
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.1-new
      
      
      90125bbe
    • unknown's avatar
      mysql-test-run.pl now creates an innodb data file of 10M:autoextend instead of 128M:autoextend. · c6622b3a
      unknown authored
      This is faster under gdb/valgrind (this should speed up work of people who have to run
      a simple test 50 times to do debugging). Running without --big, which is the default, InnoDB tests
      take at most 18MB so 128 was overkill. Running with --big, InnoDB tests take 450MB so 128
      was not enough anyway.
      
      
      mysql-test/mysql-test-run.pl:
        10M is faster to create than 128M (especially under gdb or valgrind) and is enough for most tests.
      c6622b3a
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 777165cc
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new.b18285
      
      
      777165cc
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 6d05e1b6
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      6d05e1b6
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/my51-bug18415 · f9c9db8e
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      mysql-test/lib/mtr_process.pl:
        Auto merged
      f9c9db8e
    • unknown's avatar
      Bug#18415 mysql-test-run.pl does not run on ActiveState perl · be056f7c
      unknown authored
       - Part 1, better handling of subprocess and stdout to be done
      
      
      mysql-test/lib/mtr_process.pl:
        - Dont redirect stdout if ActiveState perl since fork creates a new thread and not another process.
        - Change waitpid to allow for negative pid as we get on Windows, strange but 
          that is how it is. It should never create a process with pid -1 though.
        - Remove an "if" for cygwin that does not do anything.
        - Add "print" in the potentially hanging while loop in "start_reap_all"
        - Dont use "getpgrp" on windows.
        - Remove "sleep 2" in mtr_exit
        - Remove the initial ping of mysqld's in 'mysql_admin_shutdown', instead just start one 
          mysqladmin for each expected mysqld server and wait for them to return.
          Then perform the ping of the mysqld server's. Those ping's normally return immediately.
      be056f7c
  3. 11 Apr, 2006 31 commits