1. 21 May, 2004 2 commits
    • unknown's avatar
      Resolving merge issues between archive and most recent changes by Monty/NDB · 2aa35823
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      2aa35823
    • unknown's avatar
      First commit of archive example. Archive is a simple storage engine that... · 40a41161
      unknown authored
      First commit of archive example. Archive is a simple storage engine that handles inserts and selects. 
      
      
      acconfig.h:
        Adding undef piece for HAVE_ARCHIVE_DB	
      acinclude.m4:
        Code needed for --with-archive-storage-engine flag for compile.
      configure.in:
        Adding tag for Archive
      sql/Makefile.am:
        Source updates to compile ha_archive
      sql/examples/ha_archive.cc:
        Class file for archive storage engine. First version.
      sql/handler.cc:
        Updates needed for adding archive storage engine.
      sql/handler.h:
        ENUM for archive storage engine.
      sql/mysql_priv.h:
        Archive show options
      sql/mysqld.cc:
        Ifdef foor HAVE_ARCHIVE_DB
      sql/examples/ha_archive.h:
        Include file for archive storage engine addition.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      40a41161
  2. 18 May, 2004 5 commits
  3. 17 May, 2004 9 commits
    • unknown's avatar
    • unknown's avatar
      InnoDB cleanup: Remove unused function ut_printf() · a68afc35
      unknown authored
      
      innobase/ut/ut0ut.c:
        Remove unused function ut_printf()
      a68afc35
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.1 · 9c3fe6d7
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-4.1
      
      9c3fe6d7
    • unknown's avatar
      InnoDB cleanup: Add const qualifiers to many char* arguments · 71edf173
      unknown authored
      
      innobase/dict/dict0dict.c:
        Replace char* arguments with const char*
      innobase/dict/dict0load.c:
        Replace char* arguments with const char*
      innobase/dict/dict0mem.c:
        Replace char* arguments with const char*
      innobase/fil/fil0fil.c:
        Replace char* arguments with const char*
      innobase/include/data0data.h:
        dfield_set_data(): add const qualifier
      innobase/include/data0data.ic:
        dfield_set_data(): add const qualifier
        (temporarily shut up compiler warnings)
      innobase/include/dict0dict.h:
        Replace char* arguments with const char*
      innobase/include/dict0dict.ic:
        Replace char* arguments with const char*
      innobase/include/dict0load.h:
        Replace char* arguments with const char*
      innobase/include/dict0mem.h:
        Replace char* arguments with const char*
      innobase/include/fil0fil.h:
        Replace char* arguments with const char*
      innobase/include/os0file.h:
        Replace char* arguments with const char*
      innobase/include/os0sync.h:
        Replace char* arguments with const char*
      innobase/include/pars0pars.h:
        Replace char* arguments with const char*
      innobase/include/pars0sym.h:
        Replace char* arguments with const char*
      innobase/include/row0mysql.h:
        Replace char* arguments with const char*
      innobase/include/row0sel.h:
        Replace char* arguments with const char*
      innobase/include/trx0roll.h:
        Replace char* arguments with const char*
      innobase/include/trx0sys.h:
        Replace char* arguments with const char*
      innobase/include/trx0trx.h:
        Replace char* arguments with const char*
      innobase/include/ut0rnd.h:
        Replace char* arguments with const char*
      innobase/include/ut0rnd.ic:
        Replace char* arguments with const char*
      innobase/include/ut0ut.h:
        Remove unused function ut_printf()
      innobase/os/os0file.c:
        Replace char* arguments with const char*
      innobase/os/os0sync.c:
        Replace char* arguments with const char*
      innobase/pars/pars0pars.c:
        Replace char* arguments with const char*
      innobase/pars/pars0sym.c:
        Use mem_heap_strdupl() instead of mem_heap_alloc() and memcpy()
      innobase/row/row0mysql.c:
        Replace char* arguments with const char*
      innobase/row/row0sel.c:
        Replace char* arguments with const char*
      innobase/trx/trx0roll.c:
        Replace char* arguments with const char*
      innobase/trx/trx0sys.c:
        Replace char* arguments with const char*
      71edf173
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5ad51d76
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      5ad51d76
    • unknown's avatar
      typo fixed · b3690dfd
      unknown authored
      b3690dfd
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 00e9bdd1
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      00e9bdd1
    • unknown's avatar
      bug#3681 - order by, distinct, refer to aliased field by name · 3f62dbdf
      unknown authored
      check for field_name (not only for name) in find_item_in_list, to be compatible with item->eq() that is done later
      
      
      mysql-test/r/order_by.result:
        bug#3681 - order by, distinct, refer to aliased field by name
      3f62dbdf
    • unknown's avatar
      After merge fixes · 6b6665ce
      unknown authored
      
      mysql-test/r/type_float.result:
        Fix result after merge
      sql/log_event.cc:
        Fixed typo
      6b6665ce
  4. 16 May, 2004 3 commits
    • unknown's avatar
      Merge with 4.0.20 · 0eb8474b
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      client/mysql.cc:
        Auto merged
      client/mysqltest.c:
        Auto merged
      innobase/btr/btr0btr.c:
        Auto merged
      innobase/dict/dict0dict.c:
        Auto merged
      innobase/dict/dict0load.c:
        Auto merged
      innobase/eval/eval0eval.c:
        Auto merged
      innobase/ibuf/ibuf0ibuf.c:
        Auto merged
      innobase/include/ut0mem.h:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      innobase/row/row0ins.c:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      innobase/row/row0umod.c:
        Auto merged
      innobase/row/row0upd.c:
        Auto merged
      innobase/trx/trx0trx.c:
        Auto merged
      innobase/ut/ut0dbg.c:
        Auto merged
      innobase/ut/ut0mem.c:
        Auto merged
      myisam/mi_dynrec.c:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/t/fulltext.test:
        Auto merged
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      innobase/os/os0file.c:
        Merge with 4.0.20
        Ensure that we call F_UNLCK for files on which we call F_WRLCK.
        This is to ensure that this code will be portable accross most platforms.
      myisam/ft_boolean_search.c:
        Merge with 4.0.20 (keep original file)
      myisam/ft_parser.c:
        Merge with 4.0.20 (keep original file)
      myisam/ftdefs.h:
        Merge with 4.0.20 (keep original file)
      0eb8474b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · ffd5dab5
      unknown authored
      into mishka.local:/home/my/mysql-4.1
      
      
      sql/sql_acl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      ffd5dab5
    • unknown's avatar
      key_cmp -> key_cmp_if_same · 79ad5506
      unknown authored
      New records_in_range() interface (similar to read_range())
      Macros for faster bitmap handling
      Simplify read_range() code (#WL1786)
      New general key_cmp() function to compare keys
      
      
      
      
      heap/hp_hash.c:
        New records_in_range() interface
      include/heap.h:
        New records_in_range() interface
      include/my_base.h:
        Moved 'key_range' here so that all table handlers can use it
      include/my_bitmap.h:
        Make some bitmap functions inline for faster usage in one thread
      include/myisam.h:
        New records_in_range() interface
      include/myisammrg.h:
        New records_in_range() interface
      myisam/mi_range.c:
        New records_in_range() interface
      myisam/mi_test2.c:
        New records_in_range() interface
      myisam/rt_test.c:
        New records_in_range() interface
        Indentation fixes
      myisam/sp_test.c:
        New records_in_range() interface
        Indentation fixes
      myisammrg/myrg_range.c:
        New records_in_range() interface
      mysys/my_bitmap.c:
        Make some bitmap functions inline for faster usage in one thread
      sql/examples/ha_example.cc:
        New records_in_range() interface
      sql/field.cc:
        Fixed indentation
      sql/ha_berkeley.cc:
        New records_in_range() interface
      sql/ha_berkeley.h:
        New records_in_range() interface
      sql/ha_heap.cc:
        New records_in_range() interface
      sql/ha_heap.h:
        New records_in_range() interface
      sql/ha_innodb.cc:
        New records_in_range() interface
      sql/ha_innodb.h:
        New records_in_range() interface
      sql/ha_isam.cc:
        New records_in_range() interface
      sql/ha_isam.h:
        New records_in_range() interface
      sql/ha_myisam.cc:
        New records_in_range() interface
      sql/ha_myisam.h:
        New records_in_range() interface
      sql/ha_myisammrg.cc:
        New records_in_range() interface
      sql/ha_myisammrg.h:
        New records_in_range() interface
      sql/ha_ndbcluster.cc:
        New records_in_range() interface
      sql/ha_ndbcluster.h:
        New records_in_range() interface
      sql/handler.cc:
        Simplify read_range() interface:
        - Add 'eq_range' to read_range_first
        - Remove 'eq_range' parameer from read_range_next()
        - Trust values from index_next_same()
        - Simplfy compare_key() by moving key_comparision to key.cc (as this code can be reused from other places)
      sql/handler.h:
        Move key_range to my_base.h to be used by external table handlers
        Simplify read_range() interface
        New records_in_range() interface
      sql/key.cc:
        Rename key_cmp() to key_cmp_if_same() to make it more descriptive
        Add new key_cmp() function usable from range and handler code.
      sql/mysql_priv.h:
        Prototypes for new functions
      sql/opt_range.cc:
        New records_in_range() interface
        Simplify cmp_prev()
        (We can in 5.0 simplify cmp_next() the same way)
      sql/opt_range.h:
        Added key_part_info to QUICK_SELECT to be able to use key_cmp() in get_next()
      sql/opt_sum.cc:
        key_cmp -> key_cmp_if_same
      sql/sql_acl.cc:
        key_cmp -> key_cmp_if_same
      sql/sql_select.cc:
        key_cmp -> key_cmp_if_same
      79ad5506
  5. 15 May, 2004 9 commits
  6. 14 May, 2004 12 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · b2d2dd5c
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      b2d2dd5c
    • unknown's avatar
      Replication testsuite: making the master-slave synchronization less likely to fail, · 190b3a25
      unknown authored
      by adding sleep-and-retries (max 4 times) if MASTER_POS_WAIT() returns NULL
      in sync_with_master and sync_slave_with_master.
      The problem showed up only today, in MySQL 5.0 in rpl_server_id2.test,
      but may affect 4.x as well, so fixing it here. Note that I am also fixing
      5.0 too, with the same exact patch, because I don't want to leave 5.0 broken
      until the next 4.0->4.1->5.0 merge.
      
      
      client/mysqltest.c:
        in sync_with_master (and sync_slave_with_master), if MASTER_POS_WAIT() returns NULL,
        it may be that the slave SQL thread did not have time to start yes, so we sleep
        1 sec and retry, 4 times at most.
      mysql-test/r/rpl_server_id2.result:
        result update
      mysql-test/t/rpl_server_id2.test:
        master_slave.inc already drops the table
      190b3a25
    • unknown's avatar
      7eb4c96f
    • unknown's avatar
      CXX linker specified for client_test with libmysqld · 2edbe2e7
      unknown authored
      
      libmysqld/examples/Makefile.am:
        CXXLINK specified for client_test with libmysqld
      2edbe2e7
    • unknown's avatar
      check of item name presence in find_item_in_list (Bug #3752) · 1bb32e71
      unknown authored
      
      mysql-test/r/func_gconcat.result:
        test of Bug #3752
      mysql-test/t/func_gconcat.test:
        test of Bug #3752
      sql/sql_base.cc:
        check of item name presence in find_item_in_list
      1bb32e71
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · c3924f2e
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-all_any2-4.1
      
      c3924f2e
    • unknown's avatar
      SELECT options print fixed · ce8e3556
      unknown authored
      ce8e3556
    • unknown's avatar
      Many files: · aecddd8e
      unknown authored
        Fix remaining cases of Bug #3596: fix possible races caused by an obsolete value of thd->query_length in SHOW PROCESSLIST and SHOW INNODB STATUS; this fix depends on the fact that thd->query is always set to NULL before setting it to point to a new query
      
      
      sql/sql_class.h:
        Fix remaining cases of Bug #3596: fix possible races caused by an obsolete value of thd->query_length in SHOW PROCESSLIST and SHOW INNODB STATUS; this fix depends on the fact that thd->query is always set to NULL before setting it to point to a new query
      sql/ha_innodb.cc:
        Fix remaining cases of Bug #3596: fix possible races caused by an obsolete value of thd->query_length in SHOW PROCESSLIST and SHOW INNODB STATUS; this fix depends on the fact that thd->query is always set to NULL before setting it to point to a new query
      sql/log_event.cc:
        Fix remaining cases of Bug #3596: fix possible races caused by an obsolete value of thd->query_length in SHOW PROCESSLIST and SHOW INNODB STATUS; this fix depends on the fact that thd->query is always set to NULL before setting it to point to a new query
      sql/slave.cc:
        Fix remaining cases of Bug #3596: fix possible races caused by an obsolete value of thd->query_length in SHOW PROCESSLIST and SHOW INNODB STATUS; this fix depends on the fact that thd->query is always set to NULL before setting it to point to a new query
      sql/sql_db.cc:
        Fix remaining cases of Bug #3596: fix possible races caused by an obsolete value of thd->query_length in SHOW PROCESSLIST and SHOW INNODB STATUS; this fix depends on the fact that thd->query is always set to NULL before setting it to point to a new query
      sql/sql_parse.cc:
        Fix remaining cases of Bug #3596: fix possible races caused by an obsolete value of thd->query_length in SHOW PROCESSLIST and SHOW INNODB STATUS; this fix depends on the fact that thd->query is always set to NULL before setting it to point to a new query
      sql/sql_show.cc:
        Fix remaining cases of Bug #3596: fix possible races caused by an obsolete value of thd->query_length in SHOW PROCESSLIST and SHOW INNODB STATUS; this fix depends on the fact that thd->query is always set to NULL before setting it to point to a new query
      aecddd8e
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.1 · 5f190f4b
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-4.1
      
      5f190f4b
    • unknown's avatar
      InnoDB cleanup: eliminate IB__FILE__ · 334e76ab
      unknown authored
      
      innobase/btr/btr0cur.c:
        Replace IB__FILE__ with __FILE__
      innobase/btr/btr0sea.c:
        Replace IB__FILE__ with __FILE__
      innobase/buf/buf0buf.c:
        Replace IB__FILE__ with __FILE__
        Add const qualifiers
      innobase/ibuf/ibuf0ibuf.c:
        Replace IB__FILE__ with __FILE__
      innobase/include/buf0buf.h:
        Replace IB__FILE__ with __FILE__
        Add const qualifiers
      innobase/include/buf0buf.ic:
        Replace IB__FILE__ with __FILE__
      innobase/include/mem0mem.h:
        Replace IB__FILE__ with __FILE__
        Add const qualifiers
      innobase/include/mem0mem.ic:
        Add const qualifiers
      innobase/include/mtr0mtr.h:
        Replace IB__FILE__ with __FILE__
        Add const qualifiers
      innobase/include/mtr0mtr.ic:
        Add const qualifiers
      innobase/include/pars0pars.h:
        Add const qualifiers
      innobase/include/sync0arr.h:
        Add const qualifiers
      innobase/include/sync0ipm.ic:
        Replace IB__FILE__ with __FILE__
      innobase/include/sync0rw.h:
        Replace IB__FILE__ with __FILE__
        Add const qualifiers
      innobase/include/sync0rw.ic:
        Add const qualifiers
      innobase/include/sync0sync.h:
        Replace IB__FILE__ with __FILE__
        Add const qualifiers
      innobase/include/sync0sync.ic:
        Add const qualifiers
      innobase/include/univ.i:
        Remove IB__FILE__
      innobase/include/ut0dbg.h:
        Replace IB__FILE__ with __FILE__
      innobase/lock/lock0lock.c:
        Replace IB__FILE__ with __FILE__
      innobase/log/log0recv.c:
        Replace IB__FILE__ with __FILE__
      innobase/mem/mem0mem.c:
        Add const qualifiers
      innobase/pars/pars0pars.c:
        Add const qualifiers
      innobase/sync/sync0arr.c:
        Add const qualifiers
      innobase/sync/sync0rw.c:
        Replace IB__FILE__ with __FILE__
        Add const qualifiers
      innobase/sync/sync0sync.c:
        Add const qualifiers
      innobase/trx/trx0rec.c:
        Replace IB__FILE__ with __FILE__
      334e76ab
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · dbf14cb7
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-all_any2-4.1
      
      
      mysql-test/r/subselect.result:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      dbf14cb7
    • unknown's avatar
      InnoDB: ut0mem: Remove ut_str_catenate(), add const qualifiers · dc10bbda
      unknown authored
      
      innobase/include/ut0mem.h:
        Add const qualifiers and remove unused function ut_str_catenate()
      innobase/include/ut0mem.ic:
        Add const qualifiers
      innobase/ut/ut0mem.c:
        Remove unused function ut_str_catenate()
      dc10bbda