1. 02 Mar, 2007 4 commits
    • unknown's avatar
      Manual merge · 7be25714
      unknown authored
      7be25714
    • unknown's avatar
      Merge weblab.(none):/home/marcsql/TREE/mysql-5.0-26093 · 93e6eb80
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-26093-merge
      
      
      mysql-test/r/func_misc.result:
        Auto merged
      93e6eb80
    • unknown's avatar
      Bug#26093 (SELECT BENCHMARK() for SELECT statements does not produce valid · 0a93be28
      unknown authored
        results)
      
      Before this fix, the function BENCHMARK() would fail to evaluate expressions
      like "(select avg(a) from t1)" in debug builds (with an assert),
      or would report a time of zero in non debug builds.
      
      The root cause is that evaluation of DECIMAL_RESULT expressions was not
      supported in Item_func_benchmark::val_int().
      
      This has been fixed by this change.
      
      
      mysql-test/r/func_misc.result:
        Added support for DECIMAL_RESULT in Item_func_benchmark::val_int()
      mysql-test/t/func_misc.test:
        Added support for DECIMAL_RESULT in Item_func_benchmark::val_int()
      sql/item_func.cc:
        Added support for DECIMAL_RESULT in Item_func_benchmark::val_int()
      0a93be28
    • unknown's avatar
      Missing parameter to DBUG_PRINT · bf4996c4
      unknown authored
      bf4996c4
  2. 01 Mar, 2007 3 commits
    • unknown's avatar
      Fixed compiler warnings · 2e346023
      unknown authored
      
      server-tools/instance-manager/angel.cc:
        Compiler warnings
      sql/event_queue.cc:
        Compier warnings
      sql/event_scheduler.cc:
        Compiler warnings
      sql/events.cc:
        Compiler warnings
      2e346023
    • unknown's avatar
      Manual merge of 5.1 into 5.1-runtime · 38a8283c
      unknown authored
      
      mysql-test/r/subselect.result:
        Manual merge
      server-tools/instance-manager/mysqlmanager.cc:
        Manual merge
      sql/event_scheduler.cc:
        Manual merge
      sql/sql_parse.cc:
        Manual merge
      38a8283c
    • unknown's avatar
      Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base · ee950898
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-rt-merge
      
      
      include/my_pthread.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/partition_innodb.result:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      server-tools/instance-manager/IMService.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster_binlog.cc:
        Auto merged
      sql/ha_partition.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      ee950898
  3. 28 Feb, 2007 4 commits
  4. 27 Feb, 2007 8 commits
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 9cf5f2c9
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.1-bug26117
      
      
      9cf5f2c9
    • unknown's avatar
      BUG#26117 "index_merge sort-union over partitioned table crashes" · b68a2201
      unknown authored
      Before the fix: 
        ha_partition objects had ha_partition::m_part_info==NULL and that caused
        crash
      After: 
      - The new ha_partition::clone() function makes the clones use parent's
        m_part_info value.
      - The parent ha_partition object remains responsible for deallocation of
        m_part_info.
      
      
      mysql-test/r/partition_innodb.result:
        BUG#26117 "index_merge sort-union over partitioned table crashes"
         - Testcase
      mysql-test/t/partition_innodb.test:
        BUG#26117 "index_merge sort-union over partitioned table crashes"
         - Testcase
      b68a2201
    • unknown's avatar
      Fix (last) compiler warnings · ae72e394
      unknown authored
      
      storage/innobase/pars/lexyy.c:
        Fix compiler warnings (fix is also in pars0lex.l)
      support-files/compiler_warnings.supp:
        Extra safety to ensure we really get rid of warning :)
      ae72e394
    • unknown's avatar
      Remove compiler warnings · 3956f591
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Fix warning when using --extern
      sql/field.cc:
        Fix wrong fix
      sql/ha_ndbcluster.cc:
        Better fixes to remove compiler warnings
      sql/ha_ndbcluster_binlog.cc:
        Better fixes to remove compiler warnings
      sql/log.cc:
        Fix compiler warnings
      sql/sql_parse.cc:
        Indentation fix
      sql/sql_table.cc:
        Indentation fixes
      storage/myisammrg/ha_myisammrg.cc:
        Fix compiler warnings
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        Fix compiler warnings
      support-files/compiler_warnings.supp:
        Suppress all 'safe' warnings, as detected by win64
      win/README:
        Fixed typo
      3956f591
    • unknown's avatar
      Fixes for compiler warnings. · 175507b7
      unknown authored
      
      include/my_dbug.h:
        Added macro for fixing compiler warnings.
      sql/field.cc:
        Fixed compiler warnings.
      sql/ha_ndbcluster.cc:
        Fixed compiler warnings.
      sql/ha_ndbcluster_binlog.cc:
        Fixed compiler warnings.
        Changed some tabs into spaces.
      sql/rpl_injector.h:
        Fixed compiler warnings.
      sql/sql_binlog.cc:
        Fixed compiler warnings.
      sql/sql_repl.cc:
        Fixed compiler warnings.
      sql/sql_table.cc:
        Fixed compiler warnings.
      storage/myisammrg/ha_myisammrg.cc:
        Fixed compiler warnings.
      strings/ctype-ucs2.c:
        Fixed compiler warnings.
      strings/ctype-utf8.c:
        Fixed compiler warnings.
      support-files/compiler_warnings.supp:
        Added suppressed warnings.
      175507b7
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · 13f1e40b
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      sql/sql_select.cc:
        Auto merged
      13f1e40b
    • unknown's avatar
      removed unused variable · 3a520a78
      unknown authored
      3a520a78
    • unknown's avatar
      after merge fix · 6e133525
      unknown authored
      6e133525
  5. 26 Feb, 2007 9 commits
    • unknown's avatar
      after merge fix · 79a6e0fe
      unknown authored
      79a6e0fe
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · 6247e1b2
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      6247e1b2
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.1 · 536adef6
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      536adef6
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0 · de5d4e32
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0-opt
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      de5d4e32
    • unknown's avatar
      after merge fix · bab42f67
      unknown authored
      bab42f67
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · b1060052
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/r/insert_update.result:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/r/subselect3.result:
        Auto merged
      mysql-test/r/type_blob.result:
        Auto merged
      mysql-test/t/insert_update.test:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      BitKeeper/deleted/.del-bdb.result:
        Auto merged
      mysql-test/extra/binlog_tests/blackhole.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      storage/blackhole/ha_blackhole.cc:
        Auto merged
      mysql-test/r/binlog_stm_blackhole.result:
        manual merge
      mysql-test/r/insert_select.result:
        manual merge
      mysql-test/r/subselect.result:
        manual merge
      mysql-test/r/update.result:
        manual merge
      mysql-test/t/insert_select.test:
        manual merge
      mysql-test/t/subselect.test:
        manual merge
      sql/sql_help.cc:
        manual merge
      sql/sql_insert.cc:
        manual merge
      sql/sql_update.cc:
        manual merge
      b1060052
    • unknown's avatar
      Merge ymer.(none):/tmp/mysql-5.0 · 1eb71c68
      unknown authored
      into  ymer.(none):/tmp/mysql-5.1
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/include/util/OutputStream.hpp:
        Auto merged
      storage/ndb/src/common/debugger/EventLogger.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      storage/ndb/src/mgmsrv/Services.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ClusterMgr.hpp:
        Auto merged
      storage/ndb/src/ndbapi/SignalSender.cpp:
        Auto merged
      1eb71c68
    • unknown's avatar
      Compiler warning suppression fix: Add missing file to 'make dist'. · 8c336fbc
      unknown authored
      
      support-files/Makefile.am:
        Add missing file to 'make dist'.
      8c336fbc
    • unknown's avatar
      item.cc, item.h: · 90d4f809
      unknown authored
        Post fix for bug#23800.
      
      
      sql/item.h:
        Post fix for bug#23800.
      sql/item.cc:
        Post fix for bug#23800.
      90d4f809
  6. 25 Feb, 2007 1 commit
    • unknown's avatar
      item.h: · 84e68927
      unknown authored
        Post fix for bug#23800.
        Copy the table name of an Item_outer_ref to the conventional memory.
      
      
      sql/item.h:
        Post fix for bug#23800.
        Copy the table name of an Item_outer_ref to the conventional memory.
      84e68927
  7. 24 Feb, 2007 9 commits
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 9d142a6d
      unknown authored
      into  moonbone.local:/mnt/gentoo64/work/23800-bug1-5.0-opt-mysql
      
      
      9d142a6d
    • unknown's avatar
      item.cc: · b1e1f77f
      unknown authored
        Post fix for bug#23800.
        The Item_field constructor now increases the select_n_where_fields counter.
      sql_yacc.yy:
        Post fix for bug#23800.
        Take into account fields that might be added by subselects.
      sql_lex.h:
        Post fix for bug#23800.
        Added the select_n_where_fields variable to the st_select_lex class.
      sql_lex.cc:
        Post fix for bug#23800.
        Initialization of the select_n_where_fields variable.
      
      
      sql/sql_lex.cc:
        Post fix for bug#23800.
        Initialization of the select_n_where_fields variable.
      sql/sql_lex.h:
        Post fix for bug#23800.
        Added the select_n_where_fields variable to the st_select_lex class.
      sql/item.cc:
        Post fix for bug#23800.
        The Item_field constructor now increases the select_n_where_fields counter.
      sql/sql_yacc.yy:
        Post fix for bug#23800.
        Take into account fields that might be added by subselects.
      b1e1f77f
    • unknown's avatar
      Remove DBUG_ASSERT() -- essential functionality can not be · 46928246
      unknown authored
      wrapped by DBUG_ASSERT().
      
      
      46928246
    • unknown's avatar
      Fix merge. · 13cb957c
      unknown authored
      13cb957c
    • unknown's avatar
      Merge booka.opbmk:/home/alik/Documents/MySQL/devel/5.0-rt-im · 4ce41024
      unknown authored
      into  booka.opbmk:/home/alik/Documents/MySQL/devel/5.1-rt-im
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      server-tools/instance-manager/instance_options.cc:
        Manual merge
      server-tools/instance-manager/mysqlmanager.cc:
        Manual merge.
      4ce41024
    • unknown's avatar
      Fix for BUG#22511: IM does not remove angel-pid-file on clean shutdown · 8251e016
      unknown authored
      
      server-tools/instance-manager/mysqlmanager.cc:
        Delete IM-angel pid file on exit.
      8251e016
    • unknown's avatar
      IM test suite fix. · f44759c7
      unknown authored
      Log messages from shell-scripts were put to var/log/<test id>.log
      file. Now, this file is used by mysql-test-run.pl. So, move log
      messages to var/log/<test id>.script.log.
      
      
      mysql-test/t/kill_n_check.sh:
        Log messages from shell-scripts were put to var/log/<test id>.log
        file. Now, this file is used by mysql-test-run.pl. So, move log
        messages to var/log/<test id>.script.log.
      mysql-test/t/log.sh:
        Log messages from shell-scripts were put to var/log/<test id>.log
        file. Now, this file is used by mysql-test-run.pl. So, move log
        messages to var/log/<test id>.script.log.
      mysql-test/t/wait_for_process.sh:
        Log messages from shell-scripts were put to var/log/<test id>.log
        file. Now, this file is used by mysql-test-run.pl. So, move log
        messages to var/log/<test id>.script.log.
      mysql-test/t/wait_for_socket.sh:
        Log messages from shell-scripts were put to var/log/<test id>.log
        file. Now, this file is used by mysql-test-run.pl. So, move log
        messages to var/log/<test id>.script.log.
      f44759c7
    • unknown's avatar
      94d4f324
    • unknown's avatar
      Fixed windows compilation problems · 3c990412
      unknown authored
      
      extra/yassl/taocrypt/mySTL/algorithm.hpp:
        max is defined on windows
      sql/sql_list.h:
        Fixed compiler warning on windows
      3c990412
  8. 23 Feb, 2007 2 commits
    • unknown's avatar
      Fixed compilations problems and warnings on windows · 338cb6a8
      unknown authored
      
      extra/yassl/include/openssl/ssl.h:
        Move things up to avoid problems with defines in winsock2
      extra/yassl/include/socket_wrapper.hpp:
        Don't include winsock2.h twice
      include/config-win.h:
        Use winsock2.h instead of winsock.h
        (winsock2.h must be included before windows.h and will automaticly include windows.h)
      include/mysql.h:
        Use winsock2.h
      libmysqld/examples/builder-sample/emb_samples.cpp:
        Use winsock2.h
      server-tools/instance-manager/IMService.cpp:
        Use winsock2.h
      sql/item_strfunc.cc:
        Remove duplicate include
      sql/lex.h:
        Fixed conflict with external GROUP define
      sql/net_serv.cc:
        winsock.h is already included in my_global.h
      sql/sql_class.cc:
        Fixed compiler warning on windows
      sql/sql_table.cc:
        Fixed compiler warning
      sql/sql_yacc.yy:
        Fixed conflict with external GROUP define
      sql/udf_example.c:
        Use winsock2 instead of winsock.h
      win/README:
        Updated readme
      338cb6a8
    • unknown's avatar
      Fix merge & update result file. · 4acc8e9d
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Fix merge.
      mysql-test/r/im_utils.result:
        Updated result file.
      4acc8e9d