1. 24 Mar, 2005 8 commits
  2. 23 Mar, 2005 22 commits
    • unknown's avatar
      Add the test case for Bug#8722 "prepared statement with view crashes · b8982922
      unknown authored
      server" to the test suite, the bug is no longer repeatable.
      
      
      tests/mysql_client_test.c:
        The test case for Bug#8722 "prepared statement with view crashes server"
      b8982922
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 89c069dc
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      89c069dc
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 2db56654
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      2db56654
    • unknown's avatar
      Fix a valgrind warning spotted while trying to repeat Bug#7166 · 9dee5712
      unknown authored
      "Server crashes when running out of connections"
      
      
      sql/sql_class.cc:
        thd->query_id is compared with thd->warn_id in push_warning, 
        THD::THD seems to be the best place to fix it.
      9dee5712
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · aa0970c2
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/ha_innodb.cc:
        Auto merged
      aa0970c2
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com://home/bk/mysql-4.1 · e289fa2e
      unknown authored
      into quadita2.mysql.com:/nfstmp1/guilhem/mysql-4.1-4ita
      
      e289fa2e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · f5c5ca74
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-5.0-6282
      
      f5c5ca74
    • unknown's avatar
      A test case for Bug#6282 "Packet error with SELECT INTO" · 8ef1c864
      unknown authored
      (the bug itself is no longer repeatable).
      
      
      mysql-test/r/variables.result:
        Results fixed (Bug#6282)
      mysql-test/t/variables.test:
        A test case for Bug#6282 "Packet error with SELECT INTO"
      8ef1c864
    • unknown's avatar
      "After Monty's review" changes to the fix for BUG#8325 "Deadlock in... · 832800cc
      unknown authored
      "After Monty's review" changes to the fix for BUG#8325 "Deadlock in replication thread stops replication":
      s/sleep/safe_sleep (thread safe); sleep 0/1/2/3/4/5/5/5 (get slave less late);
      no message on error log (deadlock is too common sometimes), a global counter
      instead (SHOW STATUS LIKE 'slave_retried_transactions').
      Plus a fix for libmysql/Makefile.shared
      
      
      libmysql/Makefile.shared:
        When we "make clean" in libmysql/ we remove the symlinks there, so we
        need to mark that they have to be recreated later: this is done by removing
        ../linked_libmysql_sources. If we don't do this, 'make' will fail after 'cd libmysql;make clean'.
        This Makefile.shared is used by libmysql_r too.
        No reason to remove linked_client_sources as we don't remove the links in client/.
      mysql-test/r/rpl_deadlock.result:
        result fix
      mysql-test/t/rpl_deadlock.test:
        small test addition
      sql/mysqld.cc:
        if active_mi could not be alloced, die. New SHOW STATUS LIKE "slave_retried_transactions".
      sql/slave.cc:
        If slave retries automatically a transaction, no message on error log
        (too common situation); sleep 0 secs at first retry, then 1, 2, 3, 4,
        5, 5, 5... Sleeping 0 is to get the least possible late, as deadlocks
        are usually resolved at first try. New global counter rli->retried_trans
        (for SHOW STATUS: total number of times the slave had to retry
        any transaction). safe_sleep() is thread-safe, sleep() was not.
        I change the rli->trans_retries counter to go from 0 to max instead
        of the other way (better for new sleep()).
      sql/slave.h:
        new global counter rli->retried_trans
      sql/sql_show.cc:
        SHOW STATUS LIKE "slave_retried_transactions"; needs replication mutexes.
        Can't be a simple SHOW_LONG, because active_mi is unset (not alloced yet)
        when the static global status_vars is created (active_mi is set
        in init_slave()).
      sql/structs.h:
        new SHOW_SLAVE_RETRIED_TRANS
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      832800cc
    • unknown's avatar
      sql/sql_acl.cc · 83df531d
      unknown authored
          report correct errror in MODE_NO_AUTO_CREATE_USER
          cleanup
      after merge fixes
      
      
      mysql-test/r/grant2.result:
        updated after merge
      mysql-test/r/grant3.result:
        updated after merge
      mysql-test/r/rpl_temporary.result:
        sqlstate fixed
      mysql-test/t/grant2.test:
        updated after merge
      mysql-test/t/grant3.test:
        updated after merge
      sql/share/errmsg.txt:
        sqlstate fixed
      sql/sql_acl.cc:
        report correct errror in MODE_NO_AUTO_CREATE_USER
        cleanup
      83df531d
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 · 751f8802
      unknown authored
      into kite-hub.kitebird.com:/src/extern/MySQL/bk/mysql-5.0
      
      751f8802
    • unknown's avatar
      Merge kite-hub.kitebird.com:/src/extern/MySQL/bk/mysql-4.1 · eba178e9
      unknown authored
      into kite-hub.kitebird.com:/src/extern/MySQL/bk/merge-5.0
      
      eba178e9
    • unknown's avatar
      README: · 355cd2eb
      unknown authored
        Fix typo.
      
      
      mysql-test/README:
        Fix typo.
      355cd2eb
    • unknown's avatar
      ha_innodb.cc: · 466aef73
      unknown authored
        Fix bug #9314 in InnoDB true VARCHAR: InnoDB stored the 'position' of a row wrong in a column prefix primary key index; this could cause MySQL to complain 'ERROR 1032: Can't find record in ...' in an update of the primary key, and also some ORDER BY or DISTINCT queries
      
      
      sql/ha_innodb.cc:
        Fix bug #9314 in InnoDB true VARCHAR: InnoDB stored the 'position' of a row wrong in a column prefix primary key index; this could cause MySQL to complain 'ERROR 1032: Can't find record in ...' in an update of the primary key, and also some ORDER BY or DISTINCT queries
      466aef73
    • unknown's avatar
      A fix (bug #9309: Wrong order in INFORMATION_SCHEMA) · 4775c93a
      unknown authored
      
      
      strings/ctype-utf8.c:
        A fix (bug #9309: Wrong order in INFORMATION_SCHEMA)
        We should clear the last byte, not the next one.
      4775c93a
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · ad2cd3fa
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      mysql-test/r/warnings.result:
        Auto merged
      mysql-test/t/warnings.test:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      ad2cd3fa
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · 38504d42
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      38504d42
    • unknown's avatar
      added symbols mysql_server_init and mysql_server_end to allow windows · b88c15e9
      unknown authored
      applications with embedded server to connect to external servers too.
      (required for Connector/OO.org)
      
      b88c15e9
    • unknown's avatar
      merged · 0caa1f59
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/r/ndb_autodiscover.result:
        Auto merged
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      scripts/fill_func_tables.sh:
        Auto merged
      scripts/mysql_create_system_tables.sh:
        Auto merged
      scripts/mysql_fix_privilege_tables.sh:
        Auto merged
      scripts/mysql_fix_privilege_tables.sql:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      0caa1f59
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 77426844
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      77426844
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 90f3e8ac
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      90f3e8ac
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-5036 · 4b2a25f4
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      4b2a25f4
  3. 22 Mar, 2005 10 commits
    • unknown's avatar
      Merged · a52b6226
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      a52b6226
    • unknown's avatar
      Simplified rounding up to nearest 64-bit boundry · cca588fa
      unknown authored
      cca588fa
    • unknown's avatar
      Merge mysql.com:/data0/mysqldev/my/mysql-5.0-build · 02089d0c
      unknown authored
      into mysql.com:/data0/mysqldev/jimw/mysql-5.0-build
      
      02089d0c
    • unknown's avatar
      Hack to ensure that CHAR's created in 5.0 are not converted to VARCHAR even if · 94056a48
      unknown authored
      the row type is dynamic (For 4.1 tables old 'VARCHAR' fields are converted to
      true VARCHAR in the next ALTER TABLE)
            
      This ensures that one can use MySQL 5.0 privilege tables with MySQL 4.1.
      
      (Fix imported from main 5.0 tree to 5.0.3 build tree.)
      
      
      mysql-test/r/information_schema.result:
        Update results (for .frm version number change)
      mysql-test/r/ndb_autodiscover.result:
        Update results (for .frm version number change)
      mysql-test/r/ps_1general.result:
        Update results (for .frm version number change)
      mysql-test/r/show_check.result:
        Update results (for .frm version number change)
      mysql-test/r/view.result:
        Update results (for .frm version number change)
      scripts/fill_func_tables.sh:
        Ensure that no privilege tables that is used in 4.1 uses VARCHAR
      scripts/mysql_create_system_tables.sh:
        Ensure that no privilege tables that is used in 4.1 uses VARCHAR
      sql/sql_table.cc:
        Only set create_info->varchar if we are using the new VARCHAR field
      scripts/mysql_fix_privilege_tables.sh:
        Fixed bug that made it impossible to run the script from the mysql source dist
      scripts/mysql_fix_privilege_tables.sql:
        Ensure that no privilege tables that is used in 4.1 uses VARCHAR
      sql/table.cc:
        Hack to ensure that CHAR's created in 5.0 are not converted to VARCHAR even if
        the row type is dynamic (For 4.1 tables old 'VARCHAR' fields are converted to
        true VARCHAR in the next ALTER TABLE)
      94056a48
    • unknown's avatar
      Merge mysql.com:/data0/mysqldev/my/mysql-5.0-build · c0570800
      unknown authored
      into mysql.com:/data0/mysqldev/serg/m50b
      
      c0570800
    • unknown's avatar
      BUG#9339 - Updating a column does not work if the table has a UTF-8 VARCHAR primary key · 3ff090eb
      unknown authored
      fixed my_charpos() call in Field_varstring::get_key_image
      
      
      mysql-test/t/type_varchar.test:
        BUG#9339 - Updating a column does not work if the table has a UTF-8 VARCHAR primary key
      mysql-test/r/type_varchar.result:
        BUG#9339 - Updating a column does not work if the table has a UTF-8 VARCHAR primary key
      3ff090eb
    • unknown's avatar
      Merge mysql.com:/data0/mysqldev/my/mysql-5.0-build · d3563bc3
      unknown authored
      into mysql.com:/data0/mysqldev/jimw/mysql-5.0-build
      
      d3563bc3
    • unknown's avatar
      Added better comment for perceived problem with fix for Bug #8753 Invalid... · cc7f3cb6
      unknown authored
      Added better comment for perceived problem with fix for Bug #8753 Invalid schema object version after dropping index
      
      
      cc7f3cb6
    • unknown's avatar
      Extra fix for perceived problem with fix for Bug #8753 Invalid schema object... · ecbc23fe
      unknown authored
      Extra fix for perceived problem with fix for Bug #8753 Invalid schema object version after dropping index
      
      
      ecbc23fe
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 3d9fc9c7
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      3d9fc9c7