1. 30 Mar, 2006 9 commits
    • unknown's avatar
      Merge mysql.com:/opt/local/work/tmp_merge2 · a7b62c9d
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.1-merge
      
      
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/sp-error.result:
        Auto merged
      mysql-test/r/sp-prelocking.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/trigger.result:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/sp-error.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/trigger.test:
        Auto merged
      sql/field.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      mysql-test/t/sp-prelocking.test:
        Manual merge.
      a7b62c9d
    • unknown's avatar
      Merge mysql.com:/opt/local/work/tmp_merge1 · f403a2d7
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.1-merge
      
      
      mysql-test/t/innodb.test:
        Manual merge: use local.
      f403a2d7
    • unknown's avatar
      Merge mysql.com:/opt/local/work/tmp_merge · cfef1a17
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.1-merge
      
      
      mysql-test/r/loaddata.result:
        Auto merged
      mysql-test/r/ndb_read_multi_range.result:
        Auto merged
      mysql-test/t/loaddata.test:
        Auto merged
      mysql-test/t/ndb_read_multi_range.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      storage/ndb/tools/Makefile.am:
        Auto merged
      cfef1a17
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 68a4289f
      unknown authored
      into  mysql.com:/home/cps/mysql/devel/5.1-repair-csv
      
      68a4289f
    • unknown's avatar
      fix csv test failure on non-linux platforms · b683c0dd
      unknown authored
      
      mysql-test/t/csv.test:
        don't use "echo -n -e", as these flags are not supported
        by built-in "echo" commands found on many platforms.
      b683c0dd
    • unknown's avatar
      Fix AIX compile failure. · b69884bd
      unknown authored
      b69884bd
    • unknown's avatar
      Add some stuff to source package needed for CMake Windows packaging. · c2214c59
      unknown authored
      
      Docs/Makefile.am:
        Include Windows manual in source package (if available), needed for CMake
        packaging.
      Makefile.am:
        Include initial Windows database files in source package, needed for
        CMake packaging
      c2214c59
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 4257bcac
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      storage/csv/ha_tina.cc:
        Auto merged
      4257bcac
    • unknown's avatar
      Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 22097036
      unknown authored
      into  xiphis.org:/home/antony/work2/p1-bug18464
      
      
      configure.in:
        Auto merged
      storage/csv/ha_tina.cc:
        Auto merged
      storage/example/Makefile.am:
        Auto merged
      22097036
  2. 29 Mar, 2006 31 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 9a875355
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      mysql-test/t/disabled.def:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      9a875355
    • unknown's avatar
      Fix for bug#18598 ndb_partition_list · ad70c412
      unknown authored
      ad70c412
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 859cffe1
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      859cffe1
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · afd69204
      unknown authored
      into  mysql.com:/home/alexi/mysql-5.1-new
      
      afd69204
    • unknown's avatar
      Null-merge · b332926c
      unknown authored
      b332926c
    • unknown's avatar
      Fix an -ansi -pedantic compilation failure · 684e17b0
      unknown authored
      684e17b0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b9a88d82
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-15683
      
      
      sql/sql_load.cc:
        Auto merged
      b9a88d82
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8607fd82
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-merge
      
      8607fd82
    • unknown's avatar
      Restoring changes erroneously removed by applying · 008e88a3
      unknown authored
       the innodb-5.0-ss368 snapshot.
      
      008e88a3
    • unknown's avatar
      Restoring changes erroneously removed by applying · 76c625e7
      unknown authored
       the innodb-5.0-ss368 snapshot.
      
      76c625e7
    • unknown's avatar
      Merge monty@192.168.0.9:/my/mysql-5.1 · 1ef6f580
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      mysql-test/t/disabled.def:
        Auto merged
      1ef6f580
    • unknown's avatar
      Safety fix to ensure that long event names always ends with \0 · ca686057
      unknown authored
      This removes a warning about missing DBUG_ENTER while running tests
      
      
      mysql-test/t/disabled.def:
        Disable test rpl_ndb_multi_update3 that randomly fails on Intel64
      ca686057
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · e7d87bbb
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-merge
      
      e7d87bbb
    • unknown's avatar
      Applied innodb-5.0-ss368 snapshot · 397c163f
      unknown authored
        Fixed bugs:
        #16814: SHOW INNODB STATUS format error in LATEST FOREIGN KEY ERROR section
          dict_foreign_key_error_report(): Always print a newline after invoking
          dict_print_info_on_foreign_key_in_create_format().
        #16827: Better InnoDB error message if ibdata files omitted from my.cnf.
        #17126: CHECK TABLE on InnoDB causes a short hang during check of adaptive hash.
          CHECK TABLE blocking other queries, by releasing the btr_search_latch
          periodically during the adaptive hash table validation.
        #17405: Valgrind: conditional jump or move depends on uninitialised valuesw.
          buf_block_init(): Reset magic_n, buf_fix_count, and io_fix to avoid testing
          uninitialised variables.
        #18077: InnoDB uses full explicit table locks in stored FUNCTION.
        #18238: When locks exhaust the buffer pool, InnoDB does not roll back the trx.
          Check in pessimistic insert and update if the buffer pool is exhausted by locks.
        #18252: Disk space leaks in updates of InnoDB BLOB rows.
          btr_cur_pessimistic_update(): Invoke rec_get_offset() after rec_set_field_extern_bits().
          btr_store_big_rec_extern_fields(): Note that offsets will no longer be valid
          after calling this function.
        #18283: When InnoDB returns error 'lock table full', MySQL can write to binlog too much.
        #18384: InnoDB memory leak on duplicate key errors if row has many columns.
          row_ins_duplicate_error_in_clust(): Call mem_heap_free(heap) at func_exit if needed.
        #18350: Use consistent read in CREATE ... SELECT .. if innodb_locks_unsafe_for_binlog is used.
      
      
      innobase/btr/btr0cur.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/btr/btr0sea.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/buf/buf0buf.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/buf/buf0lru.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/data/data0type.c:
        Applied innodb-5.0-ss368 snapshot
          dtype_print(): Fix printing of prtype.
      innobase/dict/dict0dict.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/fil/fil0fil.c:
        Applied innodb-5.0-ss368 snapshot
          fil_extend_space_to_desired_size(): in UNIV_HOTBACKUP builds,
          do not touch srv_data_file_sizes[] or srv_n_data_files.
      innobase/ha/ha0ha.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/include/btr0cur.h:
        Applied innodb-5.0-ss368 snapshot
      innobase/include/buf0lru.h:
        Applied innodb-5.0-ss368 snapshot
      innobase/include/ha0ha.h:
        Applied innodb-5.0-ss368 snapshot
      innobase/include/page0page.ic:
        Applied innodb-5.0-ss368 snapshot
          Remove UNIV_RELEASE_NOT_YET_STABLE and related checks.
      innobase/include/univ.i:
        Applied innodb-5.0-ss368 snapshot
          Remove UNIV_RELEASES_NOT_YET_STABLE and related checks.
      innobase/row/row0ins.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/row/row0sel.c:
        Applied innodb-5.0-ss368 snapshot
          Remove UNIV_RELEASE_NOT_YET_STABLE and related checks.
          page_rec_is_comp(): Remove the bounds check.
          row_sel_field_store_in_mysql_format(): Turn the assertions
          on mbminlen, mbmaxlen, and templ->type into debug assertions.
      innobase/row/row0upd.c:
        Applied innodb-5.0-ss368 snapshot
      mysql-test/t/innodb.test:
        Applied innodb-5.0-ss368 snapshot
      sql/ha_innodb.cc:
        Applied innodb-5.0-ss368 snapshot
          Fix memory allocation bug (by changing MY_WME to MY_FAE) in get_share.
          Also partially fix coding style of the function.
      397c163f
    • unknown's avatar
      Reverting yesterday's patch. (cmiller:1.2099) · 4215924e
      unknown authored
      4215924e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · d8b42ed5
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      mysql-test/r/ndb_condition_pushdown.result:
        Auto merged
      mysql-test/t/ndb_condition_pushdown.test:
        Auto merged
      sql/ha_heap.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      storage/csv/ha_tina.cc:
        Auto merged
      d8b42ed5
    • unknown's avatar
      Remove compiler warnings · 2aab3517
      unknown authored
      Add missing DBUG_RETURN
      Fixed stack overflow in NdbBlob (found by ndb_gis.test)
      Fixed access to freed memory in ndb_cluster_real_free_share()
      
      
      mysys/mf_keycache.c:
        Add missing DBUG_RETURN
      sql/ha_ndbcluster.cc:
        Move free_root to after share handling, as otherwise we will free things needed by free_table_share()
      sql/item_func.cc:
        Add missing DBUG_RETURN
      sql/item_strfunc.cc:
        Add missing DBUG_RETURN
      sql/sp_head.cc:
        Add missing DBUG_RETURN
      sql/sql_base.cc:
        Add missing DBUG_RETURN
      storage/csv/ha_tina.cc:
        Add missing DBUG_RETURN
      storage/myisam/mi_key.c:
        Add missing DBUG_RETURN
      storage/myisam/mi_keycache.c:
        Add missing DBUG_RETURN
      storage/ndb/include/kernel/signaldata/ArbitSignalData.hpp:
        Remove compiler warning
      storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Remove compiler warning
      storage/ndb/include/transporter/TransporterDefinitions.hpp:
        Remove compiler warning
      storage/ndb/include/util/SimpleProperties.hpp:
        Remove compiler warning
      storage/ndb/include/util/SocketServer.hpp:
        Remove compiler warning
      storage/ndb/src/ndbapi/ClusterMgr.hpp:
        Remove compiler warning
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        Fix stack overflow
      storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp:
        Remove compiler warning
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Remove compiler warning
      2aab3517
    • unknown's avatar
      Merged. · e9d2118d
      unknown authored
      e9d2118d
    • unknown's avatar
      Add substitutions for .ini files. · 26358e02
      unknown authored
      26358e02
    • unknown's avatar
      Merge · d213782e
      unknown authored
      
      sql/field.cc:
        Auto merged
      d213782e
    • unknown's avatar
      mysql_config.sh: · aeb9a4a1
      unknown authored
        If installed, search built in lib path first, bug#13158
      
      
      scripts/mysql_config.sh:
        If installed, search built in lib path first, bug#13158
      aeb9a4a1
    • unknown's avatar
      Makefile.am: · 638568ad
      unknown authored
        Added "ndb_error_reporter" script, bug#18421
      
      
      ndb/tools/Makefile.am:
        Added "ndb_error_reporter" script, bug#18421
      638568ad
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · fe94a36b
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      fe94a36b
    • unknown's avatar
      Makefile.am: · a055376c
      unknown authored
        Install "ndb_size.pl" script and template, bug#18421
      
      
      ndb/tools/Makefile.am:
        Install "ndb_size.pl" script and template, bug#18421
      a055376c
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · f418a417
      unknown authored
      into  mysql.com:/home/cps/mysql/devel/5.1-repair-csv
      
      f418a417
    • unknown's avatar
      fix test in --ps-protocol mode · a4de34c7
      unknown authored
      
      mysql-test/t/csv.test:
        fix test. In --ps-protocol mode warnings are eaten by the test suite.
        Disable ps-protocol mode for the statements, which throw the warnings
        we look for.
      a4de34c7
    • unknown's avatar
      Fixed compiler and valgrind warnings · eda5d729
      unknown authored
      Added missing DBUG_xxx_RETURN statements
      Fixed some usage of not initialized variables (as found by valgrind)
      Ensure that we don't remove locked tables used as name locks from open table cache until unlock_table_names() are called.
      This was fixed by having drop_locked_name() returning any table used as a name lock so that we can free it in unlock_table_names()
      This will allow Tomas to continue with his work to use namelocks to syncronize things.
      
      Note: valgrind still produces a lot of warnings about using not initialized code and shows memory loss errors when running the ndb tests
      
      
      BitKeeper/etc/ignore:
        added mysql-test/r/*.log
      client/mysqltest.c:
        Change type of variables to get rid of compiler warnings
        More debugging
        Fix memory leak
      mysql-test/mysql-test-run.sh:
        Collect warnings about missing DBUG_RETURN statements
      mysql-test/r/lock_multi.result:
        Add test of new code
      mysql-test/r/ndb_condition_pushdown.result:
        Drop used tables before test
      mysql-test/t/lock_multi.test:
        Add test of new code
      mysql-test/t/ndb_condition_pushdown.test:
        Drop used tables before test
      mysql-test/valgrind.supp:
        Ignore 'safe' warnings from libz (when used with archive)
      sql/event.cc:
        More comments
        Simplify code
        Fixed memory leak found by valgrind
      sql/ha_archive.cc:
        Remove compiler warnings (Wrong handlerton structure and signed/unsigned comparison)
      sql/ha_berkeley.cc:
        Fixed compiler warning
      sql/ha_blackhole.cc:
        Fixed compiler warning
      sql/ha_federated.cc:
        Fixed compiler warning
      sql/ha_heap.cc:
        Fixed compiler warning
      sql/ha_myisam.cc:
        Fixed compiler warning
      sql/ha_myisammrg.cc:
        Fixed compiler warning
      sql/ha_ndbcluster.cc:
        Fixed compiler warnings
      sql/ha_partition.cc:
        Fixed compiler warning
        Fixed error noticed by valgrind in ha_partition::rnd_init()
      sql/handler.cc:
        Fixed compiler warning
      sql/handler.h:
        Fixed compiler warning
      sql/item.cc:
        Fixed compiler warning
      sql/item_xmlfunc.cc:
        Fixed warning from valgrind when calling memcpy with wrong address
      sql/lock.cc:
        More debugging
      sql/log.cc:
        Fixed compiler warning
        Indentation fixes
      sql/log.h:
        Fixed compiler warning
      sql/mysql_priv.h:
        Changed prototype for 'drop_locked_tables'
      sql/opt_range.cc:
        Indentation fix
      sql/password.c:
        Removed compiler warnings
      sql/set_var.cc:
        Fixed compiler warning
      sql/slave.cc:
        Fixed compiler warning
      sql/sp_head.cc:
        Fixed compiler warning
      sql/sql_acl.cc:
        Fixed compiler warning
      sql/sql_analyse.cc:
        Added missing DBUG_RETURN statements
      sql/sql_base.cc:
        Removed de-reference of not initialized pointer
        More comments
        drop_locked_tables() changed to not delete tables used for name locking
        Fixed compiler warnings
      sql/sql_delete.cc:
        Fixed usage of not initialized variable
        (deleted could be referenced in some not common error conditions)
      sql/sql_parse.cc:
        Added missing DBUG_VOID_RETURN
        Simplify code
      sql/sql_partition.cc:
        Fixed usage of wrong variable (noticed by valgrind)
      sql/sql_plugin.cc:
        Removed compiler warning
      sql/sql_show.cc:
        Removed compiler warning
      sql/sql_table.cc:
        Ensure that we don't remove locked tables used as name locks from open table cache until unlock_table_names() are called.
        This was fixed by having drop_locked_name() returning any table used as a name lock so that we can free it in unlock_table_names()
        This will allow Tomas to continue with his work to use namelocks to syncronize things.
        
        Fixed wrong test of 'table_type' (path_length could otherwise be accessed uninitialized)
        
        Remove compile warnings about not initialized variables.
      sql/sql_yacc.yy:
        Ensure that no_write_to_binlog is properly initialized
        (Was accessed uninitialized by partition code)
      sql/table.cc:
        Removed valgrind warnings (not fatal)
        Removed compiler warnings
      sql/tztime.cc:
        Removed valgrind warning
      storage/ndb/include/ndbapi/NdbIndexStat.hpp:
        Removed compiler warning
      eda5d729
    • unknown's avatar
      Added more debugging printouts · 6afab8f5
      unknown authored
      6afab8f5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime · 581ad4b4
      unknown authored
      into  mysql.com:/home/dlenev/mysql-5.0-bg17764
      
      
      mysql-test/r/trigger.result:
        Auto merged
      mysql-test/t/trigger.test:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      581ad4b4
    • unknown's avatar
      Proposed fix for bug #17764 "Trigger crashes MyISAM table" · 297c18ad
      unknown authored
      A table with an on insert trigger was reported as crashed when the insert
      was processed with bulk insert mode on (handler::start_bulk_insert).
      The trigger was also selecting from the same table, and that caused
      the "crash".
      The same problem was present when an insert statement, which was processed
      in bulk mode, also used a stored function that was reading the same table.
      
      This fix disables bulk inserts if a statement uses functions or invokes
      triggers. Implementing more granular checks will require much more code and
      therefore can hardly be done in 5.0
      
      
      mysql-test/r/trigger.result:
        Added test bug #17764 "Trigger crashes MyISAM table".
      mysql-test/t/trigger.test:
        Added test bug #17764 "Trigger crashes MyISAM table".
      sql/sql_insert.cc:
        We should not start bulk inserts for INSERT (or similar) statement if it uses
        functions or invokes triggers since they may access to the same table and
        therefore should not see its inconsistent state created by this optimization.
      sql/sql_load.cc:
        We should not start bulk inserts for INSERT (or similar) statement if it uses
        functions or invokes triggers since they may access to the same table and
        therefore should not see its inconsistent state created by this optimization.
      297c18ad
    • unknown's avatar
      Manual merge · 410d2e65
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Merge
      sql/mysqld.cc:
        Merge
      410d2e65