1. 21 Mar, 2005 1 commit
    • unknown's avatar
      Last part of WL#1062: better replication of timezones: no more use · ac46bf77
      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
      ac46bf77
  2. 17 Mar, 2005 24 commits
    • unknown's avatar
      Cleanup of Item_func_group_concat · 6fc7c074
      unknown authored
      
      mysql-test/r/func_gconcat.result:
        Test result fixed.
      sql/item_sum.cc:
        Cleanup of Item_func_group_concat:
        - last unobvious things commented
        - don't store NULLs in the tree.
        - remove unneeded variables.
        - use setup_order, not setup_group to setup group concat order list
      sql/item_sum.h:
        Cleanup for Item_func_group_concat: remove unneded variables, methods,
        move a bunch of variables to private: section.
      6fc7c074
    • unknown's avatar
      Remove unexistent @MT_INCLUES@ · d1deb659
      unknown authored
      d1deb659
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-5.0-build · 9cffa82b
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      
      sql/sql_parse.cc:
        Auto merged
      9cffa82b
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-build · c76b98e7
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-build
      
      
      c76b98e7
    • unknown's avatar
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8ca02ee0
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/petica
      
      
      8ca02ee0
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 262bed0a
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/petica
      
      
      262bed0a
    • unknown's avatar
      sp.test: · 25099e09
      unknown authored
        Fix for a bug with test failing with Classic.
      
      
      mysql-test/t/sp.test:
        Fix for a bug with test failing with Classic.
      25099e09
    • unknown's avatar
      Added a missing pair of parenthesis. · ba2c213b
      unknown authored
      ba2c213b
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-8866 · 31f9e5a7
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-build
      
      
      31f9e5a7
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · a93d5b2c
      unknown authored
      into zim.(none):/home/brian/mysql/mysql-5.0
      
      
      a93d5b2c
    • unknown's avatar
      Manual merge. · 94c3958e
      unknown authored
      94c3958e
    • unknown's avatar
      after merge fix · 0c0a2d55
      unknown authored
      0c0a2d55
    • unknown's avatar
      Merge 4.1 -> 5.0 · 17791f95
      unknown authored
      
      heap/hp_create.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/olap.result:
        Auto merged
      mysql-test/t/func_str.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/key.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_string.h:
        Auto merged
      client/mysqldump.c:
        Manual merge
      mysql-test/r/func_gconcat.result:
        Manual merge
      mysql-test/r/func_str.result:
        Manual merge
      mysql-test/t/func_gconcat.test:
        Manual merge
      sql/ha_heap.cc:
        Manual merge
      sql/sql_select.cc:
        Manual merge
      17791f95
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 621abfac
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
      
      
      621abfac
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4079a85a
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
      
      
      4079a85a
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 5c1b91f1
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/handler.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      5c1b91f1
    • unknown's avatar
      Merge · 3e4ae65a
      unknown authored
      
      sql/key.cc:
        Auto merged
      mysql-test/r/update.result:
        SCCS merged
      mysql-test/t/update.test:
        SCCS merged
      3e4ae65a
    • unknown's avatar
      A fix (bug #8942: SUBSTRING_INDEX in UPDATE causes internal loop). · 7ceb5c6c
      unknown authored
      
      sql/key.cc:
        A fix (bug #8942: SUBSTRING_INDEX in UPDATE causes internal loop).
        For "partial" key parts (e.g. key(a(20), ...) we create different
        key_part->field, see sql/table.cc; so we have to use the eq() 
        function here to compare fields.
      7ceb5c6c
    • unknown's avatar
      Fixed two bugs in MySQL ACL. · 2bbde22d
      unknown authored
      First one is related to Bug#7905. One should not be allowed to
      create new user with password without UPDATE privilege to
      MySQL database. Furthermore, executing the same GRANT statement
      twice would actually crash the server and corrupt privilege database.
      
      Other bug was that one could update a column, using the existing
      value as basis to calculate the new value (e.g. UPDATE t1 SET a=a+1)
      without SELECT privilege to the field (a in the above example)
      
      Fixed tests grant.pl and grant2, which were wrong.
      
      
      2bbde22d
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · f3a63cde
      unknown authored
      into zim.(none):/home/brian/mysql/mysql-5.0
      
      
      f3a63cde
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · a131e4d1
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      sql/item.h:
        Auto merged
      a131e4d1
    • unknown's avatar
      Fix failure in 'kill' test due to change of default · 9045b70f
      unknown authored
      reconnect setting in mysql client library. (Bug #8866)
      
      
      client/mysqltest.c:
        Make sure reconnect is always set on connections, and
        note that there is a test that relies on this
      9045b70f
    • unknown's avatar
      Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants... · 98de4d79
      unknown authored
      Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup).
      
      
      BitKeeper/deleted/.del-mysqlfs.m4~2c0a06625ffdef2:
        Delete: config/ac-macros/mysqlfs.m4
      Makefile.am:
        Removed fs_dir (since dropping mysqlfs support)
      configure.in:
        Removed support for MySQLFS.
        Gone is support for mit-threads.
        Gone is Raid.
        I feel like if I say "gone" one more time I should embed a secret country song somewhere in the source as an easter egg.
      dbug/Makefile.am:
        Removed mit-threads
      extra/Makefile.am:
        Removed mit-threads
      heap/Makefile.am:
        removed mit-threads
      libmysql_r/Makefile.am:
        removed mit-threads
      libmysqld/Makefile.am:
        removed mit-threads
      myisam/Makefile.am:
        remove mt-threads
      myisammrg/Makefile.am:
        removed mit-threas
      mysys/Makefile.am:
        removed mit-threads
      regex/Makefile.am:
        removed mit-treads
      sql/Makefile.am:
        removed mit-threads
      strings/Makefile.am:
        removed mit-threads
      tests/Makefile.am:
        removed mit-threads
      tools/Makefile.am:
        removed mit-threads
      98de4d79
  3. 16 Mar, 2005 15 commits