1. 17 May, 2004 5 commits
    • unknown's avatar
      Merge · 4d3f8f21
      unknown authored
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        SCCS merged
      4d3f8f21
    • unknown's avatar
      Added test(s) for auto discover of frm file · 2ddc1888
      unknown authored
      2ddc1888
    • unknown's avatar
      Fixes made after running with sql-bench · 26d2c58c
      unknown authored
      
      sql/ha_ndbcluster.cc:
        Added new function set_primary_key_from_old_data, used from update_row to specify the primary key of the record to update.
        Simplified index_read function, to use read_range_first
        Close the active cursor if read_range_first is called on an open cursor.
        In read_range_first, map error code from HA_ERR_KEY_NOT_FOUND to HA_ERR_END_OF_FILE.
        Remove call to function waitUntilReady from check_ndb_connection, this shuold remove the delay from transactions executed when node(s) are down.
      sql/ha_ndbcluster.h:
        Added new function set_primary_key_from_old_data
      26d2c58c
    • unknown's avatar
      flags should be sent as second arg to my_error · 485caee5
      unknown authored
      
      sql/handler.cc:
        Added the flag argument to my_error
      485caee5
    • unknown's avatar
      Updated ndb_basic test · c127a6be
      unknown authored
      
      mysql-test/r/ndb_basic.result:
        Add more tests to ndb_basic
      mysql-test/t/ndb_basic.test:
        Add more tests to ndb_basic
      c127a6be
  2. 16 May, 2004 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 8ef62cc1
      unknown authored
      into mishka.local:/home/my/mysql-4.1
      
      
      sql/sql_acl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      8ef62cc1
    • unknown's avatar
      key_cmp -> key_cmp_if_same · 70f79563
      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
      70f79563
  3. 15 May, 2004 6 commits
    • unknown's avatar
      merged · 36bce251
      unknown authored
      
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      36bce251
    • unknown's avatar
      bad old merge fixed · b40430e0
      unknown authored
      
      mysql-test/r/order_by.result:
        buggy results bug#3681
      mysql-test/t/order_by.test:
        test for bug#3681
      b40430e0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · fdd47177
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      mysql-test/r/func_encrypt.result:
        Auto merged
      fdd47177
    • unknown's avatar
      Better fix for bug #3749 (bug in deleting automatic generated foreign keys) · c9667f11
      unknown authored
      
      mysql-test/r/func_encrypt.result:
        Update tests (left after sanjas last push)
      mysql-test/r/innodb.result:
        Added test for bug #3749 (bug in deleting automatic generated foreign keys)
      mysql-test/t/innodb.test:
        Added test for bug #3749 (bug in deleting automatic generated foreign keys)
      sql/sql_class.cc:
        Updated comment
      tests/client_test.c:
        Added missing mysql_stmt_close()
      c9667f11
    • unknown's avatar
      results fix · a936a280
      unknown authored
      
      mysql-test/r/func_encrypt.result:
        right SELECT print
      mysql-test/r/func_gconcat.result:
        make results stable
      mysql-test/t/func_gconcat.test:
        make results stable
      a936a280
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · c96d8880
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-all_any2-4.1
      
      
      c96d8880
  4. 14 May, 2004 16 commits
    • unknown's avatar
      f16022df
    • unknown's avatar
      CXX linker specified for client_test with libmysqld · dd4be024
      unknown authored
      
      libmysqld/examples/Makefile.am:
        CXXLINK specified for client_test with libmysqld
      dd4be024
    • unknown's avatar
      check of item name presence in find_item_in_list (Bug #3752) · c585b669
      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
      c585b669
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · ebaa2a56
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-all_any2-4.1
      
      
      ebaa2a56
    • unknown's avatar
      SELECT options print fixed · fb8eb5a1
      unknown authored
      fb8eb5a1
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.1 · c016a548
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-4.1
      
      
      c016a548
    • unknown's avatar
      InnoDB cleanup: eliminate IB__FILE__ · a7d22043
      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__
      a7d22043
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 98fbcd9f
      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
      98fbcd9f
    • unknown's avatar
      InnoDB: ut0mem: Remove ut_str_catenate(), add const qualifiers · 725d1b44
      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()
      725d1b44
    • unknown's avatar
      InnoDB: Disable file locking on FreeBSD · 2536d718
      unknown authored
      
      innobase/os/os0file.c:
        Disable os_file_lock() on FreeBSD
      2536d718
    • unknown's avatar
      better fix for bug#3749 - do not consider already removed keys in key removal process · 321d50fd
      unknown authored
      
      mysql-test/r/innodb.result:
        tests for bug#3749
      mysql-test/t/innodb.test:
        tests for bug#3749
      321d50fd
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1d51406e
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
      
      
      1d51406e
    • unknown's avatar
      fixed flags of printed query · c50d5e94
      unknown authored
      c50d5e94
    • unknown's avatar
      375825aa
    • unknown's avatar
      Bug #3403 Wrong encoding in SHOW GRANTS, EPLAIN SELECT output · 3226b9fa
      unknown authored
      This change fixes SHOW GRANTS problem, while EXPLAIN will be fixed
      in a separate patch.
      
      
      3226b9fa
    • unknown's avatar
      sql_table.cc: · 6f0946d6
      unknown authored
        Fix bug #3749: if there were several indexs that made an automatically generated FOREIGN KEY index redundant, then MySQL miscalculated the number of keys, and the AUTO_INCREMENT flag was forgotten by MySQL from a PRIMARY KEY. There were probably a multitude of other errors caused by this.
      
      
      sql/sql_table.cc:
        Fix bug #3749: if there were several indexs that made an automatically generated FOREIGN KEY index redundant, then MySQL miscalculated the number of keys, and the AUTO_INCREMENT flag was forgotten by MySQL from a PRIMARY KEY. There were probably a multitude of other errors caused by this.
      6f0946d6
  5. 13 May, 2004 11 commits