1. 24 Nov, 2004 4 commits
    • tomas@poseidon.ndb.mysql.com's avatar
      Merge · b53e0838
      tomas@poseidon.ndb.mysql.com authored
      b53e0838
    • tomas@poseidon.ndb.mysql.com's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 436de3c8
      tomas@poseidon.ndb.mysql.com authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      436de3c8
    • tomas@poseidon.ndb.mysql.com's avatar
      sql/ha_innodb.cc · ae471974
      tomas@poseidon.ndb.mysql.com authored
          enabled query cache for ndb
          modified engine interface somewhat
      sql/ha_innodb.h
          enabled query cache for ndb
          modified engine interface somewhat
      sql/ha_ndbcluster.cc
          enabled query cache for ndb
          modified engine interface somewhat
          ndb will only allow caching and retrieval if running autocommit
            - return false, but do not invalidate
          commit count is used as engine data, i.e.
            - store commit count before store of cache
            - allow retrieval if commit count has not changed on a table
            - invalidate if commit count has changed
      sql/ha_ndbcluster.h
          enabled query cache for ndb
          modified engine interface somewhat
      sql/handler.cc
          enabled query cache for ndb
          modified engine interface somewhat
      sql/handler.h
          enabled query cache for ndb
          modified engine interface somewhat
          new virtual handler method cached_table_registration called on each table before alowing store in query cache
            - return TRUE - ok to cache, FALSE - not allowed to cache, invalidate queries if engine_data below has changed
            - sets ulonglong (engine_data) that is stored in query cache for each table
            - sets callback to be called for each table before usage of cached query, callback = 0 -> no check later
      sql/mysql_priv.h
          enabled query cache for ndb
          modified engine interface somewhat
          callcack prototype for callback to engine before query cache retrieval
      sql/sql_cache.cc
          enabled query cache for ndb
          modified engine interface somewhat
          if callback is set on table in cache, do callback to check if allowed to use cache
          if not allowed to use cache, check if engine_data has changed, if so, invalidate all queries with that table
          + changes to store and pass callback and engine_data around
      sql/sql_cache.h
          enabled query cache for ndb
          modified engine interface somewhat
          changes to store callback and engine_data
      sql/table.h
          enabled query cache for ndb
          modified engine interface somewhat
          changes to store callback and engine_data
      ae471974
    • bar@mysql.com's avatar
      uca-dump.c: · 16113e81
      bar@mysql.com authored
        Use less wide spaces on the primary level,
        to avoid big diff for ctype-uca.c.
      16113e81
  2. 23 Nov, 2004 10 commits
  3. 22 Nov, 2004 26 commits