1. 22 Nov, 2006 7 commits
  2. 21 Nov, 2006 14 commits
    • unknown's avatar
      Update mysql_fix_privilege_tables.sql to handle upgrade from 5.0 while retaining · 65866b1c
      unknown authored
      old upgrade behaviour.
      Add test for upgrade from 5.0.30
      
      
      mysql-test/t/system_mysql_db_fix40123.test:
        Drop alos the new 5.1 tables after test
      scripts/mysql_fix_privilege_tables.sql:
        Update 5.1 version of mysql_fix_privilege_tables.sql to also do 
        an "ALTER TABLE MODIFY" on the new column(s) it adds. This allows us to 
        make sure that both new and already existing columsn get the right type.
      mysql-test/t/system_mysql_db_fix50030-master.opt:
        New BitKeeper file ``mysql-test/t/system_mysql_db_fix50030-master.opt''
      mysql-test/t/system_mysql_db_fix50030.test:
        New BitKeeper file ``mysql-test/t/system_mysql_db_fix50030.test''
      65866b1c
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · 490bcab0
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysql_upgrade.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      scripts/mysql_fix_privilege_tables.sql:
        Auto merged
      490bcab0
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · d564efa9
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysql_upgrade.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/system_mysql_db_fix30020.test:
        Auto merged
      scripts/mysql_fix_privilege_tables.sql:
        Auto merged
      d564efa9
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · 261c90d0
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysqltest.c:
        Auto merged
      261c90d0
    • unknown's avatar
      Merge 192.168.0.4:mysql/mysql-4.1-maint · 4bd63ec1
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      client/mysqltest.c:
        Auto merged
      4bd63ec1
    • unknown's avatar
      Remove unused variable · b81523d9
      unknown authored
      b81523d9
    • unknown's avatar
      Add ALTER TABLE MODIFY statements in addition to the ALTER TABLE ADD for new · 5ce303e2
      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
      5ce303e2
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · f8f8d5e1
      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
      f8f8d5e1
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · aea40e58
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      aea40e58
    • unknown's avatar
      Rename system_mysql_db_fix.test to system_mysql_db_fix30020 as it tests · a0dd239e
      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''
      a0dd239e
    • unknown's avatar
      da354838
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint · a1edb003
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.1-maint
      
      
      client/mysqltest.c:
        Auto merged
      a1edb003
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint · e2e28d65
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysqltest.c:
        Auto merged
      e2e28d65
    • unknown's avatar
      Add missing semicolon · f24479cb
      unknown authored
      f24479cb
  3. 20 Nov, 2006 9 commits
  4. 17 Nov, 2006 10 commits
    • unknown's avatar
      Merge amd64.:D:/src/mysql-5.1-maint · e354e018
      unknown authored
      into  amd64.:D:/src/mysql-5.1-maint_bug23983
      
      
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      e354e018
    • unknown's avatar
      Bug#23983 ps.test fails to open shared library. · 35d88bdc
      unknown authored
      - When a shared library argument is supplied, it's checked for an OS
      specific directory separator.  The expected error is different
      depending on the separator used. Created OS specific versions of these
      tests.
      
      
      mysql-test/r/ps.result:
        Bug#23983 ps.test fails to open shared library.
        - Moving to OS specific results.
      mysql-test/r/windows.result:
        Bug#23983 ps.test fails to open shared library.
        - OS Specific result for shared library argument with path
      mysql-test/t/ps.test:
        Bug#23983 ps.test fails to open shared library.
        - Moving to OS specific tests.
      mysql-test/t/windows.test:
        Bug#23983 ps.test fails to open shared library.
        - OS Specific test for shared library argument with path
      mysql-test/r/ps_not_windows.result:
        Bug#23983 ps.test fails to open shared library.
        - OS Specific result for shared library argument with path
      mysql-test/t/ps_not_windows.test:
        Bug#23983 ps.test fails to open shared library.
        - OS Specific test for shared library argument with path
      35d88bdc
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 6d1d89c0
      unknown authored
      into  salvation.intern.azundris.com:/home/tnurnberg/work/mysql-5.1-maint-16456
      
      
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      6d1d89c0
    • unknown's avatar
      Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR · 97608597
      unknown authored
      Fix tests for new behaviour: an error is thrown if a NON DETERMINISTIC
      stored function (SF) is called during statement-based replication (SBR).
      
      
      mysql-test/r/func_time.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/r/gis.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Mark function as DETERMINISTIC so it can be called with no error while
        doing statement-based replication (SBR).
      mysql-test/r/grant2.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/r/innodb_notembedded.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/r/ps.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Mark function as DETERMINISTIC so it can be called with no error while
        doing statement-based replication (SBR).
      mysql-test/r/query_cache.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/r/query_cache_notembedded.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/r/rpl_sp.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Move test for SF-calls in different replication modes to its own file, rpl_sf.
      mysql-test/r/rpl_sp_effects.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/r/sp.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Mark function as DETERMINISTIC so it can be called with no error while
        doing statement-based replication (SBR).
      mysql-test/r/timezone2.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/t/func_time.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/t/gis.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Mark function as DETERMINISTIC so it can be called with no error while
        doing statement-based replication (SBR).
      mysql-test/t/grant2.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/t/innodb_notembedded.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/t/ps.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/t/query_cache.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/t/query_cache_notembedded.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/t/rpl_sp.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/t/rpl_sp_effects.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      mysql-test/t/sp.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Mark function as DETERMINISTIC so it can be called with no error while
        doing statement-based replication (SBR).
      mysql-test/t/timezone2.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Modify test that contains non-deterministic functions so it can still be
        called with no error while doing statement-based replication (SBR).
      sql/item_func.cc:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        If 'log_bin_trust_function_creators' variable is set, don't throw an error
        on calling a non-deterministc function in statement-based replication (SBR).
      sql/sql_parse.cc:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Do not throw an error on calling a NON DETERMINISTIC stored procedure (SP)
        while doing statement-based replication (SBR), as the routine body is
        executed statement-by-statement.
      mysql-test/r/rpl_sf.result:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Test for stored function (SF) calls in different replication modes.
        NON DETERMINISTIC SFs are not allowed while doing
        statement-based replication (SBR).
      mysql-test/t/rpl_sf.test:
        Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
        
        Test for stored function (SF) calls in different replication modes.
        NON DETERMINISTIC SFs are not allowed while doing
        statement-based replication (SBR).
      97608597
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · c685194c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      c685194c
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 9a0d4714
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      support-files/mysql.server.sh:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Use remote
      9a0d4714
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · 6a203616
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Merge backport
      6a203616
    • unknown's avatar
      Remove unused variables/options that does not have any effect · 9d728287
      unknown authored
      Update usage description
      
      9d728287
    • unknown's avatar
    • unknown's avatar
      BUG#24354 option "--extern" of mysql-test-run.pl does not work anymore · b23b6f06
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Don't require restart if master is not started when running with --extern
      b23b6f06