1. 30 Nov, 2006 1 commit
    • unknown's avatar
      Merge example.com:/work/bug24395-v2/my41 · c429ca84
      unknown authored
      into  example.com:/work/bug24395-v2/my50
      
      fix for bug#24395 merged into 5.0
      
      
      mysql-test/t/alter_table.test:
        Auto merged
      myisam/mi_open.c:
        merge into 5.0 by using macroses available in 5.0
      mysql-test/r/alter_table.result:
        manual merge
      sql/sql_table.cc:
        manual merge
        Added else clause of 
        if (new_table && !new_table->file->is_view)
        This else clauses does keys management on the live table, thus we have
        to force other threads to reopen the table.
      c429ca84
  2. 28 Nov, 2006 1 commit
    • unknown's avatar
      Fix for bug#24395: · a9173ec9
      unknown authored
      ALTER TABLE DISABLE KEYS doesn't work when modifying the table
        
      ENABLE|DISABLE KEYS combined with another ALTER TABLE option, different
      than RENAME TO did nothing. Also, if the table had disabled keys
      and was ALTER-ed then the end table was with enabled keys.
        
      Fixed by checking whether the table had disabled keys and enabling them
      in the copied table.
      
      
      myisam/mi_open.c:
        Extend mi_indexes_are_disabled to implement return value
        2 - Non-unique indexes are disabled
      mysql-test/r/alter_table.result:
        update result
      mysql-test/t/alter_table.test:
        update test
      sql/sql_table.cc:
        When ENABLE|DISABLE index is combined with another option
        different than RENAME TO, we should ENABLE|DISABLE the keys of
        the modified table. Also when modifying we should preserve the
        previous state of the indices.
        (This problem exists in 5.0 and 5.1 but since the codebase has
        diverged, this fix won't automerge, but the fix will be quite
        similar).
      a9173ec9
  3. 24 Nov, 2006 2 commits
    • unknown's avatar
      Merge ymer.(none):/usr/local/mysql/tmp/mysql-4.1-maint · 66e49e37
      unknown authored
      into  ymer.(none):/usr/local/mysql/tmp/mysql-5.0-gca
      
      
      mysql-test/lib/mtr_io.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      66e49e37
    • unknown's avatar
      Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stack · 4d2665f0
      unknown authored
      traces in Valgrind (broken libc6-dbg).
      Installing libc6-dbg on Debian will still provide proper bactraces, even
      without setting LD_LIBRARY_PATH explicitly.
      
      
      mysql-test/lib/mtr_io.pl:
        Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stack
        traces in Valgrind.
      mysql-test/mysql-test-run.pl:
        Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stack
        traces in Valgrind.
      4d2665f0
  4. 22 Nov, 2006 10 commits
  5. 21 Nov, 2006 9 commits
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · e7065e06
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysqltest.c:
        Auto merged
      e7065e06
    • unknown's avatar
      Merge 192.168.0.4:mysql/mysql-4.1-maint · 92930c12
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      client/mysqltest.c:
        Auto merged
      92930c12
    • unknown's avatar
      Remove unused variable · a599cea1
      unknown authored
      a599cea1
    • unknown's avatar
      Add ALTER TABLE MODIFY statements in addition to the ALTER TABLE ADD for new · 67e943cd
      unknown authored
      columns to make sure they both exist and have the intended type 
      
      
      scripts/mysql_fix_privilege_tables.sql:
        Can't attempt to MODIFY columns of a table before they exists. The
        new column's Create_view_priv,Show_view_priv, Create_routine_priv,
        Alter_routine_priv and Create_user_priv might not exists when
        upgrading. Thus an ALTER TABLE MODIFY is added in addition to the
        ALTER TABLE ADD that would have added them if they didn't exist.
        In this way can be sure the columns both exist and are of the correct type
      67e943cd
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · a4c1ce7f
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      a4c1ce7f
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 01532e3f
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      01532e3f
    • unknown's avatar
      Rename system_mysql_db_fix.test to system_mysql_db_fix30020 as it tests · c9eb0a63
      unknown authored
      mysql_fix_privilege_tables.s's ability to convert the system tables as of
      3.20 to current system table format
      Add similar test for 4.1.23 tables - but use "mysql < mysql_fix_privilege_tables.sql"
      so it can be run on any platform. 
      
      
      mysql-test/t/system_mysql_db_fix30020-master.opt:
        Rename: mysql-test/t/system_mysql_db_fix-master.opt -> mysql-test/t/system_mysql_db_fix30020-master.opt
      mysql-test/mysql-test-run.pl:
        Find mysql_fix_privilege_tables.sql and assign it's path and name to $MYSQL_FIX_PRIVILEGE_TABLES
      mysql-test/t/system_mysql_db_fix30020.test:
        Send output to var/log/system_mysql_db_fix30020.err
        Add some more comments
      mysql-test/t/system_mysql_db_fix40123-master.opt:
        New BitKeeper file ``mysql-test/t/system_mysql_db_fix40123-master.opt''
      mysql-test/t/system_mysql_db_fix40123.test:
        New BitKeeper file ``mysql-test/t/system_mysql_db_fix40123.test''
      c9eb0a63
    • unknown's avatar
      d4aadb06
    • unknown's avatar
      Add missing semicolon · fba971f5
      unknown authored
      fba971f5
  6. 20 Nov, 2006 6 commits
  7. 17 Nov, 2006 11 commits