1. 02 Dec, 2003 11 commits
    • unknown's avatar
      Merge mysql.com:/home/psergey/mysql-5.0 · 068770c3
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-compile
      
      068770c3
    • unknown's avatar
      Fix for bug #1980 · 4c10216e
      unknown authored
      4c10216e
    • unknown's avatar
      Merge mysql.com:/home/pem/work/mysql-4.1 · 8eb3d599
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      mysql-test/r/join_outer.result:
        Auto merged
      mysql-test/r/null.result:
        Auto merged
      mysql-test/t/null.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      8eb3d599
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5a8f0009
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      5a8f0009
    • unknown's avatar
      Fix for #1189 (Mess with names about CONSTRAINT) · 1906e569
      unknown authored
      Second edition: error message was deleted as Segey suggested
      Now name of the constraint will be used as the name of the key
      if the last not specified
      
      
      mysql-test/r/constraints.result:
        appropriate test result
      mysql-test/t/constraints.test:
        test case for 1189
      sql/sql_yacc.yy:
        language definitions changed so that we can obtaint constraint's name
        and send it as the name of the key if it's not specified
      1906e569
    • unknown's avatar
      Item_param::save_in_field(): · e34536fc
      unknown authored
      thd->command can be anything except COM_EXECUTE in no cases
      except programming error.
      
      e34536fc
    • unknown's avatar
      Ensure that innodb is created for the first replication test as the... · 9745fda6
      unknown authored
      Ensure that innodb is created for the first replication test as the slave-timeout is lower for future tests and this failed on some slower machines
      
      
      9745fda6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 7383cfbe
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      7383cfbe
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · c58a06b1
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-1
      
      
      sql/item_cmpfunc.h:
        Auto merged
      c58a06b1
    • unknown's avatar
      index_merge.result: · 90f35502
      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).
      90f35502
    • unknown's avatar
      join_outer.result, null.result, null.test: · 48f81aa0
      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).
      48f81aa0
  2. 01 Dec, 2003 7 commits
    • unknown's avatar
      join_outer.result, null.result, null.test, item_cmpfunc.h: · f656fde2
      unknown authored
        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 (bug #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).
      f656fde2
    • unknown's avatar
      cleanup: unused variable removed · 213760d4
      unknown authored
      followup of Bordeaux Optimizer session
      
      213760d4
    • unknown's avatar
      Post-merge fixes. · 67f4243f
      unknown authored
      67f4243f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · b1219537
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      b1219537
    • unknown's avatar
      Merge 4.1 to 5.0 · 6a10922d
      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
      6a10922d
    • unknown's avatar
      don't delete select_lex->having and select_lex->where as we delete · 164a5fdb
      unknown authored
      all items in free_prep_stmt(free_items);
      
      indentation fix
      
      164a5fdb
    • unknown's avatar
      Portability fixes (for binary build) · 78436e89
      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.
      78436e89
  3. 28 Nov, 2003 22 commits
    • unknown's avatar
      Mark position as # to make test portable · 3d22785d
      unknown authored
      3d22785d
    • unknown's avatar
      Merge mysql.com:/my/mysql-4.0 into mysql.com:/my/mysql-4.1 · f29f1024
      unknown authored
      
      libmysql/libmysql.c:
        Auto merged
      f29f1024
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 69a9941c
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      69a9941c
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 95034b91
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      95034b91
    • unknown's avatar
      "optimization cleanup" reverted - problems on rpl_redirect test. · 0a231f4d
      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)
      :)
      
      0a231f4d
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · b538c5c1
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      b538c5c1
    • unknown's avatar
      In the slave I/O thread (in master.info), it seems less worse to flush · 817752f0
      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). 
      
      817752f0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5ea6f67b
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      sql-common/client.c:
        Auto merged
      5ea6f67b
    • unknown's avatar
      cleanup: comment moved to proper place · 5a32d42a
      unknown authored
      5a32d42a
    • unknown's avatar
      merge with 4.0 to get fix for range bug · d80953f8
      unknown authored
      
      libmysql/libmysql.c:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      d80953f8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 0400f880
      unknown authored
      into mysql.com:/my/mysql-4.0
      
      0400f880
    • unknown's avatar
      Fixed range optimzier bug (Bug #1828) · 6cabc697
      unknown authored
      
      mysql-test/r/range.result:
        test for range optimzier bug
      mysql-test/t/range.test:
        test for range optimzier bug
      6cabc697
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 4420c2e6
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      4420c2e6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 0444a2a9
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      sql-common/client.c:
        Auto merged
      0444a2a9
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · b92d5c51
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      b92d5c51
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 6bd4da2c
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      6bd4da2c
    • unknown's avatar
      merged · 5dc67f1a
      unknown authored
      5dc67f1a
    • unknown's avatar
    • unknown's avatar
      Merge · 62bd269a
      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
      62bd269a
    • unknown's avatar
      Fix wrong last edit for last commit · 8aad454a
      unknown authored
      8aad454a
    • unknown's avatar
      Added missing SSL library (Should be in source distribution) · 5a331b9e
      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
      5a331b9e