1. 01 Apr, 2004 1 commit
    • unknown's avatar
      fil0fil.c, os0file.c, srv0srv.h, srv0srv.c: · a9fb96b2
      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*
      a9fb96b2
  2. 31 Mar, 2004 5 commits
    • unknown's avatar
      fil0fil.c: · f4b6dab2
      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
      f4b6dab2
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.0 · bdb370c8
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/Bugs/mysql-4.0
      
      
      bdb370c8
    • unknown's avatar
      InnoDB: Remove ut_str_contains() and replace it with strchr() · 7c9dba22
      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()
      7c9dba22
    • unknown's avatar
      InnoDB: Remove unused hash table code and parameters · 19b727ad
      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()
      19b727ad
    • unknown's avatar
      InnoDB: Remove unnecessary code, mostly related to stored procedures · 4050e916
      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
      4050e916
  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 · 04e879e7
      unknown authored
      
      mysql-test/t/bdb-crash.test:
        added newline
      sql/ha_berkeley.cc:
        added a commet
      04e879e7
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.0 · 2e3950b2
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_2342/mysql-4.0
      
      
      2e3950b2
    • unknown's avatar
      fixed bug #2342 · aab1e50e
      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)
      aab1e50e
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 10d80288
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      10d80288
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · 185c68d9
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      
      185c68d9
    • unknown's avatar
      mem0dbg.c: · 08d31b97
      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
      08d31b97
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 13e6d008
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      13e6d008
    • unknown's avatar
      order_by.result: · 9cc75495
      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
      9cc75495
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 202ea81c
      unknown authored
      into mysql.com:/home/my/mysql-4.0
      
      
      202ea81c
    • unknown's avatar
      Allow keys with 0 segements in MyISAM · cc11f6f3
      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
      cc11f6f3
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0 · 8a6ae839
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-qc-4.0
      
      
      8a6ae839
  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. · a99039f8
      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
      a99039f8