1. 24 Nov, 2004 1 commit
    • unknown's avatar
      sql/ha_innodb.cc · 908f2936
      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
      908f2936
  2. 23 Nov, 2004 2 commits
  3. 22 Nov, 2004 29 commits
    • unknown's avatar
      merged · 977d17e0
      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
      977d17e0
    • unknown's avatar
    • unknown's avatar
      Bug#6252 - Duplicate columns in keys should fail · 5eebb3c3
      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.
      5eebb3c3
    • unknown's avatar
      merged with ul · fabef3b5
      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
      fabef3b5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 422f469b
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      422f469b
    • unknown's avatar
      ft_boolean_search.c: · bf1ac7c7
      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*)
      bf1ac7c7
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · 6d0b5de6
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      6d0b5de6
    • unknown's avatar
      - renamed mysqladmin.c -> mysqladmin.cpp to fix the Windows builds · e73f0974
      unknown authored
      
      BitKeeper/etc/ignore:
        Added ac_available_languages_fragment to the ignore list
      e73f0974
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 20a92106
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      20a92106
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · e1503d69
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      e1503d69
    • unknown's avatar
      c21ee7bb
    • unknown's avatar
      uca-dump.c: · 75554ef2
      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.
      75554ef2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 34a51298
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      34a51298
    • unknown's avatar
      Bug #6748 heap_rfirst() doesn't work (and never did!) · bc6c2264
      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
      bc6c2264
    • unknown's avatar
      added force send interface to scan · 9f90db61
      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
      9f90db61
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 25b1c34a
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
      
      25b1c34a
    • unknown's avatar
      Added NULL value tests for UNIQUE index · 4d903faf
      unknown authored
      4d903faf
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · d9083f5c
      unknown authored
      into hundin.mysql.fi:/home/jan/mysql-4.1
      
      d9083f5c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 97721fbb
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg6462
      
      97721fbb
    • unknown's avatar
      13d0b4fd
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 50392ce9
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
      
      50392ce9
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · ba97d10b
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      ba97d10b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a6b65e94
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg6462
      
      
      sql/set_var.cc:
        Auto merged
      a6b65e94
    • unknown's avatar
      Fix for bug #6462 "Same request on same data returns different · 3e56bde3
      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.
      3e56bde3
    • unknown's avatar
    • unknown's avatar
      uca-dump.c: · 2836860c
      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
      2836860c
    • unknown's avatar
      Fixed BUG #6747: innodb_locks_unsafe_for_binlog still uses next-key locking. · 1ed3477b
      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.
      1ed3477b
    • unknown's avatar
      aligned connect string option on all cluster executables, --ndb-connectstring... · 9357a213
      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
      
      
      9357a213
    • unknown's avatar
      Bug #6737: REGEXP gives wrong result with case sensitive collation: · 8f0ea6f0
      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. 
      
      8f0ea6f0
  4. 21 Nov, 2004 3 commits
    • unknown's avatar
      trx0undo.c, trx0purge.c: · c6766305
      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
      c6766305
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · cc89d439
      unknown authored
      into mysql.com:/orca/space/pekka/ndb/version/my41
      
      cc89d439
    • unknown's avatar
      A fix and test case for Bug#6297 "prepared statement, wrong handling · c474e066
      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.
      c474e066
  5. 19 Nov, 2004 5 commits