1. 01 Apr, 2004 1 commit
    • unknown's avatar
      fil0fil.c, os0file.c, srv0srv.h, srv0srv.c: · 5146e71d
      unknown authored
        Add an accessor function to set srv_io_thread_op_info, change the type to const char*, also change the type of srv_io_thread_function to const char*
      
      
      innobase/srv/srv0srv.c:
        Add an accessor function to set srv_io_thread_op_info, change the type to const char*, also change the type of srv_io_thread_function to const char*
      innobase/include/srv0srv.h:
        Add an accessor function to set srv_io_thread_op_info, change the type to const char*, also change the type of srv_io_thread_function to const char*
      innobase/os/os0file.c:
        Add an accessor function to set srv_io_thread_op_info, change the type to const char*, also change the type of srv_io_thread_function to const char*
      innobase/fil/fil0fil.c:
        Add an accessor function to set srv_io_thread_op_info, change the type to const char*, also change the type of srv_io_thread_function to const char*
      5146e71d
  2. 31 Mar, 2004 5 commits
    • unknown's avatar
      fil0fil.c: · c980b65d
      unknown authored
        Add assertions to check that we do not go out of bounds of io thread status array
      os0file.c:
        Fix memory corruption (assertion failure on line 244 of sync0sync.c) reported by Miguel in a Windows build of MySQL-4.1.2. The bug is present in all InnoDB versions in Windows, but it depends on how the linker places a static array in srv0srv.c, whether the bug shows itself. 4 bytes were overwritten with a pointer to a statically allocated string: 'get windows aio return value'.
      
      
      innobase/os/os0file.c:
        Fix memory corruption (assertion failure on line 244 of sync0sync.c) reported by Miguel in a Windows build of MySQL-4.1.2. The bug is present in all InnoDB versions in Windows, but it depends on how the linker places a static array in srv0srv.c, whether the bug shows itself. 4 bytes were overwritten with a pointer to a statically allocated string: 'get windows aio return value'.
      innobase/fil/fil0fil.c:
        Add assertions to check that we do not go out of bounds of io thread status array
      c980b65d
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.0 · 4f12f97c
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/Bugs/mysql-4.0
      
      4f12f97c
    • unknown's avatar
      InnoDB: Remove ut_str_contains() and replace it with strchr() · 1ec7ead4
      unknown authored
      
      innobase/dict/dict0dict.c:
        Replace ut_str_contains() with strchr()
      innobase/include/ut0mem.h:
        Remove ut_str_contains(), a reinvented strchr()
      innobase/row/row0mysql.c:
        Replace ut_str_contains() with strchr()
      innobase/ut/ut0mem.c:
        Remove ut_str_contains(), a reinvented strchr()
      1ec7ead4
    • unknown's avatar
      InnoDB: Remove unused hash table code and parameters · f8fb965a
      unknown authored
      
      innobase/ha/ha0ha.c:
        Remove unused first parameter of ha_chain_get_next()
      innobase/include/ha0ha.ic:
        Remove unused first parameter of ha_chain_get_next()
        Remove unused function ha_next()
      f8fb965a
    • unknown's avatar
      InnoDB: Remove unnecessary code, mostly related to stored procedures · dd3bf964
      unknown authored
      
      innobase/data/data0data.c:
        Remove unused global variables
      innobase/dict/dict0dict.c:
        Remove unused code
      innobase/dict/dict0mem.c:
        Remove unnecessary function dict_mem_procedure_create()
      innobase/include/dict0dict.h:
        Remove unused code related to stored procedures
      innobase/include/dict0dict.ic:
        Remove unnecessary function dict_procedure_get()
      innobase/include/dict0mem.h:
        Remove unnecessary code related to stored procedures
      innobase/include/dict0types.h:
        Remove dict_proc_t, as procedures are not stored into database
      innobase/include/pars0pars.h:
        Remove call_node_struct and references to dict_proc_t,
        as procedures are not stored into database or called by name
      innobase/include/pars0sym.h:
        Remove procedure_def, as procedures are not stored into database
      innobase/include/pars0types.h:
        Remove call_node_t, as procedures are not called by name
      dd3bf964
  3. 30 Mar, 2004 3 commits
  4. 29 Mar, 2004 4 commits
  5. 26 Mar, 2004 11 commits
    • unknown's avatar
      some cleanup of last patch for BUG #2342 · 1079578f
      unknown authored
      
      mysql-test/t/bdb-crash.test:
        added newline
      sql/ha_berkeley.cc:
        added a commet
      1079578f
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.0 · 5352db05
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_2342/mysql-4.0
      
      5352db05
    • unknown's avatar
      fixed bug #2342 · 9ac942dc
      unknown authored
      "Running ANALYZE TABLE on bdb table inside a transaction hangs server thread"
      
      1. added new status HA_ADMIN_REJECT and processing of it in mysql_admin_table
      2. got ha_berkley::analyze to return HA_ADMIN_REJECT if there are any 
       transactions with the table.. 
      
      
      mysql-test/r/bdb-crash.result:
        added test for bug #2342 
        "Running ANALYZE TABLE on bdb table inside a transaction hangs server thread"
      mysql-test/t/bdb-crash.test:
        added test for bug #2342 
        "Running ANALYZE TABLE on bdb table inside a transaction hangs server thread"
      sql/ha_berkeley.cc:
        fixed bug #2342 
        "Running ANALYZE TABLE on bdb table inside a transaction hangs server thread"
        
        we have to return new status "HA_ADMIN_REJECT" for ha_berkley::analyze 
        if there are any transaction for this table 
        so as bdb documentation says:
        "The DB->stat method cannot be transaction protected"
      sql/handler.h:
        added new status of table info "HA_ADMIN_REJECT"
        
        We have to return this status for bdb tables which 
        have any active transactions so as bdb-documentation says:
        "The DB->stat method cannot be transaction-protected"
      sql/sql_table.cc:
        added processing of the new status HA_ADMIN_REJECT in mysql_admin_table
        (reason to add this status is explained in comment 
        for commit on sql/handler.h)
      9ac942dc
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 98392565
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      98392565
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · 60630d8d
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      60630d8d
    • unknown's avatar
      mem0dbg.c: · cdc7a28e
      unknown authored
        Backport from 4.1: make mem_current_allocated_memory global variable
      
      
      innobase/mem/mem0dbg.c:
        Backport from 4.1: make mem_current_allocated_memory global variable
      cdc7a28e
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 478bc8ab
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      478bc8ab
    • unknown's avatar
      order_by.result: · 1aa24cf2
      unknown authored
        result of the test case for FORCE INDEX on ORDER BY
      order_by.test:
        test case for FORCE INDEX on ORDER BY
      sql_select.cc:
        Changing behaviour that MySQL server takes FORCE INDEX clause into account when optimising ORDER BY clause
      
      
      sql/sql_select.cc:
        Changing behaviour that MySQL server takes FORCE INDEX clause into account when optimising ORDER BY clause
      mysql-test/t/order_by.test:
        test case for FORCE INDEX on ORDER BY
      mysql-test/r/order_by.result:
        result of the test case for FORCE INDEX on ORDER BY
      1aa24cf2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 433cd158
      unknown authored
      into mysql.com:/home/my/mysql-4.0
      
      433cd158
    • unknown's avatar
      Allow keys with 0 segements in MyISAM · cb09bda4
      unknown authored
      This fixed a bug in SELECT DISTINCT when all selected parts where constants. (Bug #3203)
      
      
      myisam/mi_create.c:
        Allow keys with 0 segements.
      mysql-test/r/myisam.result:
        Test for problem with SELECT DISTINCT
      mysql-test/t/myisam.test:
        Test for problem with SELECT DISTINCT
      cb09bda4
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0 · eb5cff56
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-qc-4.0
      
      eb5cff56
  6. 25 Mar, 2004 7 commits
  7. 24 Mar, 2004 3 commits
  8. 23 Mar, 2004 5 commits
  9. 22 Mar, 2004 1 commit
    • unknown's avatar
      Changes to project files precipitated from 4.1 test builds. · b5f39cec
      unknown authored
      
      BitKeeper/deleted/.del-libmysql.def~f5dffcb3ed925d28:
        Delete: VC++Files/libmysql/libmysql.def
      VC++Files/innobase/innobase.dsp:
        'com' module no longer exists.
      VC++Files/strings/MASM6x/strings.dsp:
        Add strnlen
      VC++Files/strings/strings.dsp:
        Add strnlen
      b5f39cec