1. 24 Nov, 2004 1 commit
    • unknown's avatar
      sql/ha_innodb.cc · 35502d45
      unknown 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
      
      
      sql/ha_innodb.cc:
        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
      35502d45
  2. 23 Nov, 2004 2 commits
  3. 22 Nov, 2004 29 commits
    • unknown's avatar
      merged · f57d5412
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Docs/Support/texi2html:
        Auto merged
      client/mysqltest.c:
        Auto merged
      myisam/ft_boolean_search.c:
        Auto merged
      mysql-test/r/fulltext.result:
        Auto merged
      mysql-test/r/rpl000015.result:
        Auto merged
      mysql-test/r/rpl_log_pos.result:
        Auto merged
      mysql-test/r/rpl_rotate_logs.result:
        Auto merged
      mysql-test/t/fulltext.test:
        Auto merged
      mysql-test/t/rpl000001.test:
        Auto merged
      mysql-test/t/rpl000015.test:
        Auto merged
      mysql-test/t/rpl_log_pos.test:
        Auto merged
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      f57d5412
    • unknown's avatar
    • unknown's avatar
      Bug#6252 - Duplicate columns in keys should fail · 1dc1ad9c
      unknown authored
        Added check for duplicate column in key
        Added tests and fixed tests which exploit bug
      
      
      mysql-test/r/delete.result:
        Fix test as it exploited Bug#6252
      mysql-test/r/innodb.result:
        Test for Bug#6126
      mysql-test/r/key.result:
        Test for Bug#6126/6252
      mysql-test/r/type_blob.result:
        Fix test as it exploited Bug#6252
      mysql-test/t/delete.test:
        Fix test as it exploited Bug#6252
      mysql-test/t/innodb.test:
        Test for Bug#6126
      mysql-test/t/key.test:
        Test for Bug#6126/6252
      mysql-test/t/type_blob.test:
        Fix test as it exploited Bug#6252
      sql/sql_table.cc:
        Bug#6252 - Duplicate columns in keys should fail
          Added check for duplicate column.
      1dc1ad9c
    • unknown's avatar
      merged with ul · 0d37be02
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Docs/Support/texi2html:
        Auto merged
      mysql-test/t/rpl000001.test:
        Auto merged
      mysql-test/t/rpl000015.test:
        Auto merged
      mysql-test/t/rpl_log_pos.test:
        Auto merged
      0d37be02
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · e65956d0
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      e65956d0
    • unknown's avatar
      ft_boolean_search.c: · 2934e7eb
      unknown authored
        bug#6705 - (+trunc1* +trunc2*)
      fulltext.test, fulltext.result:
        bug#6705
      
      
      mysql-test/r/fulltext.result:
        bug#6705
      mysql-test/t/fulltext.test:
        bug#6705
      myisam/ft_boolean_search.c:
        bug#6705 - (+trunc1* +trunc2*)
      2934e7eb
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · 12c0a342
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      
      12c0a342
    • unknown's avatar
      - renamed mysqladmin.c -> mysqladmin.cpp to fix the Windows builds · 77305900
      unknown authored
      
      BitKeeper/etc/ignore:
        Added ac_available_languages_fragment to the ignore list
      77305900
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 25678df9
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      25678df9
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · dc62c0cb
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      dc62c0cb
    • unknown's avatar
      a2aa366e
    • unknown's avatar
      uca-dump.c: · 8984d007
      unknown authored
        Better variable names in dump.
        Dump tertiary weight in reverse order, to sort upper letters before their lower counterparts.
      
      
      strings/uca-dump.c:
        Better variable names in dump.
        Dump tertiary weight in reverse order, to sort upper letters before their lower counterparts.
      8984d007
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · c8a30eb0
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      c8a30eb0
    • unknown's avatar
      Bug #6748 heap_rfirst() doesn't work (and never did!) · 01604355
      unknown authored
      range for BETWEEN typo fixed
      
      
      extra/perror.c:
        meaningless error message fixed
      heap/hp_rfirst.c:
        Bug #6748 heap_rfirst() doesn't work (and never did!)
      mysql-test/r/heap.result:
        Bug #6748 heap_rfirst() doesn't work (and never did!)
      mysql-test/r/range.result:
        range for BETWEEN typo fixed
      mysql-test/t/heap.test:
        Bug #6748 heap_rfirst() doesn't work (and never did!)
      sql/handler.cc:
        Bug #6748 heap_rfirst() doesn't work (and never did!)
      sql/sql_select.cc:
        range for BETWEEN typo fixed
      01604355
    • unknown's avatar
      added force send interface to scan · cfca0085
      unknown authored
      prepared for using query cache in ndb
      
      
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        added force send interface to scan
      ndb/include/ndbapi/NdbResultSet.hpp:
        added force send interface to scan
      ndb/include/ndbapi/NdbScanOperation.hpp:
        added force send interface to scan
      ndb/src/ndbapi/NdbResultSet.cpp:
        added force send interface to scan
      ndb/src/ndbapi/NdbScanOperation.cpp:
        added force send interface to scan
      cfca0085
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2b04b042
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
      
      
      2b04b042
    • unknown's avatar
      Added NULL value tests for UNIQUE index · bbbfd3e2
      unknown authored
      bbbfd3e2
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2fef897c
      unknown authored
      into hundin.mysql.fi:/home/jan/mysql-4.1
      
      
      2fef897c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9639bc21
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg6462
      
      
      9639bc21
    • unknown's avatar
      e112166f
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6c81b518
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
      
      
      6c81b518
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6aebd056
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      6aebd056
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f72b5978
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg6462
      
      
      sql/set_var.cc:
        Auto merged
      f72b5978
    • unknown's avatar
      Fix for bug #6462 "Same request on same data returns different · 4389be75
      unknown authored
      results." a.k.a. "Proper cleanup of subqueries is missing for SET and DO
      statements". (Version #2 with after-review fixes).
      
      To perform proper cleanup for statements that can contain subqueries 
      but don't have main select we must call free_undelaid_joins().
      
      
      mysql-test/r/subselect.result:
        Added test for bug #6462 "Same request on same data returns different
        results." a.k.a. "Proper cleanup of subqueries is missing for SET and DO
        statements".
      mysql-test/t/subselect.test:
        Added test for bug #6462 "Same request on same data returns different
        results." a.k.a. "Proper cleanup of subqueries is missing for SET and DO
        statements".
      sql/set_var.cc:
        Added missing cleanup of joins used in subqueries to SET statement.
      sql/sql_do.cc:
        Added missing cleanup of joins used in subqueries to DO statement.
      4389be75
    • unknown's avatar
    • unknown's avatar
      uca-dump.c: · abb53b6f
      unknown authored
        Mofidications to dump secondary and tertiary weigthts
        And some minor improvements
      
      
      strings/uca-dump.c:
        Mofidications to dump secondary and tertiary weigthts
        And some minor improvements
      abb53b6f
    • unknown's avatar
      Fixed BUG #6747: innodb_locks_unsafe_for_binlog still uses next-key locking. · d2d4b488
      unknown authored
      
      innobase/row/row0sel.c:
        Fixed bug: innodb_locks_unsafe_for_binlog still uses next-key locking (BUG #6747).
        We do not take gap type locks when using InnoDB startup option 
        innodb_locks_unsafe_for_binlog. Some code polishing also done.
      d2d4b488
    • unknown's avatar
      aligned connect string option on all cluster executables, --ndb-connectstring... · 3e779698
      unknown authored
      aligned connect string option on all cluster executables, --ndb-connectstring is now supported by all
      enabled new section in my.cnf [mysql_cluster], which is read by all executables, where connect string can be put for all cluster executables
      
      
      
      3e779698
    • unknown's avatar
      Bug #6737: REGEXP gives wrong result with case sensitive collation: · 6d6b38c2
      unknown authored
      - A new flag MY_CS_CSSORT was introduced for case sensitivity.
      - Item_func_regexp doesn't substiture ICASE not only
        for binary collations but for case sensitive collations as well. 
      
      
      6d6b38c2
  4. 21 Nov, 2004 3 commits
    • unknown's avatar
      trx0undo.c, trx0purge.c: · 5a7198f5
      unknown authored
        Print a warning to the .err log if the InnoDB history list length is > 20 000 even though purge reaches the list head; this is to track corruption reported on the MySQL mailing list Nov 9, 2004
      lock0lock.c:
        Let SHOW INNODB STATUS print the history list length
      
      
      innobase/lock/lock0lock.c:
        Let SHOW INNODB STATUS print the history list length
      innobase/trx/trx0purge.c:
        Print a warning to the .err log if the InnoDB history list length is > 20 000 even though purge reaches the list head; this is to track corruption reported on the MySQL mailing list Nov 9, 2004
      innobase/trx/trx0undo.c:
        Print a warning to the .err log if the InnoDB history list length is > 20 000 even though purge reaches the list head; this is to track corruption reported on the MySQL mailing list Nov 9, 2004
      5a7198f5
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2d0011fc
      unknown authored
      into mysql.com:/orca/space/pekka/ndb/version/my41
      
      
      2d0011fc
    • unknown's avatar
      A fix and test case for Bug#6297 "prepared statement, wrong handling · 3507a52e
      unknown authored
       of <parameter> IS NULL":
      we must not only set Item::null_value in Item_param, but implement
      Item_param::is_null() to work well with IS NULL/IS NOT NULL clauses.
      
      
      mysql-test/r/ps.result:
        Test case for Bug#6297: test results fixed.
      mysql-test/t/ps.test:
        A test case for Bug#6297 "prepared statement, wrong handling of 
        <parameter> IS NULL"
      sql/item.h:
        A fix for Bug#6297: we must not only set null_value in Item_param, but
        also implement Item_param::is_null() to work well with  IS NULL/
        IS NOT NULL.
        Item::is_null() commented.
      3507a52e
  5. 19 Nov, 2004 5 commits