An error occurred fetching the project authors.
  1. 17 Feb, 2009 1 commit
    • vasil's avatar
      branches/zip: · 336264ac
      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 3/28]
      336264ac
  2. 13 Jan, 2009 1 commit
    • marko's avatar
      branches/zip: In hash table lookups, assert that the traversed items · d46597eb
      marko authored
      satisfy some conditions when UNIV_DEBUG is defined.
      
      HASH_SEARCH(): New parameter: ASSERTION. All users will pass an appropriate
      ut_ad() or nothing.
      
      dict_table_add_to_columns(): Assert that the table being added to the data
      dictionary cache is not already being pointed to by the name_hash and
      id_hash tables.
      
      HASH_SEARCH_ALL(): New macro, for use in dict_table_add_to_columns().
      
      dict_mem_table_free(): Set ut_d(table->cached = FALSE), so that we can
      check ut_ad(table->cached) when traversing the hash tables, as in
      HASH_SEARCH(name_hash, dict_sys->table_hash, ...) and
      HASH_SEARCH(id_hash, dict_sys->table_id_hash, ...).
      
      dict_table_get_low(), dict_table_get_on_id_low(): Assert
      ut_ad(!table || table->cached).
      
      fil_space_get_by_id(): Check ut_ad(space->magic_n == FIL_SPACE_MAGIC_N)
      in HASH_SEARCH(hash, fil_system->spaces, ...).
      
      fil_space_get_by_name(): Check ut_ad(space->magic_n == FIL_SPACE_MAGIC_N)
      in HASH_SEARCH(name_hash, fil_system->name_hash, ...).
      
      buf_buddy_block_free(): Check that the blocks are in valid state in
      HASH_SEARCH(hash, buf_pool->zip_hash, ...).
      
      buf_page_hash_get(): Check that the blocks are in valid state in
      HASH_SEARCH(hash, buf_pool->page_hash, ...).
      
      get_share(), free_share(): Check ut_ad(share->use_count > 0) in
      HASH_SEARCH(table_name_hash, innobase_open_tables, ...).
      
      This was posted as rb://75 for tracking down errors similar to Issue #153.
      d46597eb
  3. 27 Nov, 2008 1 commit
    • vasil's avatar
      branches/zip: · 7e69242a
      vasil authored
      Fix Mantis issue#130 wdl: does not handle 64-bit address
      
      - Change the call from strtoul() to strtoull()
      - Change "%16X" to "%16llx" when scanning preferred load address
      
      rb://58
      
      Submitted by:	Calvin
      Approved by:	Marko
      7e69242a
  4. 04 Nov, 2008 1 commit
  5. 31 Oct, 2008 1 commit
    • vasil's avatar
      branches/zip: · 2d445bb4
      vasil authored
      Revert our temporary fix for "Bug#40360 Binlog related errors with binlog off"
      (r2935, r2936) and deploy MySQL's one, but put the function
      mysql_bin_log_is_engaged() inside mysql_addons.cc instead of in mysql's log.cc
      and use a different name for it so there is no collision when MySQL adds this
      function in log.cc.
      
      [note from the future: the windows part of this patch went into r2947]
      
      Approved by:	Marko (https://svn.innodb.com/rb/r/41/)
      2d445bb4
  6. 30 Oct, 2008 2 commits
    • vasil's avatar
      branches/zip: · 0ae10e23
      vasil authored
      Non-functional change: convert handler/handler0vars.h and
      handler/win_delay_loader.cc from \r\n (dos) to \n (unix) line terminators.
      0ae10e23
    • vasil's avatar
      branches/zip: · 26bf890d
      vasil authored
      Followup to r2935: add the Windows Delay Loader stuff for the MySQL
      variable that we are accessing. If someday we have another solution for
      Bug#40360 Binlog related errors with binlog off
      then this should also be reverted.
      26bf890d
  7. 29 Oct, 2008 1 commit
    • calvin's avatar
      branches/zip: fix issue #102 - Windows plugin: resolve dbug functions · ca0f9648
      calvin authored
      during run-time.
      
      Implement wrapper functions in the plugin. The plugin will get the
      function entries from mysqld.exe during the init, and invoke the
      corresponding functions (in mysqld.exe). The list of functions are:
      
      	_db_pargs_
      	_db_doprnt_
      	_db_enter_
      	_db_return_
      	_db_dump_
      
      rb://38
      
      Approved by:	Marko
      ca0f9648
  8. 27 Oct, 2008 1 commit
    • calvin's avatar
      branches/zip: implement the delayloading of externals for the plugin · 0120ce57
      calvin authored
      on Windows, which includes:
      
       * Load mysqld.map and insert all symbol/address pairs into hash for
         quick access
       * Resolves all external data variables. The delayloading mechanism
         in MSVC does not support automatic imports of data variables.
         A workaround is to explicitly handle the data import using the delay
         loader during the initialization of the plugin.
       * Resolves all external functions during run-time, by implementing
         the delayed loading helper function delayLoadHelper2, which is
         called by run-time as well as HrLoadAllImportsForDll. 
      
      The delay loader reuses the hash implementation in InnoDB. The normal
      hash_create (in hash0hash.c) creates hash tables in buffer pool. But
      the delay loader is invoked before the engine is initialized, and 
      buffer pools are not ready yet. Instead, the delay loader has its own
      implementation of hash_create() and hash_table_free(), called
      wdl_hash_create() and wdl_hash_table_free().
      
      This patch should be used with other two patches in order to build
      a dynamically linked plugin on Windows:
       * patch for tmpfile functions (r2886)
       * patch for "build" files (to be committed)
       
      The list of file changed:
      
      handler/handler0vars.h: new file, defines a list of external data
      variables (no external functions).
      
      handler/win_delay_loader.cc: new file, the implementation of the delay
      loader for Windows plugin.
      
      handler/ha_innodb.cc: add a header file, and changes for copying the
      system variables.
      
      handler/handler0alter.cc: add a header file
      
      handler/i_s.cc: add a header file
      
      rb://27
      
      Reviewed by:	Sunny, Marko
      Approved by:	Sunny
      0120ce57