1. 21 May, 2004 2 commits
  2. 20 May, 2004 5 commits
  3. 19 May, 2004 9 commits
    • unknown's avatar
      InnoDB cleanup: Remove unused functions ut_sprintf() and ut_fprintf() · a61ddac6
      unknown authored
      
      innobase/include/ut0ut.h:
        Remove unused functions ut_sprintf() and ut_fprintf()
      innobase/ut/ut0ut.c:
        Remove unused functions ut_sprintf() and ut_fprintf()
      a61ddac6
    • unknown's avatar
      after merge fix · a63184a6
      unknown authored
      
      sql/sql_union.cc:
        describe should go until the end
      a63184a6
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · efcb7706
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-explain-4.1
      
      
      mysql-test/r/func_encrypt.result:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      efcb7706
    • unknown's avatar
      after review changes · 9fb55cef
      unknown authored
      
      mysql-test/r/derived.result:
        explain of hidden subselect changed according to review
      mysql-test/r/subselect.result:
        explain of hidden subselect changed according to review
      mysql-test/r/union.result:
        explain of hidden subselect changed according to review
      sql/sql_class.h:
        we bo not need sign for now
      sql/sql_lex.h:
        we do not need sign for now
      9fb55cef
    • unknown's avatar
      Moved testing of binlog_cache_use/binlog_cache_disk_use statistical variables from · 707bd523
      unknown authored
      rpl_relayrotate.test to innodb.test since this test requires innodb support.
      
      
      mysql-test/t/innodb-master.opt:
        Rename: mysql-test/t/rpl_relayrotate-master.opt -> mysql-test/t/innodb-master.opt
      707bd523
    • unknown's avatar
      Fixed BUG#3709: SELECT INTO 1 FROM DUAL not parsed as expected · de2c3523
      unknown authored
      Made the combination of INTO and FROM DUAL work, e.g.
      SELECT 1 INTO @x FROM DUAL.
      As a consequence, DUAL is made a reserved word. It would work to not have
      it reserved, but it was deemed to be confusing as a user defined table by
      the same name then must be qualified with a db (schema).
      
      
      sql/sql_yacc.yy:
        Made the combination of INTO and FROM DUAL work, e.g.
        SELECT 1 INTO @x FROM DUAL.
        As a consequence, DUAL is made a reserved word. It would work to not have
        it reserved, but it was deemed to be confusing as a user defined table by
        the same name then must be qualified with a db (schema).
      de2c3523
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · c907e6fd
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.ps
      
      
      sql/sql_parse.cc:
        Auto merged
      tests/client_test.c:
        Auto merged
      c907e6fd
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 64c5d311
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      client/mysql.cc:
        Auto merged
      64c5d311
    • unknown's avatar
      Portability fixes · a41883fa
      unknown authored
      Fixed wrong number of warnings/duplicates for machines with high-byte-first
      
      
      client/mysql.cc:
        Remove not used variables
      client/mysqltest.c:
        Remove double ;
      myisam/ft_nlq_search.c:
        Fix valgrind error (not fatal)
      myisam/rt_test.c:
        Portability fix
      mysql-test/r/rpl_trunc_binlog.result:
        Portability fix
      mysql-test/t/rpl_trunc_binlog.test:
        Portability fix
        (Column 23 was different on openbsd)
      sql/sql_insert.cc:
        Fixed wrong number of warnings/duplicates for machines with high-byte-first
      strings/ctype-big5.c:
        Portability fix
      strings/ctype-gbk.c:
        Portability fix
      strings/ctype-mb.c:
        Portability fix
      strings/ctype-uca.c:
        Portability fix
      tests/client_test.c:
        Portability fixes
      a41883fa
  4. 18 May, 2004 7 commits
  5. 17 May, 2004 10 commits
    • unknown's avatar
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 84cf2d8f
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.ps
      
      
      sql/sql_parse.cc:
        Auto merged
      tests/client_test.c:
        Auto merged
      84cf2d8f
    • unknown's avatar
      InnoDB cleanup: Remove unused function ut_printf() · 93168d59
      unknown authored
      
      innobase/ut/ut0ut.c:
        Remove unused function ut_printf()
      93168d59
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.1 · f3c06fc7
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-4.1
      
      
      f3c06fc7
    • unknown's avatar
      InnoDB cleanup: Add const qualifiers to many char* arguments · 6b237533
      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*
      6b237533
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0f8cd01a
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      0f8cd01a
    • unknown's avatar
      typo fixed · 1915bfeb
      unknown authored
      1915bfeb
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 63811cb0
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      63811cb0
    • unknown's avatar
      bug#3681 - order by, distinct, refer to aliased field by name · 484f6cb3
      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
      484f6cb3
    • unknown's avatar
      After merge fixes · 3fba03f3
      unknown authored
      
      mysql-test/r/type_float.result:
        Fix result after merge
      sql/log_event.cc:
        Fixed typo
      3fba03f3
  6. 16 May, 2004 3 commits
    • unknown's avatar
      Merge with 4.0.20 · a495f76c
      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)
      a495f76c
    • 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
  7. 15 May, 2004 4 commits
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · d146ea1a
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      sql/sql_union.cc:
        Auto merged
      d146ea1a
    • unknown's avatar
      Optimising UNION ALL (WL 1687) · 90e87293
      unknown authored
      90e87293
    • unknown's avatar
      Fixes for #3371, #3372, #3374, #3375, #3376 · 05cd698f
      unknown authored
      
      libmysql/libmysql.c:
        code to fix #3772
        counting of field->max_length moved to mysql_store_stmt_result so
        it will work in libmysqld also
      libmysqld/lib_sql.cc:
        to fix #3771 and #3775
        stmt->affected_rows specifying added
        code getting default values changed so it will add terminating /0 to
        values
      sql/sql_parse.cc:
        to fix #3773
        silly mistake here :\
      sql/sql_prepare.cc:
        to fix #3774 and #3776
        special function for datetime values in embedded server added
        unsigned flag now specified for values in embedded server
      tests/client_test.c:
        this test fails if privilege-checking pars are disabled
        (it's the default for libmysqld)
      05cd698f
    • 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