1. 23 Aug, 2007 2 commits
    • unknown's avatar
      Merge trift2.:/MySQL/M51/netware-5.1 · 82b2ad46
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      netware/Makefile.am:
        Auto merged
      82b2ad46
    • unknown's avatar
      Merge trift2.:/MySQL/M50/netware-5.0 · 189af515
      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
      189af515
  2. 22 Aug, 2007 10 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 trift2.:/MySQL/M51/target-5.1.22 · caab3177
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      caab3177
    • unknown's avatar
      Bug#30359 · fc766e51
      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
      fc766e51
    • unknown's avatar
      Raise the version number to 5.1.23, · b0ea3bd9
      unknown authored
      because we already split off a tree for 5.1.22 to receive only selected fixes.
      
      
      b0ea3bd9
    • unknown's avatar
      Correct an erroneous manual merge. · 57e4f87d
      unknown authored
      
      sql/sql_yacc.yy:
        Correct an erroneous manual merge, which had brought a duplicate line - remove one.
      57e4f87d
    • unknown's avatar
      Manual merge of parallel development in separate team trees. · af602784
      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.
      af602784
    • unknown's avatar
      Merge trift2.:/MySQL/M51/target-5.1.22 · 9c872904
      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.
      9c872904
    • unknown's avatar
      Fix the version number. · 7c5aa8a6
      unknown authored
      
      configure.in:
        Version is 5.1.22 !
      7c5aa8a6
    • unknown's avatar
      Merge trift2.:/MySQL/M51/clone-5.1 · b07fc544
      unknown authored
      into  trift2.:/MySQL/M51/target-5.1.22
      
      
      b07fc544
    • unknown's avatar
      Merge trift2.:/MySQL/M51/target-5.1.22 · 5248f724
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      5248f724
  3. 21 Aug, 2007 8 commits
    • unknown's avatar
      ndb_dd_dump.test, ndb_dd_dump.result: · 833afa54
      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
      833afa54
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · f6b6cdcd
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      f6b6cdcd
    • unknown's avatar
      Merge trift2.:/MySQL/M51/mysql-5.1 · 0f866de6
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      sql/log_event.cc:
        Auto merged
      0f866de6
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · 451d1f5f
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      451d1f5f
    • unknown's avatar
      Merge kpettersson@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 7dd4e789
      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
      7dd4e789
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug30269/my51-bug30269 · 863eb5d5
      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
      863eb5d5
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug30269/my50-bug30269 · b1d9eba3
      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
      b1d9eba3
    • unknown's avatar
      Bug#30269 Query cache eats memory · 3a5a0ea3
      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
      3a5a0ea3
  4. 20 Aug, 2007 5 commits
    • unknown's avatar
      Fixed 5.0 -> 5.1 merge · 5f40dafc
      unknown authored
      5f40dafc
    • unknown's avatar
      Merge weblab.(none):/home/marcsql/TREE/mysql-5.0-runtime · 8d201090
      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
      8d201090
    • unknown's avatar
      Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base · 78059064
      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
      78059064
    • 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
      NetWare fixes: 1) Link options, 2) SQL command files · efac5af7
      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.
      efac5af7
  5. 18 Aug, 2007 5 commits
    • unknown's avatar
      Bug #29307: status.test fails with different Table_locks_immediate · 0ece5608
      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
      0ece5608
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · 994625d6
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      994625d6
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/51 · 92838cc4
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      92838cc4
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/50 · c68c271a
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      c68c271a
    • unknown's avatar
      Bug #29307: status.test fails with different Table_locks_immediate · 4f3c8e77
      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.
      4f3c8e77
  6. 17 Aug, 2007 10 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 3b1ec12f
      unknown authored
      into  moksha.local:/Users/davi/mysql/push/mysql-5.1-runtime
      
      
      3b1ec12f
    • unknown's avatar
      Bug#29936 (Stored Procedure DML ignores low_priority_updates setting) · 7ee93c16
      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.
      7ee93c16
    • 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/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
      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
    • unknown's avatar
      Minor fix to let the build proceed. · dc4a1ef8
      unknown authored
      
      sql/rpl_rli.h:
        Adding missing forward declaration.
      dc4a1ef8
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl · dc4f7044
      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.
      dc4f7044