1. 03 Dec, 2003 1 commit
  2. 02 Dec, 2003 6 commits
    • unknown's avatar
      sql_select.cc: · fc6cf268
      unknown authored
        Fixed a problem a with special cases of IS NULL usage
        caused by some erroneous change made when Item_equal
        was introduced.
      
      
      sql/sql_select.cc:
        Fixed a problem a with special cases of IS NULL usage
        caused by some erroneous change made when Item_equal
        was introduced.
      fc6cf268
    • unknown's avatar
      Merge · 7b853c64
      unknown authored
      
      mysql-test/t/range.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      sql/sql_list.h:
        Auto merged
      sql/sql_select.h:
        Auto merged
      7b853c64
    • unknown's avatar
      range.test: · f6697593
      unknown authored
        Added tests for != predicate.
      sql_select.cc:
        Fixing bugs in Item_equal code:
        added a parameter in substitute_for_equal_field;
        modified eliminate_item_equal.
      sql_list.h:
        Cleanup
      
      
      sql/sql_list.h:
        Cleanup
      sql/sql_select.cc:
        Fixing bugs in Item_equal code:
        added a parameter in substitute_for_equal_field;
        modified eliminate_item_equal.
      mysql-test/t/range.test:
        Added tests for != predicate.
      f6697593
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 7daa6cdc
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-1
      
      
      sql/item_cmpfunc.h:
        Auto merged
      7daa6cdc
    • unknown's avatar
      index_merge.result: · 49278596
      unknown authored
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      
      
      mysql-test/r/index_merge.result:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      49278596
    • unknown's avatar
      join_outer.result, null.result, null.test: · a65c6989
      unknown authored
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      item_cmpfunc.h:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      
      
      sql/item_cmpfunc.h:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (big #1990).
      mysql-test/t/null.test:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      mysql-test/r/null.result:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      mysql-test/r/join_outer.result:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      a65c6989
  3. 01 Dec, 2003 3 commits
    • unknown's avatar
      Post-merge fixes. · da7ca9ba
      unknown authored
      da7ca9ba
    • unknown's avatar
      Merge 4.1 to 5.0 · 38f853d2
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysqltest.c:
        Auto merged
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      myisam/sort.c:
        Auto merged
      mysql-test/install_test_db.sh:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/symlink.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      sql/protocol.h:
        Auto merged
      sql/protocol_cursor.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_error.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_list.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_test.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      38f853d2
    • unknown's avatar
      Portability fixes (for binary build) · 91de6fdb
      unknown authored
      Added --protocol to mysqlbinlog
      
      
      client/mysql.cc:
        Indentation cleanup
      client/mysqlbinlog.cc:
        Added protocol option
      mysql-test/r/rpl_until.result:
        Update results
      mysql-test/t/rpl_until.test:
        If --sleep option was given then the salve could do many retries, which affected the size of the binary log. This is fixed by not comparing the binary log size/position
      sql/mysqld.cc:
        More debugging with set_maximum_open_files()
      vio/viosocket.c:
        Portability fix.
      91de6fdb
  4. 28 Nov, 2003 26 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 09fc5d1f
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      sql/opt_range.cc:
        Auto merged
      09fc5d1f
    • unknown's avatar
      Mark position as # to make test portable · 046b80bb
      unknown authored
      046b80bb
    • unknown's avatar
      Merge mysql.com:/my/mysql-4.0 into mysql.com:/my/mysql-4.1 · fd3847ce
      unknown authored
      
      libmysql/libmysql.c:
        Auto merged
      fd3847ce
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c61299dc
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      c61299dc
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 90fc2b97
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      90fc2b97
    • unknown's avatar
      "optimization cleanup" reverted - problems on rpl_redirect test. · 88d274c6
      unknown authored
      It happens that mysql->client_next->client_next=mysql
      and mysql_close() goes into infinite loop.
      Results vary from simple sigsegv (FreeBSD), to hard system lockup (Linux)
      :)
      
      
      88d274c6
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 57eda305
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      57eda305
    • unknown's avatar
      In the slave I/O thread (in master.info), it seems less worse to flush · 7ec796f3
      unknown authored
      the relay log before flushing master.info.
      Doing 'before' leads to duplicate event, doing after leads to missing event.
      Both can be as destructive, but 'duplicate' enables us to later add detection
      code to catch it. Whereas 'missing' can't be caught (it can't, because
      the I/O thread can produce legal position jumps, for example if it has
      ignored an event coming from this slave (rememember that starting from 4.1.1,
      the I/O thread filters the server id). 
      
      
      7ec796f3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a55db621
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      sql-common/client.c:
        Auto merged
      a55db621
    • unknown's avatar
      cleanup: comment moved to proper place · 3cbc822d
      unknown authored
      3cbc822d
    • unknown's avatar
      merge with 4.0 to get fix for range bug · 6cb23b94
      unknown authored
      
      libmysql/libmysql.c:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      6cb23b94
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 15763ed5
      unknown authored
      into mysql.com:/my/mysql-4.0
      
      
      15763ed5
    • unknown's avatar
      Fixed range optimzier bug (Bug #1828) · e5cc604e
      unknown authored
      
      mysql-test/r/range.result:
        test for range optimzier bug
      mysql-test/t/range.test:
        test for range optimzier bug
      e5cc604e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · aa780843
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      aa780843
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f531c801
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      sql-common/client.c:
        Auto merged
      f531c801
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 7c8f81f3
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      7c8f81f3
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 56b45eea
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      56b45eea
    • unknown's avatar
      merged · c19f18ec
      unknown authored
      c19f18ec
    • unknown's avatar
    • unknown's avatar
      Merge · ef432201
      unknown authored
      
      sql/sql_parse.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sql_derived.cc:
        keep local copy
      sql/sql_union.cc:
        keep local copy
      ef432201
    • unknown's avatar
      Fix wrong last edit for last commit · 183b02a8
      unknown authored
      183b02a8
    • unknown's avatar
      Added missing SSL library (Should be in source distribution) · 76bf7d22
      unknown authored
      Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler)
      Added a lot of 'version_xxx' strings to 'show variables'
      Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
      Fixed problem with printing sub selects to debug log
      
      
      Docs/mysqld_error.txt:
        Updated error messages
      Makefile.am:
        Added missing SSL library (Should be in source distribution)
      configure.in:
        Added missing SSL library
      include/sql_common.h:
        Move duplicated prototypes
      innobase/os/os0file.c:
        Added comment for line that could be removed
      innobase/srv/srv0srv.c:
        Added comment for line that could be removed
      innobase/srv/srv0start.c:
        Added comment for line that could be removed
      innobase/trx/trx0sys.c:
        Added cast to remove compiler warning
      isam/isamchk.c:
        Fixed compiler warning
      libmysql/conf_to_src.c:
        Include files in proper order
      myisam/mi_check.c:
        Removed else part that caused compiler warning
      myisam/mi_delete.c:
        Added cast
      myisam/mi_page.c:
        Added cast
      myisam/mi_preload.c:
        Added cast
      myisam/mi_write.c:
        Added cast
      myisam/myisampack.c:
        changed 'byte' to 'current_byte' to avoid compiler warnings
      mysql-test/mysql-test-run.sh:
        Removed start-from as test '<' is not portable and this can easily be done from command line
      mysys/hash.c:
        Added cast
      mysys/mf_wcomp.c:
        Removed not reached line
      mysys/my_append.c:
        Fixed include file order to get this more portable
      mysys/my_copy.c:
        Fixed include file order to get this more portable
      mysys/my_redel.c:
        Fixed include file order to get this more portable
      sql-common/client.c:
        More DBUG_PRINT
      sql-common/pack.c:
        Added casts becasue Fortre compiler apparently compares (ulonglong) < (longlong) as signed
      sql/ha_heap.cc:
        Changed variable names to not cause hidden variables
      sql/ha_innodb.cc:
        Changed variable names to not cause hidden variables
      sql/item.cc:
        Changed variable names to not cause hidden variables
      sql/item.h:
        Changed variable names to not cause hidden variables
      sql/item_cmpfunc.h:
        Changed variable names to not cause hidden variables
      sql/item_func.cc:
        Changed variable names to not cause hidden variables
      sql/item_subselect.cc:
        Changed variable names to not cause hidden variables
      sql/item_subselect.h:
        Changed variable names to not cause hidden variables
      sql/item_sum.cc:
        Changed variable names to not cause hidden variables
      sql/item_timefunc.cc:
        Changed variable names to not cause hidden variables
      sql/log.cc:
        Changed variable names to not cause hidden variables
      sql/protocol.cc:
        Changed variable names to not cause hidden variables
      sql/protocol.h:
        Changed variable names to not cause hidden variables
        Remove function not declared in protocol.cc
      sql/protocol_cursor.cc:
        Changed variable names to not cause hidden variables
      sql/set_var.cc:
        Added a lot of 'version_xxx' strings
        Changed 'bdb_version' to 'version_bdb'
      sql/sql_class.cc:
        Changed variable names to not cause hidden variables
        Add TMP_TABLE_PARAM::init() to allow one to initialize structure several times
      sql/sql_class.h:
        Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
      sql/sql_derived.cc:
        Avoid copying TMP_TABLE_PARAM (Use class version instead)
      sql/sql_error.cc:
        More DBUG
      sql/sql_help.cc:
        Fixed compiler warning
      sql/sql_lex.cc:
        Changed variable names to not cause hidden variables
      sql/sql_list.h:
        Changed variable names to not cause hidden variables
      sql/sql_parse.cc:
        Changed variable names to not cause hidden variables
      sql/sql_select.cc:
        Changed variable names to not cause hidden variables
        Ensure that you don't send NULL to printf() for %s
        Fixed problem with printing sub selects to debug log
      sql/sql_select.h:
        Changed variable names to not cause hidden variables
      sql/sql_union.cc:
        Changed variable names to not cause hidden variables
        Don't use local copy of TMP_TABLE_PARAM (Caused core dump on Solaris)
      sql/sql_update.cc:
        Indentation cleanup
      sql/sql_yacc.yy:
        Remove warning
      strings/conf_to_src.c:
        Fixed include file order
      76bf7d22
    • unknown's avatar
      BK automerge tends to eat break; statements · a723514b
      unknown authored
      a723514b
    • unknown's avatar
      Merge mysql.com:/home/kostja/mysql/mysql-4.1-root · b567fdd4
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-wl519
      
      
      sql-common/client.c:
        Auto merged
      b567fdd4
    • unknown's avatar
      Second part of WL #519: · 506572b6
      unknown authored
      Client option secure-auth deployed on all possible layers:
      - mysql client command-line and config file option
      - mysql_options option MYSQL_SECURE_AUTH
      - mysql_real_connect will automatically take into account that option if
        mysql->options.my_cnf_file/my_cnf_group is set
      
      
      client/client_priv.h:
        added OPT_SECURE_AUTH to enum of all my_read_default_options options.
      client/mysql.cc:
        added support for mysql command-line option --secure-auth
      include/errmsg.h:
        added return code for option --secure-auth
      include/mysql.h:
        added MYSQL_SECURE_AUTH to enum of all mysql_options options.
        added secure_auth flag to MYSQL handle
      libmysql/errmsg.c:
        Error messages for option --secure-auth
      sql-common/client.c:
        added check for secure-auth in mysql_real_connect:
        if password is provided, and secure-auth is on, then client will
        refuse connecting to pre-4.1.1 server
      506572b6
  5. 27 Nov, 2003 4 commits