1. 21 Nov, 2006 16 commits
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 75d834a3
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      scripts/mysql_fix_privilege_tables.sql:
        Auto merged
      75d834a3
    • unknown's avatar
      When runnig from binary dist the .sql files are found in share/ directory · 456959cf
      unknown authored
      
      scripts/mysql_fix_privilege_tables.sql:
        Remove annoying single '
      456959cf
    • unknown's avatar
      Update mysql_fix_privilege_tables.sql to handle upgrade from 5.0 while retaining · 28f61575
      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''
      28f61575
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · 14f8d768
      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
      14f8d768
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 8f93a6c9
      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
      8f93a6c9
    • 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
      Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint · 77bae596
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.1-maint
      
      
      client/mysqltest.c:
        Auto merged
      77bae596
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint · 0f27fa86
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysqltest.c:
        Auto merged
      0f27fa86
    • unknown's avatar
      Add missing semicolon · fba971f5
      unknown authored
      fba971f5
  2. 20 Nov, 2006 9 commits
  3. 17 Nov, 2006 15 commits
    • unknown's avatar
      Merge amd64.:D:/src/mysql-5.1-maint · 9eb09ef2
      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
      9eb09ef2
    • unknown's avatar
      Bug#23983 ps.test fails to open shared library. · 3ee0d5de
      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
      3ee0d5de
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · e46dbc9b
      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
      e46dbc9b
    • unknown's avatar
      Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR · b84e9d10
      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).
      b84e9d10
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · 0bfad0da
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      0bfad0da
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 0aad12d9
      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
      0aad12d9
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · ff5062ca
      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
      ff5062ca
    • unknown's avatar
      Remove unused variables/options that does not have any effect · 0c9530f2
      unknown authored
      Update usage description
      
      
      0c9530f2
    • unknown's avatar
    • unknown's avatar
      BUG#24354 option "--extern" of mysql-test-run.pl does not work anymore · c341ca22
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Don't require restart if master is not started when running with --extern
      c341ca22
    • unknown's avatar
      BUG#24274 option "--big-test" of mysql-test-run.pl does not work anymore · 02cd4f5a
      unknown authored
      
      mysql-test/lib/mtr_cases.pl:
        Don't look at lines that start with # ie. a comment
      mysql-test/mysql-test-run.pl:
        Set env BIG_TEST if --big-test passed
      02cd4f5a
    • unknown's avatar
      remove junk comment · f3e8cb19
      unknown authored
      f3e8cb19
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 14abceaa
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      14abceaa
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · e90bf564
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      e90bf564
    • unknown's avatar
      Merge 192.168.0.4:mysql/bug22958/my50-bug22958 · 9260b74e
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      sql/mysqld.cc:
        Auto merged
      9260b74e