An error occurred fetching the project authors.
  1. 14 Jul, 2009 1 commit
  2. 30 Apr, 2008 1 commit
    • vasil's avatar
      branches/zip: Merge 2423:2437 from branches/5.1: · 9dd184ef
      vasil authored
        ------------------------------------------------------------------------
        r2429 | vasil | 2008-04-30 11:19:06 +0300 (Wed, 30 Apr 2008) | 10 lines
        
        branches/5.1:
        
        * Use INNODB_CFLAGS insead of cluttering CFLAGS with InnoDB specific
          flags. CFLAGS are used to compile every file in the MySQL source tree.
        
        * Add INNODB_DYNAMIC_CFLAGS to the flags of the dynamic plugin and use
          -prefer-non-pic to make the dynamic plugin faster on i386.
        
        Approved by:	Sunny
        
        ------------------------------------------------------------------------
        r2430 | vasil | 2008-04-30 11:48:35 +0300 (Wed, 30 Apr 2008) | 8 lines
        
        branches/5.1:
        
        Use CFLAGS instead of INNODB_CFLAGS to avoid having incompatible flags
        inserted in CFLAGS and INNODB_CFLAGS and to avoid compiling mysql and
        innodb with different flags.
        
        Discussed with:	Sunny
        
        ------------------------------------------------------------------------
        r2431 | vasil | 2008-04-30 11:54:49 +0300 (Wed, 30 Apr 2008) | 4 lines
        
        branches/5.1:
        
        Fix r2430, it should be CFLAGS="$CFLAGS ..." not CFLAGS="..."
        
        ------------------------------------------------------------------------
        r2432 | vasil | 2008-04-30 11:58:38 +0300 (Wed, 30 Apr 2008) | 4 lines
        
        branches/5.1:
        
        Non-functional change: use tabs for indentation in plug.in.
        
        ------------------------------------------------------------------------
        r2433 | vasil | 2008-04-30 12:02:35 +0300 (Wed, 30 Apr 2008) | 5 lines
        
        branches/5.1:
        
        Add vim modeline to hint it that plug.in is a config file
        so it can be colorized.
        
        ------------------------------------------------------------------------
        r2434 | vasil | 2008-04-30 18:45:44 +0300 (Wed, 30 Apr 2008) | 17 lines
        
        branches/5.1:
        
        Merge changes from MySQL:
        
          ChangeSet@1.2645, 2007-12-19 13:24:43+00:00, jperkin@chorlton.adsl.perkin.org.uk +14 -0
            Add new pkgplugindir handling to seperate plugins from libraries,
            and allow override for binary distributions.  Extend mysql_config
            to print compiled-in plugin location for third-party plugins to
            use.  Resolves bug#31736.
        
        and
        
          ChangeSet@1.2646, 2008-01-02 13:00:46+00:00, jperkin@chorlton.adsl.perkin.org.uk +11 -0
            Use pkglibdir to simplify pkgplugindir, and fix the path in a
            couple of Makefiles.  Continuation of the fix for bug#31736.
        
        
        ------------------------------------------------------------------------
        r2435 | vasil | 2008-04-30 19:04:36 +0300 (Wed, 30 Apr 2008) | 10 lines
        
        branches/5.1:
        
        Merge change from MySQL:
        
          ChangeSet@1.2563, 2008-03-18 19:42:04+04:00, gluh@mysql.com +1 -0
            Bug#35406 5.1-opt crashes on select from I_S.REFERENTIAL_CONSTRAINTS
            added intialization of f_key_info.referenced_key_name for the case when
            referenced table is dropped
        
        
        ------------------------------------------------------------------------
        r2436 | vasil | 2008-04-30 19:15:46 +0300 (Wed, 30 Apr 2008) | 7 lines
        
        branches/5.1:
        
        Non-functional white space change in Makefile.am:
        Use tabs for indentation and be consistent about spaces around the
        equal sign.
        
        
        ------------------------------------------------------------------------
        r2437 | vasil | 2008-04-30 20:36:11 +0300 (Wed, 30 Apr 2008) | 8 lines
        
        branches/5.1:
        
        Fix Bug#36434 ha_innodb.so is installed in the wrong directory
        
        Change pkglib_LTLIBRARIES with pkgplugin_LTLIBRARIES which has been
        forgotten in this commit: http://lists.mysql.com/commits/40206
        
        
        ------------------------------------------------------------------------
      9dd184ef
  3. 12 Feb, 2008 1 commit
    • marko's avatar
      branches/zip: Pass -prefer-non-pic only on IA-32 (x86) when building · 06afa81e
      marko authored
      the dynamic InnoDB plugin, ha_innodb.so.  This libtool option cannot
      be used on every target platform.  For instance, the AMD64 (x86_64) ABI
      mandates position-independent code (PIC) in dynamic shared objects.
      
      Makefile.am: Use $(INNODB_CFLAGS) and $(INNODB_DYNAMIC_CFLAGS) in
      target-specific CFLAGS and CXXFLAGS variable definitions.
      
      plug.in: Instead of appending to the MySQL-wide CFLAGS, introduce
      the variables INNODB_CFLAGS and INNODB_DYNAMIC_CFLAGS.  Depending on
      $target_cpu, append -prefer-non-pic to INNODB_DYNAMIC_CFLAGS.
      06afa81e
  4. 11 Feb, 2008 1 commit
    • marko's avatar
      branches/zip: Makefile.am: Disable the generation of · 2f11741b
      marko authored
      position-independent code in the compilation of ha_innodb.so.
      
      ha_innodb_la_CXXFLAGS, ha_innodb_la_CFLAGS: Add -prefer-non-pic.
      This flag is interpreted by the ../../libtool script that acts
      as a front-end to the compiler and linker.
      2f11741b
  5. 07 Nov, 2007 1 commit
    • vasil's avatar
      branches/zip: · faf929eb
      vasil authored
      Add mysql_addons.(cc|h) to Makefile.am, forgotten in r2072.
      
      Pointyhat to:	Vasil
      faf929eb
  6. 01 Nov, 2007 1 commit
    • marko's avatar
      branches/zip: Allow the symbols in the dynamic InnoDB plugin to be · 17fc32fb
      marko authored
      redefined so that the dynamic plugin can replace the builtin InnoDB
      in MySQL 5.1.
      
      ha_innodb.cc, handler0alter.cc: #include "univ.i" before any other InnoDB
      header files or before defining any symbols
      
      innodb_redefine.h: New file, to contain a mapping of symbols.  The idea
      is that this file will be replaced in the build process; because this
      is a large file that can be generated automatically, it does not make sense
      to keep it under version control.
      
      univ.i: #include "innodb_redefine.h" and #define ha_innobase ha_innodb
      
      Makefile.am (ha_innodb_la_CXXFLAGS): Remove -Dha_innobase=ha_innodb
      
      NOTE: there are still some issues in the source code.  One known issue is
      the #undef mutex_free in sync0sync.h, which will cause the plugin to call the
      function mutex_free in the builtin InnoDB.  The preprocessor symbols defined
      in innodb_redefine.h must not be undefined or redefined anywhere in the code.
      17fc32fb
  7. 15 Oct, 2007 1 commit
    • marko's avatar
      branches/zip: Allow a dynamically loaded InnoDB storage engine plugin · 7c68ba2e
      marko authored
      to replace a built-in instance of InnoDB in mysqld.  This is work in
      progress, with several limitations:
      
      * Other plugins defined in the builtin InnoDB are not disabled.
        However, InnoDB in MySQL 5.1 only defines the storage engine plugin,
        no INFORMATION_SCHEMA plugins.
      
      * The global C symbols in ha_innodb.so except innodb_hton_ptr and
        builtin_innobase_plugin will have to be redefined, e.g., by objcopy.
      
      * The storage engine cannot be called "InnoDB" to avoid a conflict with
        the builtin name.  Here we call it InnoDBzip.
      
      innobase_hton_name[]: Rename to "InnoDBzip" when building a dynamic plugin.
      
      innodb_plugin_init(): New function for the dynamic plugin, to copy
      and redirect configuration parameters from the builtin InnoDB.
      
      innodb_dynamic: New configuration parameter.  This has to be added
      to the builtin InnoDB in MySQL 5.1.  Also, innodb_hton_ptr must be made
      global there.
      
      innobase_init(): Interpret the parameter innodb_dynamic.
      
      Makefile.am: Redefine class ha_innobase to ha_innodb by a preprocessor
      define.  Apparently, C++ classes cannot be easily renamed by objcopy.
      7c68ba2e
  8. 24 Sep, 2007 1 commit
    • vasil's avatar
      branches/zip: · 48ed48eb
      vasil authored
      Add a type that stores chunks of data in its own storage and avoids
      duplicates. Supported methods:
      
      ha_storage_create()
      Allocates new storage object.
      
      ha_storage_put()
      Copies a given data chunk into the storage and returns pointer to the
      copy. If the data chunk is already present, a pointer to the existing
      object is returned and the given data chunk is not copied.
      
      ha_storage_empty()
      Clears (empties) the storage from all data chunks that are stored in it.
      
      ha_storage_free()
      Destroys a storage object. Opposite to ha_storage_create().
      
      Approved by:	Marko
      48ed48eb
  9. 20 Sep, 2007 1 commit
  10. 13 Sep, 2007 1 commit
  11. 01 Aug, 2007 1 commit
  12. 14 May, 2007 1 commit
  13. 02 Apr, 2007 1 commit
  14. 18 Jan, 2007 1 commit
  15. 07 Dec, 2006 1 commit
    • marko's avatar
      branches/zip: Add the first bits of the binary buddy system for allocating · e8babaee
      marko authored
      compressed pages from the buffer pool.
      
      Makefile.am: Add buf0buddy.h, buf0buddy.ic.
      
      buf/Makefile.am: Add buf0buddy.c.
      
      Introduce the constants BUF_BUDDY_LOW and BUF_BUDDY_SIZES.
      
      buf_pool_t: Add zip_mutex and the lists zip_clean and zip_free[].
      
      buf_page_get_mutex(): Return &buf_pool->zip_mutex instead of NULL.
      
      buf_buddy_get_offset(), buf_buddy_get(), buf_buddy_get_slot(),
      buf_buddy_alloc_free(), buf_buddy_alloc_free_low(): New functions.
      e8babaee
  16. 25 Oct, 2006 1 commit
  17. 26 Sep, 2006 1 commit
  18. 12 Sep, 2006 1 commit
  19. 04 Sep, 2006 1 commit
  20. 11 Aug, 2006 1 commit
  21. 13 Jun, 2006 1 commit
  22. 11 May, 2006 1 commit
  23. 08 May, 2006 2 commits
  24. 12 Apr, 2006 1 commit
  25. 17 Feb, 2006 1 commit
  26. 29 Nov, 2005 1 commit
  27. 27 Oct, 2005 1 commit