1. 23 Aug, 2007 2 commits
    • unknown's avatar
      Merge trift2.:/MySQL/M51/netware-5.1 · 13849291
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      netware/Makefile.am:
        Auto merged
      13849291
    • unknown's avatar
      Merge trift2.:/MySQL/M50/netware-5.0 · 2d09b224
      unknown authored
      into  trift2.:/MySQL/M51/netware-5.1
      
      
      BitKeeper/deleted/.del-isamchk.def:
        Auto merged
      BitKeeper/deleted/.del-isamlog.def:
        Auto merged
      BitKeeper/deleted/.del-pack_isam.def:
        Auto merged
      netware/Makefile.am:
        Auto merged
      2d09b224
  2. 22 Aug, 2007 10 commits
    • unknown's avatar
      Cleanup in the "netware" subdirectory: · 49c07bc4
      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.
      49c07bc4
    • unknown's avatar
      Merge trift2.:/MySQL/M51/target-5.1.22 · ec4abeb8
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      ec4abeb8
    • unknown's avatar
      Bug#30359 · eab8f796
      unknown authored
        "Test federated_bug_25714 issues non-existing shell command"
        Problem caused by missing '$' symbol in eval statement causing it
        to always attempt to run test even if the test was not compiled.
      
      
      mysql-test/include/have_bug25714.inc:
        bug30359
          missing '$' in eval statement
      eab8f796
    • unknown's avatar
      Raise the version number to 5.1.23, · 3f767b0c
      unknown authored
      because we already split off a tree for 5.1.22 to receive only selected fixes.
      
      3f767b0c
    • unknown's avatar
      Correct an erroneous manual merge. · 8321c5e2
      unknown authored
      
      sql/sql_yacc.yy:
        Correct an erroneous manual merge, which had brought a duplicate line - remove one.
      8321c5e2
    • unknown's avatar
      Manual merge of parallel development in separate team trees. · 19eea826
      unknown authored
      
      client/mysqldump.c:
        Auto merged
      sql/event_db_repository.cc:
        Auto merged
      sql/event_queue.cc:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_plugin.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/table.h:
        Auto merged
      sql/sql_yacc.yy:
        Manual merge.
      19eea826
    • unknown's avatar
      Merge trift2.:/MySQL/M51/target-5.1.22 · 163414f8
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      Includes manual merges.
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/suite/ndb/r/ndb_dd_basic.result:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event_old.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_string.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/unireg.h:
        Auto merged
      mysql-test/r/status.result:
        Manual merge of two incompatible fixes to test "status".
      mysql-test/t/status.test:
        Manual merge of two incompatible fixes to test "status".
      sql/log_event.cc:
        Manual merge.
      sql/log_event.h:
        Manual merge.
      163414f8
    • unknown's avatar
      Fix the version number. · fc5331d6
      unknown authored
      
      configure.in:
        Version is 5.1.22 !
      fc5331d6
    • unknown's avatar
      Merge trift2.:/MySQL/M51/clone-5.1 · d2d44381
      unknown authored
      into  trift2.:/MySQL/M51/target-5.1.22
      
      d2d44381
    • unknown's avatar
      Merge trift2.:/MySQL/M51/target-5.1.22 · 513721fa
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      513721fa
  3. 21 Aug, 2007 8 commits
    • unknown's avatar
      ndb_dd_dump.test, ndb_dd_dump.result: · 04b5bf98
      unknown authored
        uncommented the test case stated in bug18856 and commiting to mysql-5.1-target-5.1.22 clone per Tomas
      
      
      mysql-test/suite/ndb/t/ndb_dd_dump.test:
        uncommented the test case stated in bug18856 and commiting to mysql-5.1-target-5.1.22 clone per Tomas
      mysql-test/suite/ndb/r/ndb_dd_dump.result:
        uncommented the test case stated in bug18856 and commiting to mysql-5.1-target-5.1.22 clone per Tomas
      04b5bf98
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · 6d56be21
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      6d56be21
    • unknown's avatar
      Merge trift2.:/MySQL/M51/mysql-5.1 · da64c8ce
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      sql/log_event.cc:
        Auto merged
      da64c8ce
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · 8ff758f1
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      8ff758f1
    • unknown's avatar
      Merge kpettersson@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 755846cc
      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
      755846cc
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug30269/my51-bug30269 · 982b2195
      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
      982b2195
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug30269/my50-bug30269 · 68560de6
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/bug30269/my51-bug30269
      
      
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      68560de6
    • unknown's avatar
      Bug#30269 Query cache eats memory · a5423e18
      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. 
      
      Views are excepted and can be cached but only retrieved by super user account.
      
      
      mysql-test/t/query_cache_with_views.test:
        Rename: mysql-test/t/view_query_cache.test -> mysql-test/t/query_cache_with_views.test
      mysql-test/r/query_cache_with_views.result:
        Rename: mysql-test/r/view_query_cache.result -> mysql-test/r/query_cache_with_views.result
      mysql-test/r/query_cache.result:
        Modified test case to allow caching of views
      mysql-test/t/query_cache.test:
        Modified test case to allow caching of views
      sql/sql_cache.cc:
        Allow caching of views
      a5423e18
  4. 20 Aug, 2007 5 commits
    • unknown's avatar
      Fixed 5.0 -> 5.1 merge · adfaa3d9
      unknown authored
      adfaa3d9
    • unknown's avatar
      Merge weblab.(none):/home/marcsql/TREE/mysql-5.0-runtime · 94ca17c4
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-rt50-merge
      
      
      mysql-test/r/handler_myisam.result:
        Auto merged
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      mysql-test/include/handler.inc:
        Auto merged
      94ca17c4
    • unknown's avatar
      Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base · 23ef5697
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-rt-merge
      
      
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/rpl_record.cc:
        Auto merged
      sql/slave.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      23ef5697
    • unknown's avatar
      Merge weblab.(none):/home/marcsql/TREE/mysql-5.0-base · ae349e98
      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
      ae349e98
    • unknown's avatar
      NetWare fixes: 1) Link options, 2) SQL command files · 000e569a
      unknown authored
      
      netware/Makefile.am:
        Distribute NetWare versions of "init_db.sql" and "test_db.sql".
      netware/BUILD/compile-netware-END:
        Make the "*.def" files available for linking.
      000e569a
  5. 18 Aug, 2007 5 commits
    • unknown's avatar
      Bug #29307: status.test fails with different Table_locks_immediate · 0f7bdb31
      unknown authored
      Finish premature patch which was accidentally pushed; remove debugging
      info and correct the test.
      
      
      mysql-test/r/status.result:
        Correct test results
      mysql-test/t/status.test:
        Disable query log for one statement, and correct some comments
      0f7bdb31
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · f7e693df
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      f7e693df
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/51 · 3c387b5b
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      3c387b5b
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/50 · 2bf1c45e
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      2bf1c45e
    • unknown's avatar
      Bug #29307: status.test fails with different Table_locks_immediate · 2b698fa7
      unknown authored
      When using --log --log-output=table, we increment Table_locks_immediate
      with every query.  The wait_condition.inc runs a query a variable number
      of times, depending on server load, etc.  This is a problem, when the
      test is checking the Table_locks_immediate value.
      
      Fix is to adjust the Table_locks_immediate value based on how many times
      the wait_condition query was executed.
      
      
      mysql-test/include/wait_condition.inc:
        Add a $wait_condition_reps variable, which lets the caller check how
        many times the wait_condition query was executed.
        
        This is used in the main.status test to adjust the value of
        Table_locks_immediate (it gets incremented with each query
        when --log --log-output=table).
      mysql-test/t/status.test:
        Adjust Table_locks_immediate value based on how many times the
        wait_condition query had to run.
      2b698fa7
  6. 17 Aug, 2007 10 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · f5053692
      unknown authored
      into  moksha.local:/Users/davi/mysql/push/mysql-5.1-runtime
      
      f5053692
    • unknown's avatar
      Bug#29936 (Stored Procedure DML ignores low_priority_updates setting) · 2fe97615
      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.
      
      
      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.
      2fe97615
    • unknown's avatar
      Merge kpettersson@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · d1a11a8c
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
      
      d1a11a8c
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug30269/my50-bug30269 · 6677194e
      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
      6677194e
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug30269/my51-bug30269 · fd8b2c93
      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
      fd8b2c93
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug30269/my50-bug30269 · 392f5589
      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
      392f5589
    • unknown's avatar
      Bug #30269 Query cache eats memory · 28233c1f
      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
      28233c1f
    • unknown's avatar
      Bug#25856 (HANDLER table OPEN in one connection lock DROP TABLE in another one) · f0c26a97
      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.
      f0c26a97
    • unknown's avatar
      Minor fix to let the build proceed. · ee184774
      unknown authored
      
      sql/rpl_rli.h:
        Adding missing forward declaration.
      ee184774
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl · ac782d15
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/fix-mysql-5.1-rpl
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log.h:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/log_event.cc:
        Manual merge.
      ac782d15