1. 28 Aug, 2007 1 commit
    • unknown's avatar
      Fixes for · 8c1e2069
      unknown authored
           Bug#30418 "datadict" tests (all engines) fail: Dependency on the host name
                      for ordering
           Bug#30420 "datadict" tests (all engines) fail: Release build has help tables loaded
           Bug#30438 "{memory,myisam,ndb}__datadict" tests fail: Use "InnoDB" without checking
           Bug#30440 "datadict" tests (all engines) fail: Character sets depend on configuration
      Attention: Only the build team can check if Bug#30440 is really fixed.
      
      
      mysql-test/suite/funcs_1/README.txt:
        Update README
      mysql-test/suite/funcs_1/datadict/datadict_master.inc:
        1. Exclude the help tables from the INFORMATION_SCHEMA.TABLES
           and the INFORMATION_SCHEMA.STATISTICS selects.
        2. Replace error numbers with error names
        3. Sort some results with mysqltest builtin function
        4. Some other minor changes
      mysql-test/suite/funcs_1/r/innodb__datadict.result:
        Updated expected results
      mysql-test/suite/funcs_1/r/memory__datadict.result:
        Updated expected results
      mysql-test/suite/funcs_1/r/myisam__datadict.result:
        Updated expected results
      mysql-test/suite/funcs_1/t/innodb__datadict.test:
        Add $OTHER_ENGINE_TYPE variable which is used in data_dict_master.inc.
      mysql-test/suite/funcs_1/t/memory__datadict.test:
        Add $OTHER_ENGINE_TYPE variable which is used in data_dict_master.inc.
      mysql-test/suite/funcs_1/t/myisam__datadict.test:
        Add $OTHER_ENGINE_TYPE variable which is used in data_dict_master.inc.
      mysql-test/suite/funcs_1/r/datadict_help_tables_build.result:
        File with expected results
      mysql-test/suite/funcs_1/r/datadict_help_tables_dev.result:
        File with expected results
      mysql-test/suite/funcs_1/t/datadict_help_tables_build.test:
        Additional test checking the information about the help tables within
               INFORMATION_SCHEMA.TABLES/INFORMATION_SCHEMA.STATISTICS
        as compensation for the removed checks within datadict_master.inc.
        Variant for use during build tests (non empty help tables)
      mysql-test/suite/funcs_1/t/datadict_help_tables_dev.test:
        Additional test checking the information about the help tables within
               INFORMATION_SCHEMA.TABLES/INFORMATION_SCHEMA.STATISTICS
        as compensation for the removed checks within datadict_master.inc.
        Variant for use during development tests (empty help tables)
      8c1e2069
  2. 27 Aug, 2007 2 commits
  3. 25 Aug, 2007 1 commit
  4. 24 Aug, 2007 9 commits
  5. 23 Aug, 2007 4 commits
  6. 22 Aug, 2007 4 commits
    • unknown's avatar
      Cleanup in the "netware" subdirectory: · 870958d2
      unknown authored
      1) We do not provide the "isam" table handler in 5.0 and up (different from "myisam" !),
         so we do not need the ".def" files for the "isam"-specific tools.
      
      2) Use "basename" to get the base name of a file, not a harder-to-read sed expression.
      
      
      BitKeeper/deleted/.del-isamchk.def:
        Delete: netware/isamchk.def
      BitKeeper/deleted/.del-isamlog.def:
        Delete: netware/isamlog.def
      BitKeeper/deleted/.del-pack_isam.def:
        Delete: netware/pack_isam.def
      netware/Makefile.am:
        Use a plain "basename" showing the purpose, not a sed command which is harder to read.
      870958d2
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt-30201 · 10329092
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      
      10329092
    • unknown's avatar
      Merge hynda.mysql.fi:/home/my/mysql-5.0-main · 3dbffd24
      unknown authored
      into  hynda.mysql.fi:/home/my/mysql-5.0-marvel
      
      
      3dbffd24
    • unknown's avatar
      Fixed bug #30201. · 891b1659
      unknown authored
      Killing a SELECT query with KILL QUERY or KILL CONNECTION
      causes a server crash if the query cache is enabled.
      
      Normal evaluation of a query may be interrupted by the
      KILL QUERY/CONNECTION statement, in this case the mysql_execute_command
      function returns TRUE, and the thd->killed flag has true value.
      In this case the result of the query may
      be cached incompletely (omitting call to query_cache_insert inside
      the net_real_write function), and next call to query_cache_end_of_result
      may lead to server crash.
      Thus, the query_cache_end_of_result function has been modified to abort
      query cache in the case of killed thread.
      
      
      
      sql/sql_cache.cc:
        Fixed bug #30201.
        The  query_cache_end_of_result function has been modified to abort query
        cache in the case of query execution failure. Also this function has been
        modified to remove incomplete query block.
      891b1659
  7. 21 Aug, 2007 10 commits
  8. 20 Aug, 2007 4 commits
    • unknown's avatar
      Fixed bug #30287. · 7c3d5bc5
      unknown authored
      The server created temporary tables for filesort in the working directory
      instead of the specified tmpdir directory.
      
      
      sql/item.cc:
        Fixed bug #30287.
        The Item_field::set_field method has been modified to reset the any_privileges
        flag to false in case of system temporary table. This modification prevents the
        server from unnecessary checking of user privileges to access system temporary
        tables.
      sql/sql_select.cc:
        Fixed bug #30287.
        Bugfix for #29015 has been removed: TABLE_SHARE::table_name of system
        temporary tables contains full path to table file basename again.
      sql/sql_view.cc:
        Fixed bug #30287.
        Commentary has been added.
      7c3d5bc5
    • unknown's avatar
      Merge weblab.(none):/home/marcsql/TREE/mysql-5.0-base · 3c52b2b3
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.0-rt-merge
      
      
      sql/sql_base.cc:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      3c52b2b3
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · d48e35b9
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0-opt
      
      
      d48e35b9
    • unknown's avatar
      Bug#27629 Possible security flaw in INFORMATION_SCHEMA and SHOW statements · 29ee5ed0
      unknown authored
      added SUPER_ACL check for I_S.TRIGGERS
      
      
      mysql-test/r/information_schema.result:
        result fix
      mysql-test/r/information_schema_db.result:
        result fix
      mysql-test/t/information_schema.test:
        test case
      sql/sql_show.cc:
        added SUPER_ACL check for I_S.TRIGGERS
      29ee5ed0
  9. 18 Aug, 2007 1 commit
  10. 17 Aug, 2007 3 commits
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug30269/my50-bug30269 · 3ff26995
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.0-runtime
      
      
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      3ff26995
    • unknown's avatar
      Bug #30269 Query cache eats memory · bd80048f
      unknown authored
      Although the query cache doesn't support retrieval of statements containing
      column level access control, it was still possible to cache such statements
      thus wasting memory.
      
      This patch extends the access control check on the target tables to avoid
      caching a statement with column level restrictions. 
      
      
      mysql-test/r/query_cache.result:
        Added test
      mysql-test/t/query_cache.test:
        Added test
      sql/sql_cache.cc:
        The function check_table_access leaves the artifact
        grant.want_privileges= 1, if a statement refers to tables with column level
        privileges. To avoid the statement from being stored into the query cache,
        it is enough to check this flag and set 'safe_to_cache_query' to zero.
      sql/sql_cache.h:
        - Removed 'static' attribute or class methods
        - Added THD parameter to process_and_count_tables
      bd80048f
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.0-opt · 92abaeee
      unknown authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug30396
      
      
      92abaeee
  11. 16 Aug, 2007 1 commit
    • unknown's avatar
      Bug#29936 (Stored Procedure DML ignores low_priority_updates setting) · 409938f2
      unknown authored
      This is a follow up for the patch for Bug#26162 "Trigger DML ignores low_priority_updates setting", where the stored procedure ignores the session setting of low_priority_updates.
      
      For every table open operation with default write (TL_WRITE_DEFAULT) lock_type, downgrade the lock type to the session setting of low_priority_updates.
      
      
      sql/lock.cc:
        Add late lock_type assertion.
      sql/sql_base.cc:
        Possibly downgrade lock type to the the session setting of low_priority_updates and also remove early assertion.
      409938f2