1. 07 Sep, 2004 1 commit
    • unknown's avatar
      Fix for bug#5138: hash indexes on heap tables support statistics. · 99e1b817
      unknown authored
       KEY::rec_per_key is updated every time 1/HEAP_STATS_UPDATE_THRESHOLD part of table records has been changed.
      
      
      heap/_check.c:
        Hash indexes on heap tables now support statistics - number of hash buckets. The value is updated on any insert/delete operation.
      heap/hp_clear.c:
        Hash indexes on heap tables now support statistics - number of hash buckets. The value is updated on any insert/delete operation.
      heap/hp_create.c:
        Hash indexes on heap tables now support statistics - number of hash buckets. The value is updated on any insert/delete operation.
      heap/hp_delete.c:
        Hash indexes on heap tables now support statistics - number of hash buckets. The value is updated on any insert/delete operation.
      heap/hp_hash.c:
        Hash indexes on heap tables now support statistics - number of hash buckets. The value is updated on any insert/delete operation.
      heap/hp_write.c:
        Hash indexes on heap tables now support statistics - number of hash buckets. The value is updated on any insert/delete operation.
      include/heap.h:
        Hash indexes on heap tables now support statistics - number of hash buckets. The value is updated on any insert/delete operation.
      mysql-test/r/heap.result:
        Fix for bug#5138: store/use statistics for hash indexes on heap tables
      mysql-test/r/heap_hash.result:
        Fix for bug#5138: store/use statistics for hash indexes on heap tables
      mysql-test/r/myisam.result:
        Fix for bug#5138: store/use statistics for hash indexes on heap tables
      mysql-test/t/heap_hash.test:
        Fix for bug#5138: store/use statistics for hash indexes on heap tables
      sql/structs.h:
        Added comments
      99e1b817
  2. 03 Sep, 2004 2 commits
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · c1f29705
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/mysql.orig/test/mysql-4.1
      
      
      configure.in:
        Auto merged
      c1f29705
    • unknown's avatar
      1. discarded term.h from the distribution · 37aad6bb
      unknown authored
      2. changed key_* to el_ley_* in the libedit key.h
         (because it's in the conflict with the aix definitions)
      3. use libedit_term.h instead of term.h in the cmd-line-utils/libedit/el.h
      4. added definition of MIN in the cmd-line-utils/libedit/read.c 
         (if it wasn't defined yet)
      5. discarded definition of SUNOS macro from configure.in 
         (now we don't include term.h in the el.h at all)
      
      
      BitKeeper/deleted/.del-term.h~23716a5310508e0:
        Delete: cmd-line-utils/libedit/term.h
      cmd-line-utils/libedit/Makefile.am:
        discarded term.h from the distribution
      cmd-line-utils/libedit/el.c:
        changed 
        key_init -> el_key_init
        key_end -> el_key_end
      cmd-line-utils/libedit/el.h:
        change 
          #include "term.h" 
        to 
          #include "libedit_term.h"
      cmd-line-utils/libedit/key.c:
        changed functions key_... to el_key_... 
        because it's in conflict with the aix definitions
      cmd-line-utils/libedit/key.h:
        changed functions key_... to el_key_... 
        because it's in conflict with the aix definitions
      cmd-line-utils/libedit/map.c:
        changed functions key_... to el_key_... 
        because it's in conflict with the aix definitions
      cmd-line-utils/libedit/read.c:
        1. added definition of MIN
        2. fixed problems with undefined uint
        3. changed key_get to el_key_get
      cmd-line-utils/libedit/term.c:
        1. discarded #include "term.h" at all
        2. changed functions key_* to el_key_*
        3. add declaration of el_key__decode_str
      cmd-line-utils/libedit/tty.c:
        changed functions key_... to el_key_... 
        because it's in conflict with the aix definitions
      configure.in:
        discarded definition of SUNOS macro
        (libedit doesn't require it anymore)
      37aad6bb
  3. 02 Sep, 2004 15 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c91fb136
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/sql_prepare.cc:
        Auto merged
      tests/client_test.c:
        Auto merged
      c91fb136
    • unknown's avatar
      Remove extra '/' after mysql_real_data_home · 1b51f98e
      unknown authored
      Add missing parameter to strxnmov() that caused some INTO OUTFILE commands to core dump
      
      
      mysql-test/mysql-test-run.sh:
        Ensure that clients used the supplied --socket argument
      mysql-test/r/lowercase_table.result:
        Remove tables used in other tests that may affect this one
      mysql-test/r/rename.result:
        Remove tables used in other tests that may affect this one
      mysql-test/t/lowercase_table.test:
        Remove tables used in other tests that may affect this one
      mysql-test/t/rename.test:
        Remove tables used in other tests that may affect this one
      sql/item_cmpfunc.cc:
        Remove not relevant comment
      sql/sql_class.cc:
        Add missing parameter to strxnmov() that caused some INTO OUTFILE commands to core dump
      sql/sql_load.cc:
        Remove extra '/' after mysql_real_data_home
      sql/sql_table.cc:
        Remove extra '/' after mysql_real_data_home
      1b51f98e
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9b5a3584
      unknown authored
      into mysql.com:/Users/mikron/mysql-4.1
      
      
      9b5a3584
    • unknown's avatar
      srv0start.c: · 4ad76aed
      unknown authored
        Change a reference to ibman.php to a reference in the MySQL manual; someone should change the 20 other places in the source code where we still refer to ibman.php
      
      
      innobase/srv/srv0start.c:
        Change a reference to ibman.php to a reference in the MySQL manual; someone should change the 20 other places in the source code where we still refer to ibman.php
      4ad76aed
    • unknown's avatar
      A fix and test case for Bug#4231 "Wrong result with MYSQL_TIME · 0c58737a
      unknown authored
      parameters": when unpacking binary time recieved from client, handle
      the case when length is 0: it means all MYSQL_TIME members are zero.
      
      
      include/my_time.h:
        Declaration for set_zero_time: a tiny piece of code, which I
        see no reason to not reuse.
      libmysql/libmysql.c:
        set_zero_time implementation is now shared between client and
        server.
      sql-common/my_time.c:
        set_zero_time implementation added.
      sql/sql_prepare.cc:
        A fix for Bug#4231 "Wrong result with MYSQL_TIME parameters": 
        when unpacking binary time recieved from client, handle the
        case when length is 0: it means all MYSQL_TIME members are zero.
      tests/client_test.c:
        Test case for bug#4231 "Wrong result with MYSQL_TIME parameters"
      0c58737a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a88ab457
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/sql_select.cc:
        Auto merged
      tests/client_test.c:
        Auto merged
      a88ab457
    • unknown's avatar
      After merge fixes · 762bee96
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Export MASTER_MYSOCK (used in some tests)
      mysql-test/t/alter_table.test:
        Use MASTER_MYSOCK instead of master.sock
      762bee96
    • unknown's avatar
      Fix for overwriting of the stack when table name length was larger · 9e949061
      unknown authored
      than 32 bytes. getWords interpreted length as number of words and
      got number of bytes.
      
      
      9e949061
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · 58b03d45
      unknown authored
      into mysql.com:/Users/mikron/mysql-4.1
      
      
      58b03d45
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1 · 3c3db073
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.4815
      
      
      3c3db073
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.1 · 3fca0d24
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      
      3fca0d24
    • unknown's avatar
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.1 · 4e7a4fc3
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      
      4e7a4fc3
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1 · c4711fb9
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.4815
      
      
      sql/sql_class.cc:
        Auto merged
      c4711fb9
    • unknown's avatar
      Addition to the fix for #4815 · 848414cf
      unknown authored
      
      sql/sql_class.cc:
        Code simplified with strxnmov
      848414cf
  4. 01 Sep, 2004 6 commits
    • unknown's avatar
      fixed typo in group_concat printing (BUG#5161) · 0ceb4ddc
      unknown authored
      
      mysql-test/r/func_gconcat.result:
        fixed typo
      sql/item_sum.cc:
        fixed typo
      0ceb4ddc
    • unknown's avatar
      row0mysql.c: · e0820e75
      unknown authored
        row_drop_table_for_mysql(): Removed duplicated block of code.
      
      
      innobase/row/row0mysql.c:
        row_drop_table_for_mysql(): Removed duplicated block of code.
      e0820e75
    • unknown's avatar
      94ecacdb
    • unknown's avatar
      Move collation aggregation with superset conversion code · 705d5066
      unknown authored
      from Item_bool_func2 into DTCollation to make it reusable
      for other types of items.
      
      
      705d5066
    • unknown's avatar
      Make client_test pass on 64-bit HP-UX11: long is 64 bit, · acd13219
      unknown authored
      replace all (mis)uses of it with int32.
      
      
      acd13219
    • unknown's avatar
      Merge with 4.0 · fe937a2b
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      BitKeeper/deleted/.del-acconfig.h~8d2e3113fc8056da:
        Auto merged
      BitKeeper/deleted/.del-convert.cc~437689acaffb7446:
        Auto merged
      BitKeeper/deleted/.del-flush_block_commit-master.opt~3bcd295d5bf68796:
        Auto merged
      BitKeeper/deleted/.del-message.mc:
        Delete: VC++Files/sql/message.mc
      BitKeeper/deleted/.del-mysql_install.c~8c089740d79a92:
        Auto merged
      BitKeeper/deleted/.del-win1251.conf~b6bb6681f02917b6:
        Auto merged
      Build-tools/Bootstrap:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysqladmin.c:
        Auto merged
      client/mysqlbinlog.cc:
        Auto merged
      client/mysqlcheck.c:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqlimport.c:
        Auto merged
      client/mysqlmanager-pwgen.c:
        Auto merged
      client/mysqlshow.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      extra/my_print_defaults.c:
        Auto merged
      extra/perror.c:
        Auto merged
      extra/resolve_stack_dump.c:
        Auto merged
      extra/resolveip.c:
        Auto merged
      include/m_string.h:
        Auto merged
      include/my_getopt.h:
        Auto merged
      isam/isamchk.c:
        Auto merged
      isam/pack_isam.c:
        Auto merged
      myisam/mi_test1.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisampack.c:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/gen_lex_hash.cc:
        Auto merged
      strings/strto.c:
        Auto merged
      strings/strtol.c:
        Auto merged
      strings/strtoll.c:
        Auto merged
      strings/strtoull.c:
        Auto merged
      support-files/Makefile.am:
        Auto merged
      tools/mysqlmanager.c:
        Auto merged
      fe937a2b
  5. 31 Aug, 2004 16 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 8122a679
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      mysql-test/r/ndb_basic.result:
        Auto merged
      mysql-test/t/ndb_basic.test:
        Auto merged
      8122a679
    • unknown's avatar
      Do-compile: · 38105ee8
      unknown authored
        Remove --warnings for mysql-test-run. Devs don't use it, and Serg says it's not needed anymore.
      
      
      Build-tools/Do-compile:
        Remove --warnings for mysql-test-run. Devs don't use it, and Serg says it's not needed anymore.
      38105ee8
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 7e8ca7fd
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-not-4.1
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      7e8ca7fd
    • unknown's avatar
      after review patch · 1dc52f07
      unknown authored
      
      mysql-test/r/negation_elimination.result:
        new tests of negation elimination
      mysql-test/t/negation_elimination.test:
        new tests of negation elimination
      sql/item.h:
        test of boolean functions added
      sql/item_cmpfunc.cc:
        NOT subtree is already checked, so wee need to return just argument
      sql/item_cmpfunc.h:
        test of boolean functions added
      sql/mysql_priv.h:
        'place' to detect WHERE clause
      sql/sql_parse.cc:
        function for creation negated expression
      sql/sql_select.cc:
        removed unused function
      sql/sql_select.h:
        removed unused function
      sql/sql_yacc.yy:
        'place' to detect WHERE clause
      1dc52f07
    • unknown's avatar
      Added global my_getopt_error_reporter function pointer which is · c9394a0f
      unknown authored
      used in the handle_options() function (instead of using additional 
      handle_option() parameter). The default value of the 
      my_getopt_error_reporter is default_reporter(). One can set it to
      other functions if case of need.
      
      
      client/mysql.cc:
        Removed extra handle_optins()'s parameter.
      client/mysqladmin.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlbinlog.cc:
        Removed extra handle_optins()'s parameter.
      client/mysqlcheck.c:
        Removed extra handle_optins()'s parameter.
      client/mysqldump.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlimport.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlmanager-pwgen.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlmanagerc.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlshow.c:
        Removed extra handle_optins()'s parameter.
      client/mysqltest.c:
        Removed extra handle_optins()'s parameter.
      extra/my_print_defaults.c:
        Removed extra handle_optins()'s parameter.
      extra/mysql_install.c:
        Removed extra handle_optins()'s parameter.
      extra/mysql_waitpid.c:
        Removed extra handle_optins()'s parameter.
      extra/perror.c:
        Removed extra handle_optins()'s parameter.
      extra/resolve_stack_dump.c:
        Removed extra handle_optins()'s parameter.
      extra/resolveip.c:
        Removed extra handle_optins()'s parameter.
      include/my_getopt.h:
        Removed extra handle_optins()'s parameter.
      isam/isamchk.c:
        Removed extra handle_optins()'s parameter.
      isam/pack_isam.c:
        Removed extra handle_optins()'s parameter.
      myisam/mi_test1.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisam_ftdump.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisamchk.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisampack.c:
        Removed extra handle_optins()'s parameter.
      sql/gen_lex_hash.cc:
        Removed extra handle_optins()'s parameter.
      sql/mysqld.cc:
        Removed extra handle_optins()'s parameter.
      tools/mysqlmanager.c:
        Removed extra handle_optins()'s parameter.
      c9394a0f
    • unknown's avatar
      Merge mskold@build.mysql.com:/home/bk/mysql-4.1 · 775c057e
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
      
      
      775c057e
    • unknown's avatar
      Better easier to call error message format. · e9c594e6
      unknown authored
      e9c594e6
    • unknown's avatar
      - bumped up version number in configure.in to "4.1.5-gamma" · d6493dbe
      unknown authored
       - tagged ChangeSet@1.2013 as "mysql-4.1.4"
      
      
      configure.in:
         - bumped up version number in configure.in to "4.1.5-gamma"
      d6493dbe
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · ae3dd78b
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/sql_base.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      ae3dd78b
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · 52df5f5b
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/mysql.orig/test/mysql-4.1
      
      
      cmd-line-utils/libedit/Makefile.am:
        Auto merged
      configure.in:
        Auto merged
      52df5f5b
    • unknown's avatar
      fixed two compiling bugs for libedit · 8bf38858
      unknown authored
      
      acinclude.m4:
        added macro to check if dirent.d_namlen is defined
      cmd-line-utils/libedit/config.h:
        added define for __attribute__
      cmd-line-utils/libedit/readline.c:
        checked STRUCT_DIRENT_HAS_D_NAMLEN instead of
        old enumeration of problem platforms
      configure.in:
        added checking if dirent has d_namlen member field
      8bf38858
    • unknown's avatar
      fixed compiling bug of libedit on qnx · 51fce2d2
      unknown authored
      discarded using of uint in cmd-line-utils/libedit/chared.c
      because it's undefined on qnx
      
      
      cmd-line-utils/libedit/chared.c:
        discarded using of uint because it's undefined on qnx
      51fce2d2
    • unknown's avatar
      fixed compiling bug · 7728843c
      unknown authored
      (non gcc compilers don't understand '-Dx()=' option)
      
      
      cmd-line-utils/libedit/Makefile.am:
        discarded '-Dx()=' options for compatibility with non-gcc compilers
      cmd-line-utils/libedit/config.h:
        added empty definitions of __RCSID(x), __COPYRIGHT(x), 
                                  __RENAME(x), _DIAGASSERT(x)
      cmd-line-utils/libedit/np/unvis.c:
        added #include "config.h" to define __RCSID(x)
      cmd-line-utils/libedit/np/vis.c:
        reinsert #include "config.h" before using of __RCSID(x)
      7728843c
    • unknown's avatar
      Review of new pushed code (Indentation fixes and simple optimizations) · 07f5a44b
      unknown authored
      Use 'mysqltest' as test database instead of test_$1 or test1,test2 to not accidently delete an important database
      Safety fix for mailformed MERGE files
      
      
      Build-tools/mysql-copyright:
        Print correct file name in case of errors
        Fixed indentation
      include/config-win.h:
        Removed unnecessary #ifdef
      myisammrg/myrg_open.c:
        Don't give a core if merge file contains INSERT_METHOD first (not legal but better safe than sorry)
        Don't set struct variables to zero that are already zero
        Indentation fixes
      mysql-test/r/create.result:
        Use 'mysqltest' as test database
      mysql-test/r/ndb_basic.result:
        Use 'mysqltest' as test database
      mysql-test/r/ndb_blob.result:
        Use 'mysqltest' as test database
      mysql-test/r/ndb_transaction.result:
        Use 'mysqltest' as test database
      mysql-test/r/ps_1general.result:
        Use 'mysqltest' as test database
      mysql-test/r/rpl_charset.result:
        Use 'mysqltest' as test database
      mysql-test/r/rpl_delete_all.result:
        Use 'mysqltest' as test database
      mysql-test/r/show_check.result:
        Use 'mysqltest' as test database
      mysql-test/t/create.test:
        Use 'mysqltest' as test database
      mysql-test/t/ndb_basic.test:
        Use 'mysqltest' as test database
      mysql-test/t/ndb_blob.test:
        Use 'mysqltest' as test database
      mysql-test/t/ndb_transaction.test:
        Use 'mysqltest' as test database
      mysql-test/t/ps_1general.test:
        Use 'mysqltest' as test database
      mysql-test/t/rpl_charset.test:
        Use 'mysqltest' as test database
      mysql-test/t/rpl_delete_all.test:
        Use 'mysqltest' as test database
      mysql-test/t/show_check.test:
        Use 'mysqltest' as test database
      sql/field.h:
        Mark functions that should be deleted as soon as we have a new prototype for store(longlong)
      sql/lock.cc:
        Indentation fix
      sql/sql_base.cc:
        Better comment.
        Break find_item_in_list in case of perfect match
      sql/sql_prepare.cc:
        Simple optimization
      sql/sql_select.cc:
        Portability fix
      07f5a44b
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · d2baf0f1
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-bug-psnames
      
      
      sql/sql_class.cc:
        Auto merged
      d2baf0f1
    • unknown's avatar