1. 23 Mar, 2005 4 commits
    • 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
      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:/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
  2. 22 Mar, 2005 19 commits
    • 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
      Merge bk-internal:/home/bk/mysql-5.0 · e8a666ee
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      innobase/include/trx0trx.h:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      e8a666ee
    • unknown's avatar
      Merge · d5e86f40
      unknown authored
      d5e86f40
    • unknown's avatar
      sql_acl.cc, sql_acl.h, sql_parse.cc · d9abeb76
      unknown authored
        New privilege CREATE USER (CREATE_USER_ACL, Create_user_priv) added
      grant2.test:
        new tests (mostly backported from jani's patch)
      system_mysql_db.result, sp.result, grant2.result, grant.result:
        results updated
      
      
      mysql-test/r/grant.result:
        results updated
      mysql-test/r/grant2.result:
        results updated
      mysql-test/r/sp.result:
        results updated
      mysql-test/r/system_mysql_db.result:
        results updated
      mysql-test/t/grant2.test:
        new tests (mostly backported from jani's patch)
      scripts/mysql_create_system_tables.sh:
        Create_user_priv added
      scripts/mysql_fix_privilege_tables.sql:
        Create_user_priv added
      sql/sql_acl.cc:
        Create_user_priv added
      sql/sql_acl.h:
        Create_user_priv added
      sql/sql_parse.cc:
        Create_user_priv added
      sql/sql_show.cc:
        Create_user_priv added
      sql/sql_yacc.yy:
        Create_user_priv added
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      d9abeb76
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-build · cf9e6fd5
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      cf9e6fd5
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-build · 3ff22f01
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-build
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      3ff22f01
    • unknown's avatar
      mysql-test-run.sh, mysql-test-run.pl: · 89ff7f61
      unknown authored
        InnoDB needs longer start time for second slave on slow hosts
      
      
      mysql-test/mysql-test-run.pl:
        InnoDB needs longer start time for second slave on slow hosts
      mysql-test/mysql-test-run.sh:
        InnoDB needs longer start time for second slave on slow hosts
      89ff7f61
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · d5df870e
      unknown authored
      into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
      
      d5df870e
    • unknown's avatar
      - Added new error message. · bd4559c0
      unknown authored
      - Changed error message in sql_acl.cc
      - Added some more tests for GRANT.
      
      
      Docs/mysqld_error.txt:
        Added new error message.
      mysql-test/r/grant2.result:
        Error message changed.
      mysql-test/r/grant3.result:
        Clean up.
      mysql-test/t/grant2.test:
        Error message changed.
      sql/share/errmsg.txt:
        Added new error message.
      sql/sql_acl.cc:
        Changed error message.
      mysql-test/t/grant3.test:
        Error message changed.
      bd4559c0
    • unknown's avatar
      Hack to ensure that CHAR's created in 5.0 are not converted to VARCHAR even if... · 3bd059e9
      unknown authored
      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)
      
      This ensures that one can use MySQL 5.0 privilege tables with MySQL 4.1
      
      
      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
      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/sql_table.cc:
        Only set create_info->varchar if we are using the new VARCHAR field
      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)
      3bd059e9
    • unknown's avatar
      c0e5a040
    • unknown's avatar
      disabling rpl_timezone.test if --ps-protocol, as binlogging of CONVERT_TZ(,,@@time_zone) · d35e3a7b
      unknown authored
      fails there; until we find reason (me and possibly Konstantin).
      
      
      mysql-test/t/rpl_timezone.test:
        disabling test if --ps-protocol, until we find reason
      sql/slave.cc:
        fixing comment
      d35e3a7b
    • unknown's avatar
      Revert the inclusion of 'signal.h' as the module contains 'kill()'. · dd0cd5fb
      unknown authored
      
      server-tools/instance-manager/instance.cc:
        Revert the inclusion of 'signal.h' as this module contains 'kill()'.
      dd0cd5fb
    • unknown's avatar
      Merge jwinstead@production.mysql.com:mysql-5.0-build · 7f8f2b4e
      unknown authored
      into mysql.com:/data0/mysqldev/jimw/mysql-5.0-build
      
      7f8f2b4e
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · a85bb292
      unknown authored
      into production.mysql.com:/nfstmp1/guilhem/mysql-5.0-prod
      
      a85bb292
  3. 21 Mar, 2005 17 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · 2f7afba7
      unknown authored
      into production.mysql.com:/nfstmp1/guilhem/mysql-5.0-prod
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      2f7afba7
    • unknown's avatar
      Last part of WL#1062: better replication of timezones: no more use · 61eb9e40
      unknown authored
      of SET ONE_SHOT; storing tz info directly in event (if this info is needed),
      it's now allowed to have different global tz on master and slave.
      
      
      client/mysqlbinlog.cc:
        we need MAX_TIME_ZONE_NAME_LENGTH when processing log_event.h, and it's declared in mysql_priv.h
      mysql-test/r/rpl_timezone.result:
        result update
      mysql-test/t/rpl_timezone-slave.opt:
        Now that we can have different global value of timezone on master and slave, let's test it.
      mysql-test/t/rpl_timezone.test:
        Tests of the new replication of timezones: checking the output of mysqlbinlog,
        replication of CONVERT_TZ().
      sql/ha_innodb.cc:
        No very fast shutdown on Netware (anyway it's disabled on all platforms,
        but this is so that we don't forget to keep it disabled on Netware in the future).
      sql/log.cc:
        No more need to write SET ONE_SHOT to binlog for character set and timezone
        (as we store this info  directly nin the Query_log_event now).
      sql/log_event.cc:
        Exclude ::write() methods if MYSQL_CLIENT.
        Storing timezone info in the Query_log_event in master. Re-reading it in slave.
        Small code cleanups. I plan to not store the end 0 of catalog in binlog
        events soon.
      sql/log_event.h:
        replication of time zones: a place for tz info in Query_log_event,
        in LAST_EVENT_INFO. Plus if we are compiling a client, we don't need
        the ::write() methods, so keeping them out (of mysqlbinlog.cc;
        keeping them in, resulted in problem that mysqlbinlog does not know Timezone
        structure).
      sql/mysql_priv.h:
        moving this define from tztime.h (tztime.h has things which are
        too much for a client like mysqlbinlog).
      sql/set_var.cc:
        It's now allowed to change global value of charset or timezone even if using binlogging
        or if being a slave.
        Making CONVERT_TZ(,,@@session.time_zone) replicate.
      sql/set_var.h:
        these ::check()s are not needed anymore (changing global charset
        or timezone is now allowed even if binlogging or slave)
      sql/slave.cc:
        No more need to check for same global timezone if master is 5.x
        (ok, strictly speaking if it is > 5.0.3 but this is alpha).
      sql/slave.h:
        a function to wrap settings of charset to default.
      sql/tztime.cc:
        Adaptation of my_tz_find() to the case where it's not called from inside
        a query (i.e. cannot join its tz tables to the query's ones): this variant
        opens the tz tables itself, reads from them, and closes them. This is presently
        only used by the slave SQL thread (when it sets the tz before executing a query).
      sql/tztime.h:
        declaration of new function, plus moving symbol to mysql_priv.h
        for easier usage in mysqlbinlog (Dmitri, pardon me).
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      61eb9e40
    • unknown's avatar
      Merge mysql.com:/home/cps/mysql/devel/im-failure-fix · 73883313
      unknown authored
      into mysql.com:/home/cps/mysql/devel/merge-5.0
      
      73883313
    • unknown's avatar
      Fix for AIX compilation failure: sacred knowledge of my_global.h nature (it should be · 683a5e6d
      unknown authored
      included before any other include) was hidden from me.
      
      
      server-tools/instance-manager/commands.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/commands.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/factory.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/guardian.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/guardian.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/instance.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/instance.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/instance_map.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/instance_map.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/instance_options.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/log.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/manager.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/messages.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/messages.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/mysql_connection.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/mysqlmanager.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/options.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/parse.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/parse_output.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/protocol.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/protocol.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/thread_registry.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/user_map.h:
        Fix for AIX compilation failure & cleanup
      683a5e6d
    • unknown's avatar
      Fix Windows compile warnings, declarations of walk functions · f0f8c394
      unknown authored
      
      sql/item_func.cc:
        Remove unused variable
      sql/handler.cc:
        Fix warnings
      sql/item_sum.cc:
        Restore C_MODE_START/END around count_distinct_walk
        Change second argument to dump_leaf_key to correct type
      sql/item_sum.h:
        Change second argument to dump_leaf_key to correct type
      f0f8c394
    • unknown's avatar
      Remove references to no-longer-used MySqlManager project files · 63ddc291
      unknown authored
      
      BitKeeper/deleted/.del-MySqlManager_ia64.dsp~179439d0832c941e:
        Delete: VC++Files/mysqlmanager/MySqlManager_ia64.dsp
      VC++Files/mysql.dsw:
        Remove MySqlManager and references to it
      VC++Files/mysql_ia64.dsw:
        Remove references to MySqlManager
      63ddc291
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b6758fa7
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      sql/handler.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      b6758fa7
    • unknown's avatar
      Cleanups during review of code · 8817bbac
      unknown authored
      Fixed newly introduced bug in rollup
      
      
      client/mysqldump.c:
        Safer buffer allocation
        Removed wrong assert
      mysql-test/r/olap.result:
        more tests
      mysql-test/t/olap.test:
        more tests
      sql/handler.cc:
        Simple cleanup
        Fixed wrong check for next digit (wrong debug output)
      sql/item.cc:
        Replace shrink_to_length() with mark_as_const() as the former allowed one to do changes to the string
      sql/item_sum.cc:
        Change reference to pointer
        Trivial optimzation of testing 'allways_null'
      sql/mysqld.cc:
        Proper indentation of comment
      sql/sql_select.cc:
        Fixed newly introduced bug in rollup
      sql/sql_string.h:
        Remove not needed 'shrink_to_length()'
        Added 'mark_as_const()' to be used when one want to ensure that a string is not changed
      8817bbac
    • unknown's avatar
      Fix test_libmysqld link problem on Windows. · 8c0454e3
      unknown authored
      
      libmysqld/libmysqld.def:
        Bump version number, add two symbols
      VC++Files/libmysqld/examples/test_libmysqld.dsp:
        Fix target name
        Remove unwanted dependency
      8c0454e3
    • unknown's avatar
      Merge hundin.mysql.fi:/home/heikki/mysql-4.1 · 72d9203a
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-5.0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      include/config-netware.h:
        Auto merged
      innobase/include/trx0trx.h:
        Auto merged
      innobase/trx/trx0trx.c:
        Auto merged
      72d9203a
    • unknown's avatar
      trx0trx.c: · 51e76a5e
      unknown authored
        If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
      
      
      innobase/trx/trx0trx.c:
        If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
      51e76a5e
    • unknown's avatar
      Merge · 4adbc670
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      innobase/include/trx0trx.h:
        Auto merged
      innobase/trx/trx0trx.c:
        SCCS merged
      4adbc670
    • unknown's avatar
      trx0trx.c, trx0trx.h: · a422f163
      unknown authored
        If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
      
      
      innobase/include/trx0trx.h:
        If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
      innobase/trx/trx0trx.c:
        If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
      a422f163
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-build · e581ffc9
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      configure.in:
        Auto merged
      e581ffc9
    • unknown's avatar
      configure.in: · 8c73bbcd
      unknown authored
        5.0.3 is a beta
      
      
      configure.in:
        5.0.3 is a beta
      8c73bbcd
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-build · ab901d18
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
      
      ab901d18
    • unknown's avatar
      A fix for Netware. · f6ad3d72
      unknown authored
      f6ad3d72