1. 22 Oct, 2004 37 commits
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 6aadcffd
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-bug6151
      
      6aadcffd
    • unknown's avatar
      Manual merge of fix for bug #6081 "Call to deprecated mysql_create_db() · fc3f373d
      unknown authored
      function crashes server" with main tree.
      
      fc3f373d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 1a561095
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg6081
      
      
      sql/sql_parse.cc:
        Auto merged
      1a561095
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 36f72749
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/item.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      36f72749
    • unknown's avatar
      After merge fixes · 57373045
      unknown authored
      57373045
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 27697ea9
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-tzfix
      
      27697ea9
    • unknown's avatar
      Manual merge of fix for bug #6081 "Call to deprecated mysql_create_db() function crashes · ba69a3e0
      unknown authored
      server" with main tree.
      
      
      sql/sql_parse.cc:
        Auto merged
      ba69a3e0
    • unknown's avatar
      merge · fea69b56
      unknown authored
      
      client/mysqltest.c:
        Auto merged
      ndb/include/mgmapi/mgmapi.h:
        merge (use new code)
      fea69b56
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9ca42b60
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-tzfix
      
      
      sql/sql_parse.cc:
        Auto merged
      9ca42b60
    • unknown's avatar
      Followup to fix for bug#6050: fix valgrind warnings. · 49cc2b17
      unknown authored
      
      sql/item.cc:
        Fix valgrind errors: we need Item::name to point to PS memory
        as well.
      sql/item.h:
        set_field no longer can be reused as is for PS purposes.
      sql/sql_union.cc:
        Item_field::set_field -> Item_field::reset_field.
      49cc2b17
    • unknown's avatar
      Fixed a bug in vis.c · ba32fe34
      unknown authored
      
      cmd-line-utils/libedit/np/vis.c:
        Fixed a compiler issue for QNX.
      ba32fe34
    • unknown's avatar
      Merge mysql.com:/home/bk/mysql-4.1 · 128a329c
      unknown authored
      into mysql.com:/build/mysqldev/my/mysql-4.1-tomastest
      
      
      ndb/tools/waiter.cpp:
        Auto merged
      128a329c
    • unknown's avatar
      Merge mysql.com:/home/bk/mysql-4.1 · 50d7d962
      unknown authored
      into mysql.com:/users/kboortz/daily/work/mysql-4.1-sjis
      
      50d7d962
    • unknown's avatar
      removing compiler warnings · ce0b8577
      unknown authored
      ce0b8577
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1 · 7abcf928
      unknown authored
      
      sql/sql_parse.cc:
        Auto merged
      7abcf928
    • unknown's avatar
      Fix compiler warnings (detected by Intel's C++ compiler) · 3bfa0e9c
      unknown authored
      Fixed checking of privilege handling in CREATE ... SELECT (Bug #6094)
      
      
      client/mysql.cc:
        Fix compiler warnings
      client/mysqltest.c:
        Fix wrong counting of lines
        Remove compiler warnings
      heap/hp_hash.c:
        Fix compiler warnings
      innobase/dict/dict0load.c:
        Fix compiler warnings
      innobase/include/mem0mem.h:
        Fix compiler warnings
      libmysql/client_settings.h:
        Fix compiler warnings
      myisam/ft_nlq_search.c:
        Add comments about compiler warnings
      myisam/rt_index.c:
        Add comments about compiler warnings
      myisam/rt_mbr.c:
        Add comments about compiler warnings
      mysql-test/r/ps.result:
        Test case for bug#6094
      mysql-test/t/ps.test:
        Test case for bug#6094
      mysys/hash.c:
        Fix compiler warnings
      mysys/my_handler.c:
        Add comments about compiler warnings
      mysys/my_thr_init.c:
        Add comments about compiler warnings
      ndb/include/mgmapi/mgmapi.h:
        Fix compiler warnings
      regex/main.c:
        Fix compiler warnings
      sql/item.h:
        Fix compiler warnings
      sql/item_func.h:
        Add comments about compiler warnings
      sql/spatial.h:
        Add comments about compiler warnings
      sql/sql_lex.h:
        Fix compiler warning
      sql/sql_list.h:
        Fix compiler warning
      sql/sql_parse.cc:
        Move testing of access rights of tables in CREATE ... SELECT to create_table_precheck() to fix privilege checking in CREATE ... SELECT
        (Bug #6094)
      sql/sql_prepare.cc:
        Remove not needed empty line
      sql/sql_string.h:
        Fix compiler warnings
      strings/ctype-mb.c:
        Fix compiler warnings
      3bfa0e9c
    • unknown's avatar
      Part of fix for bug #6081 "Call to deprecated mysql_create_db() function · 51b70a77
      unknown authored
      crashes server"
      
      (in 4.0 we fix only connection stalling in case of error, crash itself is
      fixed in 4.1, the test case for this code is also there).
      
      
      sql/sql_parse.cc:
        Handling of COM_CREATE_DB, COM_DROP_DB:
        We should call send_error() if mysql_create_db or mysql_drop_db
        return error (like we do it for SQL versions of these commands).
      51b70a77
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7d5b7805
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      7d5b7805
    • unknown's avatar
      c0eb5060
    • unknown's avatar
      AIX compile fixes · 19f3686f
      unknown authored
      
      ndb/include/kernel/signaldata/UpgradeStartup.hpp:
        Forward declaration
      ndb/include/ndb_global.h:
        Fix for AIX
      ndb/include/ndb_types.h:
        Always use ndb_global instead of my_global (or anything else)
      ndb/include/ndbapi/Ndb.hpp:
        Forward declaration
      ndb/include/ndbapi/NdbReceiver.hpp:
        Forward declaration
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Forward declaration
      ndb/src/common/util/ConfigValues.cpp:
        Always use ndb_global instead of my_global (or anything else)
      ndb/src/kernel/blocks/backup/restore/Restore.hpp:
        Forward declaration
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Move read/update function into Dbtup
      ndb/src/mgmsrv/SignalQueue.cpp:
        Always use ndb_global instead of my_global (or anything else)
      ndb/tools/waiter.cpp:
        Always use ndb_global instead of my_global (or anything else)
      19f3686f
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · ffead90c
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-bug6151
      
      ffead90c
    • unknown's avatar
      remove compiler warnings · fcdeb529
      unknown authored
      fcdeb529
    • unknown's avatar
      Merge · 573bb22b
      unknown authored
      
      client/mysqltest.c:
        Bug #46Bug#4640 mysql-test-run terminates when the test case includes sjis characters with '5C'
      573bb22b
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1 · 5d8ccc6e
      unknown authored
      
      innobase/os/os0file.c:
        Auto merged
      innobase/row/row0ins.c:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      5d8ccc6e
    • unknown's avatar
      A test case for Bug#6046: no fix is needed (the bug is already · 1ea5ae02
      unknown authored
      fixed in the main tree).
      
      1ea5ae02
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c5f07a0b
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-4.1-6050
      
      
      sql/sql_class.h:
        Auto merged
      c5f07a0b
    • unknown's avatar
      fix c++ style comments in .h and .c files · 4aad0b0f
      unknown authored
      compilation problems on some platforms'
      
      4aad0b0f
    • unknown's avatar
      A fix and test case for Bug#6050 "EXECUTE stmt reports ambiguous field · f306f414
      unknown authored
      names with ident. tables fr. diff. schemata": revise all uses of
      Item_field and make them prepared-statements friendly when necessary.
      
      
      mysql-test/r/ps.result:
        Test results fixed: the test case for Bug#6050
      mysql-test/r/ps_1general.result:
        Test results fixed: in prepared statements we expand '*' to a list
        of fully qualified fields (db.table.column).
      mysql-test/t/ps.test:
        A test for Bug#6050 "EXECUTE stmt reports ambiguous fieldnames with 
        ident. tables fr. diff. schemata"
      sql/item.cc:
        Revise all Item_field constructors: we need to make sure that no Item_field
        object points to unaccessible memory in prepared statements.
      sql/item.h:
        Revise all Item_field constructors: we need to make sure that no Item_field
        object points to unaccessible memory in prepared statements.
      sql/sql_base.cc:
        Item_field use changed to be prepared statements friendly.
      sql/sql_class.h:
        New check of Item_arena state.
      sql/sql_union.cc:
        Fixing the problem with name resolving in UNION and prepared statements:
        In case of SELECT a, b, c FROM t1 UNION SELECT a, b, c FROM t2 the list of
        selected items is represented as a List<Item_field>, where each 
        Item_field points to a field of temporary table.
        But the temporary table is created anew on each execution of the prepared 
        statement. So on each subsequent execution we should reset Item_field
        items to point to fields from freshly-created temporary table.
      sql/table.h:
        Comment TABLE member.
      f306f414
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 31a4a9e3
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      31a4a9e3
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 33eb9ec9
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      33eb9ec9
    • unknown's avatar
      use the right make in make_binary_distribution · 413bc3a2
      unknown authored
      413bc3a2
    • unknown's avatar
      os0file.c: · abffc514
      unknown authored
        Add typecast from ulint to ssize_t in pread and pwrite, so that the type is according to the Linux man page; this will probably not help to fix the HP-UX 32-bit pwrite failure, since the compiler should do the appropriate typecasts anyway
      
      
      innobase/os/os0file.c:
        Add typecast from ulint to ssize_t in pread and pwrite, so that the type is according to the Linux man page; this will probably not help to fix the HP-UX 32-bit pwrite failure, since the compiler should do the appropriate typecasts anyway
      abffc514
    • unknown's avatar
      Merge mysql.com:/home/bk/mysql-4.1 · 549f4f4b
      unknown authored
      into mysql.com:/users/kboortz/daily/work/mysql-4.1-purify2
      
      549f4f4b
    • unknown's avatar
      sql_parse.cc: · acae9c9f
      unknown authored
        Bug#6167 One element missing in 'uc_update_queries[]'
      
      
      sql/sql_parse.cc:
        Bug#6167 One element missing in 'uc_update_queries[]'
      acae9c9f
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · 851e7387
      unknown authored
      into hundin.mysql.fi:/home/jan/talle/mysql-4.1
      
      851e7387
    • unknown's avatar
      Show table status now shows creation time of the table for InnoDB. Note that · fb4ebdaa
      unknown authored
      this timestamp might not be the correct time because e.g. ALTER TABLE
      changes this timestamp.
      
      
      sql/ha_innodb.cc:
        Do not show check_time and update_time because we do not really know them.
        UPDATE, INSERT and CHECK TABLE do not change these timestamps.
      fb4ebdaa
    • unknown's avatar
      mysqltest.c, mysqltest.result, mysqltest.test: · f6ec064f
      unknown authored
        Added SQLSTATE matching support to test engine
      mysqltest.result, mysqltest.test:
        new file
      
      
      mysql-test/t/mysqltest.test:
        Added SQLSTATE matching support to test engine
      mysql-test/r/mysqltest.result:
        Added SQLSTATE matching support to test engine
      client/mysqltest.c:
        Added SQLSTATE matching support to test engine
      f6ec064f
  2. 21 Oct, 2004 3 commits
    • unknown's avatar
      row0mysql.c, row0ins.c: · a05d9b79
      unknown authored
        Fix bug #5961: release the dictionary latch during a long cascaded FOREIGN KEY operation, so that we do not starve other users
      
      
      innobase/row/row0ins.c:
        Fix bug #5961: release the dictionary latch during a long cascaded FOREIGN KEY operation, so that we do not starve other users
      innobase/row/row0mysql.c:
        Fix bug #5961: release the dictionary latch during a long cascaded FOREIGN KEY operation, so that we do not starve other users
      a05d9b79
    • unknown's avatar
      Compile fix · 20cd4852
      unknown authored
      20cd4852
    • unknown's avatar
      BUG#6151 - myisam index corruption. · ecbfad58
      unknown authored
      Removed the assumption of a certain key order.
      Since 4.1, keys are padded with blanks for comparison.
      Hence, shorter keys sort behind longer keys, if the
      data bytes have values below BLANK.
      
      
      mysql-test/r/key.result:
        BUG#6151 - myisam index corruption.
        The test results.
      mysql-test/t/key.test:
        BUG#6151 - myisam index corruption.
        Added the test case as derived from the original data.
      ecbfad58