1. 17 Aug, 2007 5 commits
    • unknown's avatar
      Merge kpettersson@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 55e514ae
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
      
      
      55e514ae
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug30269/my51-bug30269 · 59c92e26
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
      
      
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_cache.h:
        Auto merged
      59c92e26
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug30269/my50-bug30269 · c2460030
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/bug30269/my51-bug30269
      
      
      mysql-test/r/query_cache.result:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_cache.h:
        Auto merged
      mysql-test/t/query_cache.test:
        Manual merge
      c2460030
    • 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
      Bug#25856 (HANDLER table OPEN in one connection lock DROP TABLE in another one) · 8bdb043f
      unknown authored
      mysql_ha_open calls mysql_ha_close on the error path (unsupported) to close the (opened) table before inserting it into the tables hash list handler_tables_hash) but mysql_ha_close only closes tables which are on the hash list, causing the table to be left open and locked.
      
      This change moves the table close logic into a separate function that is always called on the error path of mysql_ha_open or on a normal handler close (mysql_ha_close).
      
      
      mysql-test/r/lock_multi.result:
        Bug#25856 test result
      mysql-test/t/lock_multi.test:
        Bug#25856 test case
      sql/sql_handler.cc:
        Move the table close logic into a separate function that is always called on the error path of mysql_ha_open or on a normal handler close.
      8bdb043f
  2. 16 Aug, 2007 5 commits
  3. 15 Aug, 2007 6 commits
    • unknown's avatar
      Add replication group (comments). · 8f060c1d
      unknown authored
      8f060c1d
    • unknown's avatar
      Provide initial module structure to Doxygen. · 7691bbbf
      unknown authored
      
      sql/event_data_objects.cc:
        Add module comments.
      sql/event_data_objects.h:
        Add module comments.
      sql/event_db_repository.cc:
        Add module comments.
      sql/event_db_repository.h:
        Add module comments.
      sql/event_queue.cc:
        Add module comments.
      sql/event_queue.h:
        Add module comments.
      sql/event_scheduler.cc:
        Add module comments.
      sql/event_scheduler.h:
        Add module comments.
      sql/events.cc:
        Add module comments.
      sql/events.h:
        Add module comments.
      sql/lock.cc:
        Add module comments.
      sql/sp_head.h:
        Add module comments.
      sql/sql_base.cc:
        Add module comments.
      sql/sql_lex.h:
        Add module comments.
      sql/sql_parse.cc:
        Add module comments.
      sql/sql_select.cc:
        Add module comments.
      sql/sql_yacc.yy:
        Add module comments.
      7691bbbf
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · ea86a018
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      
      ea86a018
    • unknown's avatar
      Fix doxygen warnings. · c514373c
      unknown authored
      
      client/mysqldump.c:
        Fix doxygen warnings
      mysys/test_charset.c:
        Fix doxygen warnings
      sql/event_db_repository.cc:
        Fix doxygen warnings
      sql/events.cc:
        Fix doxygen warnings
      sql/events.h:
        Fix doxygen warnings
      sql/item_create.cc:
        Fix doxygen warnings, style.
      sql/item_create.h:
        Fix coding style.
      sql/item_subselect.cc:
        Fix doxygen warnings
      sql/lock.cc:
        Fix doxygen warnings
      sql/sp.cc:
        Fix doxygen warnings
      sql/sp_head.h:
        Fix doxygen warnings
      sql/sql_analyse.cc:
        Fix doxygen warnings
      sql/sql_analyse.h:
        Fix doxygen warnings
      sql/sql_base.cc:
        Fix doxygen warnings
      sql/sql_db.cc:
        Fix doxygen warnings
      sql/sql_lex.cc:
        Fix doxygen warnings
      sql/sql_lex.h:
        Fix doxygen warnings
      sql/sql_parse.cc:
        Fix doxygen warnings
      sql/sql_plugin.cc:
        Fix doxygen warnings
      sql/sql_prepare.cc:
        Fix doxygen warnings
      sql/sql_show.cc:
        Fix doxygen warnings
      sql/sql_trigger.cc:
        Fix doxygen warnings
      sql/sql_update.cc:
        Fix doxygen warnings
      sql/table.h:
        Fix doxygen warnings
      c514373c
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 8f990cee
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-cleanup
      
      
      8f990cee
    • unknown's avatar
      2c4c5581
  4. 11 Aug, 2007 2 commits
    • unknown's avatar
      Merge bodhi.(none):/opt/local/work/mysql-5.1-target-5.1.22 · 2afee225
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      
      2afee225
    • unknown's avatar
      A fix for Bug#29049 lock_multi fails in rare case. · a3877a11
      unknown authored
      The patch changes the test case only.
      The fix is to replace all 'sleep's with wait_condition. This makes
      the test deterministic and also ~300 times faster.
      
      
      mysql-test/r/lock_multi.result:
        Update result.
      mysql-test/t/lock_multi.test:
        A fix for Bug#29049 lock_multi fails in rare case.
        Replace all 'sleep's with wait_condition. This makes
        the test deterministic and also ~300 times faster.
      a3877a11
  5. 10 Aug, 2007 2 commits
  6. 09 Aug, 2007 1 commit
    • unknown's avatar
      Bug#25930 (CREATE TABLE x SELECT ... parses columns wrong when ran with · d3b64bd1
      unknown authored
                 ANSI_QUOTES mode)
      
      This patch contains a test case only, showing that the bug has been fixed.
      
      The issue was related to parsing <"blah">, where the lexical analyser
      would not properly delimit the start and end of the token.
      
      Properly making the token boundaries has been fixed in sql_lex.cc
      with the patch for bug 25411 : see the Lex_input_stream class.
      
      
      mysql-test/r/parser.result:
        Test case for Bug#25930, which was fixed by Bug#25411
      mysql-test/t/parser.test:
        Test case for Bug#25930, which was fixed by Bug#25411
      d3b64bd1
  7. 08 Aug, 2007 5 commits
  8. 06 Aug, 2007 10 commits
  9. 05 Aug, 2007 4 commits