1. 18 Oct, 2007 1 commit
    • unknown's avatar
      Bug#31692 - binlog_killed.test crashes sometimes · 8eeb546d
      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.
      8eeb546d
  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 · 6b35867f
      unknown authored
      into  xiphis.org:/anubis/antony/work/p1-bug31382.1.merge-5.1
      
      6b35867f
    • unknown's avatar
      Bug#31382 · e8a23842
      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.
      e8a23842
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · 0f769793
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      storage/ndb/test/ndbapi/testScanFilter.cpp:
        Auto merged
      0f769793
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · 711be53b
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      711be53b
    • unknown's avatar
      Bug #30484: Partitions: crash with self-referencing trigger · 25eb54da
      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)
      25eb54da
    • unknown's avatar
      Merge production.mysql.com:/usersnfs/jperkin/bk/build/5.0 · 3fb8f160
      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
      3fb8f160
    • unknown's avatar
      Merge production.mysql.com:/usersnfs/jperkin/bk/build/5.0 · 270011cb
      unknown authored
      into  production.mysql.com:/usersnfs/jperkin/bk/bug-27692/5.0
      
      270011cb
    • unknown's avatar
      Restore creation of test databases and the anonymous user which · 4d1a88e8
      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.
      4d1a88e8
  6. 02 Oct, 2007 1 commit
    • unknown's avatar
      testScanFilter.cpp: · c47eab5e
      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
      c47eab5e
  7. 01 Oct, 2007 6 commits
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-build · 1b0701e4
      unknown authored
      into  mysql.com:/home/kent/bk/make-install/mysql-5.1-build
      
      1b0701e4
    • unknown's avatar
      make_binary_distribution.sh: · 2f295f62
      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.
      2f295f62
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · 8f9743d6
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      configure.in:
        5.0 version change does not affect 5.1 - "use local".
      8f9743d6
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · 1b96170f
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      1b96170f
    • unknown's avatar
      Fix bug#31150 "Test case does not cleanup": · a7e3f053
      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.
      a7e3f053
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.1-engines · 2308c12a
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG30583/mysql-5.1-engines
      
      
      sql/ha_partition.cc:
        Auto merged
      2308c12a
  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 · e5099e7c
      unknown authored
      into  mysql.com:/home/kent/bk/make-dist-stable/mysql-5.1-build
      
      
      Makefile.am:
        Auto merged
      configure.in:
        Auto merged
      e5099e7c
    • unknown's avatar
      Makefile.am, configure.in: · b27b7d4d
      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
      b27b7d4d
    • unknown's avatar
      Merge trift-lap.fambruehe:/MySQL/M51/push-5.1 · 1eae9755
      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.
      1eae9755