An error occurred fetching the project authors.
  1. 24 Feb, 2009 1 commit
  2. 17 Feb, 2009 1 commit
    • vasil's avatar
      branches/zip: · 9f50fada
      vasil authored
      * Remove old Innobase copyright lines from C source files
      * Add a reference to the GPLv2 license as recommended by the lawyers
      at Oracle Legal
      
      [Step 23/28]
      9f50fada
  3. 10 Feb, 2009 1 commit
    • marko's avatar
      branches/zip: When innodb_use_sys_malloc is set, ignore · af9e59a9
      marko authored
      innodb_additional_mem_pool_size, because nothing will
      be allocated from mem_comm_pool.
      
      mem_pool_create(): Remove the assertion about size.  The function will
      work with any size.  However, an assertion would fail in ut_malloc_low()
      when size==0.
      
      mem_init(): When srv_use_sys_malloc is set, pass size=1 to mem_pool_create().
      
      mem0mem.c: Add #include "srv0srv.h" that is needed by mem0dbg.c.
      af9e59a9
  4. 23 Jan, 2009 1 commit
  5. 04 Aug, 2008 1 commit
  6. 06 Feb, 2008 1 commit
    • marko's avatar
      branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global · 1d1dc31a
      marko authored
      symbols.  Use it for all definitions of non-static variables and functions.
      
      lexyy.c, make_flex.sh: Declare yylex as UNIV_INTERN, not static.  It is
      referenced from pars0grm.c.
      
      Actually, according to
      	nm .libs/ha_innodb.so|grep -w '[ABCE-TVXYZ]'
      the following symbols are still global:
      
      * The vtable for class ha_innodb
      * pars0grm.c: The function yyparse() and the variables yychar, yylval, yynerrs
      
      The required changes to the Bison-generated file pars0grm.c will be addressed
      in a separate commit, which will add a script similar to make_flex.sh.
      
      The class ha_innodb is renamed from class ha_innobase by a #define.  Thus,
      there will be no clash with the builtin InnoDB.  However, there will be some
      overhead for invoking virtual methods of class ha_innodb.  Ideas for making
      the vtable hidden are welcome.  -fvisibility=hidden is not available in GCC 3.
      1d1dc31a
  7. 21 Sep, 2007 1 commit
    • marko's avatar
      branches/zip: When creating a memory heap, set the block size to what · 53b14f2f
      marko authored
      was actually obtained from the buddy allocator.  This should avoid some
      internal memory fragmentation in mem_heap_create() and mem_heap_alloc().
      
      mem_area_alloc(): Change the in parameter size to an in/out parameter.
      Adjust the size based on what was obtained from pool->free_list[].
      
      mem_heap_create_block(): Adjust block->len to what was obtained from
      mem_area_alloc().
      53b14f2f
  8. 06 Sep, 2007 1 commit
    • marko's avatar
      branches/zip: Improve Valgrind instrumentation. · ddc116e1
      marko authored
      UNIV_MEM_ASSERT_RW(): New macro, to check that the contents of a memory
      area is defined.
      
      UNIV_MEM_ASSERT_W(): New macro, to check that a memory area is writable.
      
      UNIV_MEM_ASSERT_AND_FREE(): New macro, to check that the memory is
      writable before declaring it free (unwritable).  This replaces UNIV_MEM_FREE()
      in many places.
      
      mem_init_buf(): Declare the memory undefined.
      
      mem_erase_buf(): Declare the memory freed.
      ddc116e1
  9. 20 Jun, 2007 1 commit
    • marko's avatar
      branches/zip: Enable calls to inlined InnoDB functions in ha_innodb.cc, · 8b40a79c
      marko authored
      now that all of InnoDB code is built from a single Makefile and it should
      not be possible to build the modules with mutually incompatible options.
      
      #define INSIDE_HA_INNOBASE_CC: Remove.
      
      srv_sizeof_trx_t_in_ha_innodb_cc: Remove.
      
      dict_table_get_low_noninlined(): Remove.  This function was unused.
      
      Remove all _noninline functions.  Remove the _noninline suffix from
      all function calls in ha_innodb.cc.
      8b40a79c
  10. 12 Apr, 2007 1 commit
    • marko's avatar
      branches/zip: More cleanup of fast index creation. · 5378db6e
      marko authored
      innobase_create_temporary_tablename(): Add static qualifier.  Allocate
      the memory from heap.  Return a fixed identifier.
      
      ha_innobase::add_index(): Allocate all memory from a single heap.
      Simplify error handling.  Use a fixed prefix for temporary table names,
      because only one add_index() can be active for a given table.
      
      mem_heap_empty_noninline(): New function, to be called from ha_innodb.cc.
      
      row_build_index_for_mysql(): Remove the parameter new_primary.
      5378db6e
  11. 04 Apr, 2007 1 commit
  12. 28 Mar, 2007 1 commit
    • marko's avatar
      branches/zip: Add Valgrind instrumentation to the InnoDB memory management · 8256b83f
      marko authored
      functions.
      
      ut_malloc_low(): Flag the block with UNIV_MEM_ALLOC().  Do not flag the
      block with UNIV_MEM_FREE() in ut_free(), because it would cause bogus
      Valgrind warnings in the underlying memory allocator.
      
      mem_pool_create(): Flag the data area with UNIV_MEM_FREE().
      
      mem_pool_fill_free_list(): Flag the area header with UNIV_MEM_ALLOC().
      
      mem_area_alloc(): Flag the data area with UNIV_MEM_ALLOC().
      
      mem_area_free(): Flag the data area with UNIV_MEM_FREE().
      
      mem_heap_alloc(): Flag the buffer with UNIV_MEM_ALLOC().
      
      mem_heap_block_free(): Flag the block with UNIV_MEM_FREE().
      
      mem_heap_free_top(): Flag the block with UNIV_MEM_FREE().
      8256b83f
  13. 05 Jan, 2007 1 commit
  14. 24 Oct, 2006 1 commit
  15. 20 Oct, 2006 1 commit
  16. 13 Oct, 2006 1 commit
  17. 12 Oct, 2006 2 commits
  18. 29 Aug, 2006 1 commit
  19. 11 Aug, 2006 1 commit
  20. 11 May, 2006 1 commit
  21. 08 May, 2006 1 commit
  22. 12 Apr, 2006 1 commit
  23. 23 Feb, 2006 1 commit
  24. 29 Nov, 2005 1 commit
  25. 27 Oct, 2005 1 commit