1. 06 Nov, 2006 1 commit
    • unknown's avatar
      Bug#23010 _my_b_read() passing illegal file handles to my_seek() · 51a360a0
      unknown authored
      - The io cache flag seek_not_done was not set properly in the 
        reinit_io_cache function call and this led my_seek to be called
        desipite an invalid file handle.
      - Added a test in reinit_io_cache to ensure we have a valid file 
        handle before setting seek_not_done flag.
      
      
      mysys/mf_iocache.c:
        Added a test to only trigger my_seek function calls if we have
        a valid file descriptor.
      mysys/my_seek.c:
        Refactored incomplete condition into an assertion. This also ensures
        that variable newpos is initialized properly.
      51a360a0
  2. 30 Aug, 2006 1 commit
    • unknown's avatar
      Bug#4053: too many of "error 1236: 'binlog truncated in the middle of \ · 626abc52
      unknown authored
      	event' from master"
      
      Since there is no repeatable test case, and this is obviously wrong, this is
      the most conservative change that might possibly work.  
      
      The syscall  read()  wasn't checked for a negative return value for an
      interrupted read.  The kernel  sys_read()  returns -EINTR, and the "library" 
      layer maps that to return value of -1 and sets  errno  to EINTR.  It's 
      impossible (on Linux) for  read()  to set errno EINTR without the return 
      value being -1 .
      
      So, if we're checking for EINTR behavior, we should not require that the
      return value be zero.
      
      
      mysys/my_read.c:
        The read() syscall should check for negative one, since that (usually) signals
        errors (like being interrupted) and zero (usually) signals end-of-file .
      626abc52
  3. 27 Jun, 2006 1 commit
  4. 20 May, 2006 1 commit
    • unknown's avatar
      mysql.spec.sh: · 65fcdee5
      unknown authored
        Always compile position independent
      
      
      support-files/mysql.spec.sh:
        Always compile position independent
      65fcdee5
  5. 12 May, 2006 1 commit
    • unknown's avatar
      Many files: · fa9b0268
      unknown authored
        Change mode to -rw-rw-r--
      dbug_add_tags.pl:
        Change mode to -rwxrwxr--
      
      
      dbug/dbug_add_tags.pl:
        Change mode to -rwxrwxr--
      myisammrg/myrg_range.c:
        Change mode to -rw-rw-r--
      mysql-test/r/innodb_handler.result:
        Change mode to -rw-rw-r--
      mysql-test/r/repair.result:
        Change mode to -rw-rw-r--
      mysql-test/std_data/master-bin.001:
        Change mode to -rw-rw-r--
      mysql-test/std_data/trunc_binlog.001:
        Change mode to -rw-rw-r--
      mysql-test/t/bulk_replace.test:
        Change mode to -rw-rw-r--
      mysql-test/t/create_select_tmp.test:
        Change mode to -rw-rw-r--
      mysql-test/t/ctype_tis620.test:
        Change mode to -rw-rw-r--
      mysql-test/t/handler.test:
        Change mode to -rw-rw-r--
      mysql-test/t/innodb_handler.test:
        Change mode to -rw-rw-r--
      mysql-test/t/mix_innodb_myisam_binlog-master.opt:
        Change mode to -rw-rw-r--
      mysql-test/t/repair.test:
        Change mode to -rw-rw-r--
      mysql-test/t/rpl_commit_after_flush.test:
        Change mode to -rw-rw-r--
      mysql-test/t/rpl_free_items-slave.opt:
        Change mode to -rw-rw-r--
      mysql-test/t/rpl_free_items.test:
        Change mode to -rw-rw-r--
      scripts/mysql_secure_installation.sh:
        Change mode to -rw-rw-r--
      sql/sql_handler.cc:
        Change mode to -rw-rw-r--
      support-files/mysql-multi.server.sh:
        Change mode to -rw-rw-r--
      fa9b0268
  6. 11 May, 2006 1 commit
    • unknown's avatar
      configure.in: · c982af51
      unknown authored
        Stepped up to 4.0.28
      
      
      configure.in:
        Stepped up to 4.0.28
      c982af51
  7. 06 May, 2006 1 commit
  8. 04 May, 2006 1 commit
  9. 25 Apr, 2006 2 commits
  10. 11 Apr, 2006 3 commits
  11. 10 Apr, 2006 3 commits
  12. 08 Apr, 2006 1 commit
  13. 07 Apr, 2006 1 commit
  14. 06 Apr, 2006 1 commit
  15. 03 Apr, 2006 1 commit
    • unknown's avatar
      mysql_install_db.sh, MySQLEULA.txt, mysql_install_db.c: · e2b19a59
      unknown authored
        Changed web address order.mysql.com to shop.mysql.com
      
      
      netware/mysql_install_db.c:
        Changed web address order.mysql.com to shop.mysql.com
      Docs/MySQLEULA.txt:
        Changed web address order.mysql.com to shop.mysql.com
      scripts/mysql_install_db.sh:
        Changed web address order.mysql.com to shop.mysql.com
      e2b19a59
  16. 01 Apr, 2006 1 commit
    • unknown's avatar
      README: · c19a6fc5
      unknown authored
        Typo (bug#17167)
      
      
      README:
        Typo (bug#17167)
      c19a6fc5
  17. 02 Mar, 2006 2 commits
  18. 01 Mar, 2006 4 commits
  19. 20 Feb, 2006 1 commit
  20. 12 Feb, 2006 1 commit
    • unknown's avatar
      make_binary_distribution.sh: · cd93a5aa
      unknown authored
        print => echo in shell script
      
      
      scripts/make_binary_distribution.sh:
        print => echo in shell script
      cd93a5aa
  21. 28 Jan, 2006 1 commit
    • unknown's avatar
      mysql-test-run.sh: · a73b7dc2
      unknown authored
        Bug#16780: Extend port range to make space for 5.1 NDBCLUSTER_PORT_SLAVE
      
      
      mysql-test/mysql-test-run.sh:
        Bug#16780: Extend port range to make space for 5.1 NDBCLUSTER_PORT_SLAVE
      a73b7dc2
  22. 23 Jan, 2006 2 commits
    • unknown's avatar
      Fixed bug #16510: Updating field named like '*name' caused server crash. · e14c9c5d
      unknown authored
      When setup_fields() function finds field named '*' it expands it to the list
      of all table fields. It does so by checking that the first char of
      field_name is '*', but it doesn't checks that the '* is the only char.
      Due to this, when updating table with a field named like '*name', such field
      is wrongly treated as '*' and expanded. This leads to making list of fields
      to update being longer than list of the new values. Later, the fill_record() 
      function crashes by dereferencing null when there is left fields to update,
      but no more values.
      
      Added check in the setup_fields() function which ensures that the field
      expanding will be done only when '*' is the only char in the field name.
      
      
      mysql-test/t/update.test:
        Added test case for bug#16510: Updating field named like '*name' caused server crash
      mysql-test/r/update.result:
        Added test case for bug#16510: Updating field named like '*name' caused server crash
      sql/sql_base.cc:
        Fixed bug #16510: Updating field named like '*name' caused server crash.
        Added check in the setup_fields() function which ensures that the field
        expanding will be done only when '*' is the only char in the field name.
      e14c9c5d
    • unknown's avatar
      BUG#5390 - problems with merge tables · 15ecf922
      unknown authored
      After-fix optimizations proposed and finally
      implemented by Monty.
      
      
      mysql-test/r/lock.result:
        BUG#5390 - problems with merge tables
        After-fix optimizations proposed and finally
        implemented by Monty.
        Additional test results.
      mysql-test/t/lock.test:
        BUG#5390 - problems with merge tables
        After-fix optimizations proposed and finally
        implemented by Monty.
        Additional tests.
      sql/lock.cc:
        BUG#5390 - problems with merge tables
        After-fix optimizations proposed and finally
        implemented by Monty.
        get_lock_data() gets a flag for storing the lock
        positions in the new TABLE elements.
        mysql_lock_remove() can now remove a lock faster
        and more precisely as it has needed info in TABLE now.
        mysql_unlock_read_tables() and mysql_lock_merge() must 
        now adjust the new elements of TABLE when modifying locks.
        mysql_lock_have_duplicate() can now work faster on
        the existing lock as the positions in the lock
        arrays are known for each table.
        get_lock_data() assigns the new TABLE elements 
        on request of the new flag.
      sql/table.h:
        BUG#5390 - problems with merge tables
        After-fix optimizations proposed and finally
        implemented by Monty.
        Additional elements of TABLE.
      15ecf922
  23. 17 Jan, 2006 1 commit
  24. 16 Jan, 2006 2 commits
  25. 13 Jan, 2006 1 commit
    • unknown's avatar
      extra/comp_err.c + scripts/mysqld_multi.sh : · de4a3552
      unknown authored
      Copyright string fixes (bug#16106)
      
      
      extra/comp_err.c:
        Ensure that the license spelling is as expected by the "mysql_copyright" tool.
        (bug#16106)
      scripts/mysqld_multi.sh:
        The "mysql_copyright" tool will not change non-C files, so do not mention the license.
        (bug#16106)
      de4a3552
  26. 12 Jan, 2006 1 commit
    • unknown's avatar
      NetWare specific change to increase thread stack size. · 2946f9a6
      unknown authored
      Changes to Netware specific mysqld_safe.c
      
      
      include/config-netware.h:
        NetWare specific change to increase thread stack size.
      innobase/os/os0thread.c:
        NetWare specific change to increase thread stack size.
      netware/mysqld_safe.c:
        NetWare specific change to make multiple mysqld_safe instances
        work when called through a NCF file.
      sql/mysqld.cc:
        NetWare specific change to increase thread stack size.
      2946f9a6
  27. 06 Jan, 2006 1 commit
    • unknown's avatar
      Fixes during review of new pushed code: · 2dcedd9c
      unknown authored
      Remove wrong fix for Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
      Safety fix for bug #13855 "select distinct with group by caused server crash"
      
      
      client/mysqlimport.c:
        Remove not used variable
      myisam/myisam_ftdump.c:
        Fixed compiler warning
      sql/item_cmpfunc.cc:
        Removed compiler warning
      sql/sql_handler.cc:
        Remove wrong fix for Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash.
        It's better to let mysql_lock_tables reopen the TABLE object in case of OPTIMIZE TABLE and fix items AFTER mysql_lock_table() instead of before
      sql/sql_select.cc:
        Safety fix for bug #13855 "select distinct with group by caused server crash"
        The previous patch only removed the symptomps, this fix removed the cause of the problem
        (Which was that not all hidden_fields was stored in the temporary table)
      2dcedd9c
  28. 27 Dec, 2005 1 commit
  29. 18 Dec, 2005 1 commit
    • unknown's avatar
      Makefile.am: · e97a4a4a
      unknown authored
        Adjusted listing of files to put into source TAR
      
      
      e97a4a4a