An error occurred fetching the project authors.
  1. 06 Aug, 2009 1 commit
  2. 07 Jul, 2009 1 commit
    • inaam's avatar
      branches/zip rb://126 · 46211114
      inaam authored
      Based on contribution from Google Inc.
      This patch introduces a new parameter innodb_io_capacity to control the
      rate at which master threads performs various tasks. The default value
      is 200 and higher values imply more aggressive flushing and ibuf merges
      from within the master thread.
      This patch also changes the ibuf merge from synchronous to asynchronous.
      Another minor change is not to force the master thread to wait for a
      log flush to complete every second.
      
      Approved by: Heikki
      46211114
  3. 26 May, 2009 1 commit
  4. 25 May, 2009 3 commits
    • marko's avatar
      branches/zip: Add @file comments, and convert decorative · 11ff89d9
      marko authored
      /*********************************
      comments to Doxygen /** style like this:
      /*****************************//**
      
      This conversion was performed by the following command:
      
      perl -i -e 'while(<ARGV>){if (m|^/\*{30}\**$|) {
      s|\*{4}$|//**| if ++$com>1; $_ .= "\@file $ARGV\n" if $com==2}
      print; if(eof){$.=0;undef $com}}' */*[ch] include/univ.i
      11ff89d9
    • marko's avatar
    • marko's avatar
      branches/zip: Convert the function comments to Doxygen format. · e49dee37
      marko authored
      This patch was created by running the following commands:
      
      for i in */*[ch]; do doxygenify.pl $i; done
      perl -i -pe 's#\*{3} \*/$#****/#' */*[ch]
      
      where doxygenify.pl is
      https://svn.innodb.com/svn/misc/trunk/tools/doxygenify.pl r510
      
      Verified the consistency as follows:
      
      (0) not too many /* in: */ or /* out: */ comments left in the code:
      grep -l '/\*\s*\(in\|out\)[,:/]' */*[ch]
      
      (1) no difference when ignoring blank lines, after stripping all
      C90-style /* comments */, including multi-line ones, before and after
      applying this patch:
      
      perl -i -e 'undef $/;while(<ARGV>){s#/\*(.*?)\*/##gs;print}' */*[ch]
      diff -I'^\s*$' --exclude .svn -ru TREE1 TREE2
      
      (2) after stripping @return comments and !<, generated a diff and omitted
      the hunks where /* out: */ function return comments were removed:
      
      perl -i -e'undef $/;while(<ARGV>){s#!<##g;s#\n\@return\t.*?\*/# \*/#gs;print}'\
       */*[ch]
      svn diff|
      perl -e 'undef $/;$_=<>;s#\n-\s*/\* out[:,]([^\n]*?)(\n-[^\n]*?)*\*/##gs;print'
      
      Some unintended changes were left.  These will be removed in a
      subsequent patch.
      e49dee37
  5. 20 May, 2009 1 commit
  6. 16 Apr, 2009 1 commit
  7. 23 Mar, 2009 1 commit
  8. 20 Mar, 2009 3 commits
  9. 17 Feb, 2009 1 commit
    • vasil's avatar
      branches/zip: · d77e348f
      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 22/28]
      d77e348f
  10. 10 Feb, 2009 1 commit
    • marko's avatar
      branches/zip: Map ut_malloc(), ut_realloc(), ut_free() to · f4cccb1f
      marko authored
      malloc(), realloc(), free() when innodb_use_sys_malloc is set.
      
      ut_free_all_mem(): If innodb_use_sys_malloc is set, do nothing,
      because then ut_mem_block_list_inited will never be set.
      
      log_init(): Use mem_alloc() instead of ut_malloc(), so that the
      memory will be freed.  (Tested with Valgrind, although it is not
      clear why the memory would be freed.)
      
      rb://86 approved by Heikki Tuuri and Ken Jacobs.  This addresses Issue #168.
      f4cccb1f
  11. 28 Jan, 2009 1 commit
  12. 17 Mar, 2008 1 commit
  13. 04 Mar, 2008 1 commit
    • marko's avatar
      branches/zip: Fix most MSVC (Windows) compilation warnings. · 99b93f4d
      marko authored
      lock_get_table(), locks_row_eq_lock(), buf_page_get_mutex(): Add return
      after ut_error.  On Windows, ut_error is not declared as "noreturn".
      
      Add explicit type casts when assigning ulint to byte to get rid of
      "possible loss of precision" warnings.
      
      struct i_s_table_cache_struct: Declare rows_used, rows_allocd as ulint
      instead of ullint.  32 bits should be enough.
      
      fill_innodb_trx_from_cache(), i_s_zip_fill_low(): Cast 64-bit unsigned
      integers to longlong when calling Field::store(longlong, bool is_unsigned).
      Otherwise, the compiler would implicitly convert them to double and
      invoke Field::store(double) instead.
      
      recv_truncate_group(), recv_copy_group(), recv_calc_lsn_on_data_add():
      Cast ib_uint64_t expressions to ulint to get rid of "possible loss of
      precision" warnings.  (There should not be any loss of precision in
      these cases.)
      
      log_close(), log_checkpoint_margin(): Declare some variables as ib_uint64_t
      instead of ulint, so that there won't be any potential loss of precision.
      
      mach_write_ull(): Cast the second argument of mach_write_to_4() to ulint.
      
      OS_FILE_FROM_FD(): Cast the return value of _get_osfhandle() to HANDLE.
      
      row_merge_dict_table_get_index(): Cast the parameter of mem_free() to (void*)
      in order to get rid of the bogus MSVC warning C4090, which has been reported
      as MSVC bug 101661:
      <http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101661>
      
      row_mysql_read_blob_ref(): To get rid of a bogus MSVC warning C4090,
      drop a const qualifier.
      99b93f4d
  14. 06 Feb, 2008 1 commit
    • marko's avatar
      branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global · 2c2b06ad
      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.
      2c2b06ad
  15. 29 May, 2007 1 commit
  16. 06 May, 2007 1 commit
    • marko's avatar
      branches/zip: Minor cleanup. · fdb017ff
      marko authored
      log_write_up_to(): Replace if-else if-else with a switch block.
      
      log_archive_do(): Remove an excess mutex_enter().  Replace if-else if-else
      with a switch block.  (This function is not included unless UNIV_LOG_ARCHIVE
      is defined.)
      fdb017ff
  17. 02 Feb, 2007 1 commit
  18. 18 Jan, 2007 1 commit
  19. 29 Dec, 2006 1 commit
    • marko's avatar
      branches/zip: Minor cleanup. · 7c94b19f
      marko authored
      buf_page_get_gen(): Cache the result of fil_space_get_zip_size().
      
      trx_commit_off_kernel(): Eliminate the flag must_flush_log.  Initialize lsn = 0
      to signify must_flush_log == FALSE.
      
      log_flush_margin(): Eliminate the flag do_flush.  Initialize lsn = 0
      to signify do_flush == FALSE.
      7c94b19f
  20. 30 Nov, 2006 1 commit
  21. 29 Nov, 2006 1 commit
  22. 24 Nov, 2006 1 commit
  23. 30 Oct, 2006 1 commit
    • marko's avatar
      branches/zip: Prepare for buffer pool allocation in several chunks. · 91b16c3c
      marko authored
      buf_pool_t: Remove n_frames, max_size, and blocks_of_frames.
      The current buffer pool size is in curr_size.
      
      buf_pool_init(): Remove parameter max_size.
      
      buf_pool_get_max_size(), buf_pool_is_block(): Remove.
      
      buf_block_align(): Do not assume that the buffer pool is allocated
      in one chunk.  Replace dependency on buf_pool->blocks_of_frames
      with a call to buf_page_hash_get().
      91b16c3c
  24. 19 Sep, 2006 1 commit
  25. 29 Aug, 2006 1 commit
  26. 11 Aug, 2006 1 commit
  27. 15 Jun, 2006 1 commit
    • marko's avatar
      branches/zip: Add parameter zip_size to fil_io(). · be7add3b
      marko authored
      fil_read(), fil_write(): Make these inlined functions in fil0fil.c.
      
      fil_write_lsn_and_arch_no_to_file(): Remove the parameter space_id and
      note that this function is to be called on the system tablespace, which
      is uncompressed.
      be7add3b
  28. 08 May, 2006 1 commit
  29. 23 Feb, 2006 1 commit
  30. 17 Feb, 2006 1 commit
  31. 27 Oct, 2005 1 commit