1. 23 Jun, 2004 32 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 1ded4188
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-winfix
      
      1ded4188
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · fcc9046e
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-1717
      
      
      client/mysqltest.c:
        Auto merged
      innobase/trx/trx0sys.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      fcc9046e
    • unknown's avatar
      WL#1717 "binlog/innodb consistency". · 055f046e
      unknown authored
      Final push. Printing some warnings at startup, as --innodb-safe-binlog requires
      some other options, to work as expected.
      Adding 6 new tests (3 pairs). If they fail on some platforms (so far they have been run only on my Linux),
      they should be ignored for the 4.1.3 build (you can just
      rm mysql-test/*/rpl_crash_*).
      Now going to update doc.
      
      
      mysql-test/misc/kill_master.sh:
        If the mysqld process has already gone away, 'kill' will fail, so we need to explicitely
        exit 0, so that the non-zero return code of kill does not make mysqltest stop.
      sql/log.cc:
        VC++ does not know (ulonglong)(-1)
      sql/mysqld.cc:
        When using --innodb-safe-binlog, some options need to automatically be turned on.
      055f046e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 58fcb75b
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-winfix
      
      
      sql/tztime.cc:
        Auto merged
      58fcb75b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · f3b3e072
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      f3b3e072
    • unknown's avatar
      followup · dea58dd5
      unknown authored
      dea58dd5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 06602f7b
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-winfix
      
      06602f7b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9e01e2b4
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-winfix
      
      
      sql/tztime.cc:
        Auto merged
      9e01e2b4
    • unknown's avatar
      Fixed compilation on windows. · 8b0ad3c2
      unknown authored
      
      sql/tztime.cc:
        Fixed compilation on Windows.
        Added casts to avoid warnings.
        2nd argument of hash_search should be of type const byte *.
      8b0ad3c2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 71094f11
      unknown authored
      into here.mwagner.org:/Volumes/BK/mysql-4.1
      
      71094f11
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · f36db401
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      client/mysqldump.c:
        Auto merged
      configure.in:
        Auto merged
      sql/handler.cc:
        Auto merged
      f36db401
    • unknown's avatar
      ad8dd508
    • unknown's avatar
      followup to handler cleanup · 514b051f
      unknown authored
      
      mysql-test/r/bdb.result:
        bug#4000
      mysql-test/t/bdb.test:
        bug#4000
      sql/sql_select.cc:
        cleanup
      514b051f
    • unknown's avatar
      mysql-copyright: · e896a610
      unknown authored
        Fixed vim to expandtab's, retab'd code
        Fixed CWD bug in trim_the_fat()
      
      
      Build-tools/mysql-copyright:
        Fixed vim to expandtab's, retab'd code
        Fixed CWD bug in trim_the_fat()
      e896a610
    • unknown's avatar
      mysqldump.c: · 2dbe5c48
      unknown authored
        Fix typo.
      
      
      client/mysqldump.c:
        Fix typo.
      2dbe5c48
    • unknown's avatar
      mysql-copyright: · d26e8de3
      unknown authored
        Cleaned-up trim_the_fat()
      
      
      Build-tools/mysql-copyright:
        Cleaned-up trim_the_fat()
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      d26e8de3
    • unknown's avatar
      mysqldump.c: · b624b2cc
      unknown authored
        Correct the help text for mysqldump --set-charset option.
      
      
      client/mysqldump.c:
        Correct the help text for mysqldump --set-charset option.
      b624b2cc
    • unknown's avatar
      - using "--with-libedit" is sufficient (--without-readline throws · da531986
      unknown authored
         weird compile errors)
      
      
      Build-tools/Do-compile:
         - using "--with-libedit" is sufficient
      da531986
    • unknown's avatar
      3ae57ba9
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 03202c14
      unknown authored
      into mysql.com:/usr/home/bar/mysql-4.1
      
      03202c14
    • unknown's avatar
      configure.in: · c2f24405
      unknown authored
        --with-charset=binary didn't really work after my previous change.
      
      
      configure.in:
        --with-charset=binary didn't really work after my previous change.
      c2f24405
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 34518738
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      34518738
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 1003d535
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/ha_myisam.cc:
        Auto merged
      1003d535
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 927ee959
      unknown authored
      into mysql.com:/usr/home/bar/mysql-4.1
      
      927ee959
    • unknown's avatar
    • unknown's avatar
      Fixed warning about unitialized mutex when mysqld couldn't start. · 68798f04
      unknown authored
      
      sql/handler.cc:
        Cleaned up comments
      68798f04
    • unknown's avatar
      log.cc: · 1c13f0b3
      unknown authored
        rpl_charset failed on  Linux/AMD64.
      
      
      sql/log.cc:
        rpl_charset failed on  Linux/AMD64.
      1c13f0b3
    • unknown's avatar
      merged · 55c8a6c1
      unknown authored
      
      configure.in:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/r/fulltext.result:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_help.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/unireg.cc:
        Auto merged
      55c8a6c1
    • unknown's avatar
      handler interface cleanups: · ee8ee8ca
      unknown authored
        more logical table/index_flags
        return  HA_ERR_WRONG_COMMAND instead of abstract methods where appropriate
        max_keys and other limits renamed to max_supported_keys/etc
        max_keys/etc are now wrappers to max_supported_keys/etc 
        ha_index_init/ha_rnd_init/ha_index_end/ha_rnd_end are now wrappers to real {index,rnd}_{init,end} to enforce strict pairing
      
      
      include/myisam.h:
        increasing myisam_max_temp_file_length
      include/my_base.h:
        handler interface cleanup
      myisam/mi_static.c:
        warning removed
      mysql-test/Makefile.am:
        followup
      mysql-test/r/fulltext.result:
        fulltext indexes are not ordered
      mysql-test/r/rpl_user_variables.result:
        followup
      sql/field.cc:
        index_flags
      sql/filesort.cc:
        rnd_init -> ha_rnd_init
        rnd_end -> ha_rnd_end
      sql/ha_berkeley.cc:
        cleanup
      sql/ha_berkeley.h:
        table/index_flags revamped
      sql/ha_heap.cc:
        ensure index is accessed only after index_init (esp. important for temp tables)
      sql/ha_heap.h:
        table/index_flags revamped
      sql/ha_innodb.cc:
        don't workaround MySQL sloppiness
      sql/ha_innodb.h:
        table/index_flags revamped
      sql/ha_isam.h:
        table/index_flags revamped
      sql/ha_isammrg.h:
        table/index_flags revamped
      sql/ha_myisam.cc:
        ensure index is accessed only after index_init (esp. important for temp tables)
      sql/ha_myisam.h:
        table/index_flags revamped
      sql/ha_myisammrg.h:
        table/index_flags revamped
      sql/handler.cc:
        handler interface cleanups
      sql/handler.h:
        handler interface cleanups:
          more logical table/index_flags
          return  HA_ERR_WRONG_COMMAND instead of abstract methods
          max_keys and other limits renamed to max_supported_keys/etc
          max_keys/etc are now wrappers to max_supported_keys/etc 
          ha_index_init/ha_rnd_init/ha_index_end/ha_rnd_end are now wrappers to enforce strict pairing
      sql/item_subselect.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/lex.h:
        renamed to avoid conflicts
      sql/opt_range.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
        table/index_flags cleanup
      sql/opt_range.h:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/opt_sum.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
        table/index_flags cleanup
      sql/records.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_acl.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_cache.cc:
        cleanup
      sql/sql_delete.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_handler.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_help.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_insert.cc:
        table/index_flags cleanup
      sql/sql_select.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
        table/index_flags cleanup
      sql/sql_table.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
        table/index_flags cleanup
      sql/sql_update.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_yacc.yy:
        INDEX -> INDEX_SYM
      sql/table.cc:
        table/index_flags cleanup
      ee8ee8ca
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 98c1dcd3
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-tz-am
      
      98c1dcd3
    • unknown's avatar
      Final solution to mysql_tzinfo_to_sql problem. · 2d12396d
      unknown authored
      
      sql/Makefile.am:
        Final solution to mysql_tzinfo_to_sql problem:
        We can't put it in extra/ directory since it depends on sql/sql_yacc.h and
        sql/ directory depends on extra/comp_err. So this utility have to stay in
        sql/ for a while.
      BitKeeper/etc/ignore:
        Added sql/mysql_tzinfo_to_sql_tztime.cc to the ignore list
      2d12396d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 0bc2d897
      unknown authored
      into mysql.com:/home/pem/work/mysql-4.1
      
      0bc2d897
  2. 22 Jun, 2004 8 commits
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 17acd752
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-tz-am
      
      17acd752
    • unknown's avatar
      Fix for build from bk failures with old automake. · 7e439871
      unknown authored
      mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made 
      compatible with older automake versions.
      
      
      extra/Makefile.am:
        mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made 
        compatible with older automake versions.
      sql/Makefile.am:
        mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made
        compatible with older automake versions.
      BitKeeper/etc/ignore:
        Added extra/tztime.cc extra/mysql_tzinfo_to_sql to the ignore list
      7e439871
    • unknown's avatar
      Fixes to make client_test run on 64 bit Sun: a bug in libmysql and · 1f251923
      unknown authored
      test suite fixed.
      
      
      libmysql/libmysql.c:
        - fixed a bug in protocol -> host integer conversions in send_data_str
      tests/client_test.c:
        Fixes to make client_test run on 64 bit Sun:
        - strlen() doesn't accept NULL input
        - Sun is high byte first, so we can't store bind 32-bit variables to 16-bit
        to MYSQL_TYPE_SHORT/TINY
      1f251923
    • unknown's avatar
      Fixed BUG#3486: FOUND_ROWS() fails inside stored procedure [and prepared statement]. · 409afdc8
      unknown authored
      
      mysql-test/r/ps.result:
        New test case for BUG#3486.
      mysql-test/t/ps.test:
        New test case for BUG#3486.
      sql/item_create.cc:
        Create an Item_func_found_rows() at parse time, not an Item_int.
      sql/item_func.cc:
        Added val_int() method for new Item_func_found_rows class.
      sql/item_func.h:
        New class Item_func_found_rows for FOUND_ROWS() function.
      sql/sql_select.cc:
        Don't reset thd->limit_found_rows too early, or FOUND_ROWS() wont work.
      409afdc8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 597f9738
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-bg4200
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      597f9738
    • unknown's avatar
      Fix for Bug# 4200 "Parse error on LIKE ESCAPE with parameter binding" · b62ab1ab
      unknown authored
      Now ESCAPE in LIKE will accept not only string literal but constant 
      delimited expression.
      
      
      mysql-test/r/func_like.result:
        Added test for bug# 4200 "Parse error on LIKE ESCAPE with parameter binding"
      mysql-test/t/func_like.test:
        Added test for bug# 4200 "Parse error on LIKE ESCAPE with parameter binding"
      sql/item_cmpfunc.cc:
        Added support for accepting of constant delimited expression as ESCAPE argument to
        Item_func_like.
      sql/item_cmpfunc.h:
        Now ESCAPE clause in LIKE will accept not only string literal but constant delimited 
        expression. Thus added member to Item_func_like for storing Item corresponding to this
        expression and changed third argument of cons to be Item* instead of char*.
      sql/sql_help.cc:
        Item_func_like now accepts Item* as third argument.
      sql/sql_yacc.yy:
        Now ESCAPE clause of LIKE accepts not only string literal but constant delimited expression
        (the most important case is prepared statement parameter of course).
      b62ab1ab
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · e2965d74
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-regexp-4.1
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      e2965d74