1. 18 Oct, 2007 1 commit
    • unknown's avatar
      Bug#31692 - binlog_killed.test crashes sometimes · bf82c2f9
      unknown authored
      The server crashed when a thread was killed while locking the
      general_log table at statement begin.
      
      The general_log table is handled like a performance schema table.
      The state of open tables is saved and cleared so that this table
      seems to be the only open one. Then this table is opened and locked.
      After writing, the table is closed and the open table state is
      restored. Before restoring, however, it is asserted that there is
      no current table open.
      
      After locking the table, mysql_lock_tables() checks if the thread
      was killed in between. If so, it unlocks the table and returns an
      error. open_ltable() just returns with the error and leaves closing
      of the table to close_thread_tables(), which is called at
      statement end.
      
      open_performance_schema_table() did not take this into account.
      It assumed that a failed open_ltable() would not leave an open
      table behind.
      
      Fixed by closing thread tables after open_ltable() and before
      restore_backup_open_tables_state() if the thread was killed.
      
      No test case. It requires correctly timed parallel execution.
      Since this bug was detected by the test suite, it seems
      dispensable to add another test.
      
      
      sql/sql_base.cc:
        Bug#31692 - binlog_killed.test crashes sometimes
        Closing thread tables after open_ltable() and before
        restore_backup_open_tables_state() if the thread was killed.
      bf82c2f9
  2. 10 Oct, 2007 5 commits
  3. 09 Oct, 2007 3 commits
  4. 05 Oct, 2007 2 commits
  5. 04 Oct, 2007 8 commits
    • unknown's avatar
      Merge xiphis.org:/anubis/antony/work/mysql-5.1-engines · 12a6d72b
      unknown authored
      into  xiphis.org:/anubis/antony/work/p1-bug31382.1.merge-5.1
      
      
      12a6d72b
    • unknown's avatar
      Bug#31382 · 1c94c8e6
      unknown authored
        "Disabled plugin is provoking Valgrind error"
        If there are any auto-alloced string plug-in options, memory is
        allocated during the call for handle_options(). We must free this
        memory if we are not installing the plug-in.
      
      
      include/my_getopt.h:
        bug31382
          new function: my_cleanup_options()
      mysys/my_getopt.c:
        bug31382
          new function: my_cleanup_options(), fini_one_value()
          alter init_variables() to take an extra option.
          forward declare init_one_value() and fini_one_value()
      sql/sql_plugin.cc:
        bug31382
          after calling handle_options(), make sure to call my_cleanup_options()
          if we are not installing the plug-in.
      1c94c8e6
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · 03bef972
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      storage/ndb/test/ndbapi/testScanFilter.cpp:
        Auto merged
      03bef972
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · f4b6234c
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      f4b6234c
    • unknown's avatar
      Bug #30484: Partitions: crash with self-referencing trigger · b4d566a0
      unknown authored
      Two cases in ha_partition::extra() was missing
      (HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH)
      which only is currently used by NDB (which not uses ha_partition)
      
      
      mysql-test/r/partition.result:
        Added result for test of Bug #30484
      mysql-test/t/partition.test:
        Added test for Bug #30484
      sql/ha_partition.cc:
        Added HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH
        in ha_partition::extra to do nothing
        (Only currently used in NDB, which is not dependent of ha_partition)
      b4d566a0
    • unknown's avatar
      Merge production.mysql.com:/usersnfs/jperkin/bk/build/5.0 · a006263f
      unknown authored
      into  production.mysql.com:/usersnfs/jperkin/bk/build/5.1
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      a006263f
    • unknown's avatar
      Merge production.mysql.com:/usersnfs/jperkin/bk/build/5.0 · 61e8c538
      unknown authored
      into  production.mysql.com:/usersnfs/jperkin/bk/bug-27692/5.0
      
      
      61e8c538
    • unknown's avatar
      Restore creation of test databases and the anonymous user which · 549cbcd5
      unknown authored
      were accidentally removed during a previous rototill of this
      code.  Fixes bug#27692.
        
      While it can be argued we should strive to provide a 'secure by
      default' installation, this happens to be the setup currently
      documented in the manual as the default, so defer changes that
      improve security out of the box to a co-ordinated effort later
      on.
        
      For now, make a note about the test databases and anonymous user
      in mysql_install_db and recommend that mysql_secure_installation
      be ran for users wishing to remove these defaults.
      
      [..re-commit of previously lost change..]
      
      
      scripts/mysql_system_tables_data.sql:
        Add anonymous accounts.
      scripts/mysql_install_db.sh:
        Point users at the mysql_secure_installation script.
      mysql-test/mysql-test-run.pl:
        Add a comment where removing anonymous users.
      549cbcd5
  6. 02 Oct, 2007 1 commit
    • unknown's avatar
      testScanFilter.cpp: · 019c20bf
      unknown authored
         Updated variable size arrays to use vector like Jonas did for 5.1 so that my build would not break
      
      
      ndb/test/ndbapi/testScanFilter.cpp:
         Updated variable size arrays to use vector like Jonas did for 5.1 so that my build would not break
      019c20bf
  7. 01 Oct, 2007 6 commits
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-build · 88f1ad8c
      unknown authored
      into  mysql.com:/home/kent/bk/make-install/mysql-5.1-build
      
      
      88f1ad8c
    • unknown's avatar
      make_binary_distribution.sh: · ebc5495f
      unknown authored
        Added special handling of "mysql_install_db" and "mysql.server" scripts,
        find executables relative to the current directory.
      
      
      scripts/make_binary_distribution.sh:
        Added special handling of "mysql_install_db" and "mysql.server" scripts,
        find executables relative to the current directory.
      ebc5495f
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · 0247dc1f
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      configure.in:
        5.0 version change does not affect 5.1 - "use local".
      0247dc1f
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · c8cb61be
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      c8cb61be
    • unknown's avatar
      Fix bug#31150 "Test case does not cleanup": · 90a23c96
      unknown authored
      Add the cleanup by dropping the database 'track' in test "rpl_bug31076".
      
      
      mysql-test/suite/rpl/r/rpl_bug31076.result:
        Fix bug#31150 "Test case does not cleanup":
        Drop the database 'track' which was newly created for this test.
      mysql-test/suite/rpl/t/rpl_bug31076.test:
        Fix bug#31150 "Test case does not cleanup":
        Drop the database 'track' which was newly created for this test.
      90a23c96
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.1-engines · 82e6e6fb
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG30583/mysql-5.1-engines
      
      
      sql/ha_partition.cc:
        Auto merged
      82e6e6fb
  8. 29 Sep, 2007 4 commits
  9. 28 Sep, 2007 7 commits
  10. 27 Sep, 2007 3 commits
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-build · 7571c81f
      unknown authored
      into  mysql.com:/home/kent/bk/make-dist-stable/mysql-5.1-build
      
      
      Makefile.am:
        Auto merged
      configure.in:
        Auto merged
      7571c81f
    • unknown's avatar
      Makefile.am, configure.in: · 4bba9ece
      unknown authored
        Handle pstack like other optional directories
        Check if a directory exists relative to $srcdir
      
      
      Makefile.am:
        Handle pstack like other optional directories
        Check if a directory exists relative to $srcdir
      configure.in:
        Handle pstack like other optional directories
        Check if a directory exists relative to $srcdir
      pstack/Makefile.am:
        Handle pstack like other optional directories
        Check if a directory exists relative to $srcdir
      4bba9ece
    • unknown's avatar
      Merge trift-lap.fambruehe:/MySQL/M51/push-5.1 · 5d6fac27
      unknown authored
      into  trift-lap.fambruehe:/MySQL/M51/antony-5.1
      
      
      Makefile.am:
        Auto merged
      configure.in:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      mysql-test/suite/funcs_1/r/innodb__datadict.result:
        Use most current version of test results.
      mysql-test/suite/funcs_1/r/memory__datadict.result:
        Use most current version of test results.
      mysql-test/suite/funcs_1/r/myisam__datadict.result:
        Use most current version of test results.
      mysql-test/suite/funcs_1/r/ndb__datadict.result:
        Use most current version of test results.
      5d6fac27