1. 03 Nov, 2006 1 commit
    • unknown's avatar
      Fix for bug #19736 VIEW: column names not quoted properly when view is replicated · bc9f9011
      unknown authored
      When we write 'query=...' string to a frm file for views on a slave, 
      indentifiers are not properly quoted due to missing OPTION_QUOTE_SHOW_CREATE 
      flag in the thd->options.
      
      Fix: properly set thd->options for the slave thread.
      
      
      mysql-test/r/rpl_view.result:
        Fix for bug #19736 VIEW: column names not quoted properly when view is replicated
          - result adjusted.
      sql/slave.cc:
        Fix for bug #19736 VIEW: column names not quoted properly when view is replicated
          - properly set thd->options only in one place (in the set_slave_thread_options()),
            using thd_startup_options. As a side effect we have OPTION_BIG_SELECTS flag set
            after the set_slave_thread_options() call from the 
            log_enevt.cc:Rotate_log_event::exec_event().
      bc9f9011
  2. 31 Oct, 2006 1 commit
  3. 27 Oct, 2006 1 commit
    • unknown's avatar
      Fix for bug #23412: delete rows with null date field · d2c90fcb
      unknown authored
      Backport of the fix for bug #8143: A date with value 0 is treated as a NULL value
      
      
      mysql-test/r/delete.result:
        Fix for bug #23412: delete rows with null date field
          - test result
      mysql-test/t/delete.test:
        Fix for bug #23412: delete rows with null date field
          - test case
      sql/sql_delete.cc:
        Fix for bug #23412: delete rows with null date field
          - during SELECT queries processing we convert 'date[time]_field is null'                   
            conditions into 'date[time]_field = 0000-00-00[ 00:00:00]' for not null                  
            DATE and DATETIME fields. To be consistent, we have to do the same for DELETE            
            queries. So we should call remove_eq_conds() in the mysql_delete() as well.              
            Also it may simplify and speed up DELETE queries execution.
      d2c90fcb
  4. 26 Oct, 2006 2 commits
    • unknown's avatar
      Bug#23427 incompatible ABI change in 5.0.26? · fc72e762
      unknown authored
       - Improve icheck rules in Makefile.am
      
      
      include/Makefile.am:
        Remove m_ctype from BUILT_SOURCES, it has been in bk for a looong time.
        Improve the icheck rules
         - Abort make if icheck fails to compare, very important.
         - Don't include include files from /usr into the icheck file. Avoids problem when running
           icheck on different machines.
         - If no icheck is availabel, touch the mysql_h.ic file so it exists for "make dist"
      include/mysql_h_abi.ic:
        Remove all include files from /usr, no need to check that!
      fc72e762
    • unknown's avatar
      Bug#20894 Reproducible MySQL client segmentation fault · 08d43705
      unknown authored
       - Add two null bytes in  "buff" variable allowing us to call
         get_arg two times also for strings longer than sizeof(buff) 
      
      
      client/mysql.cc:
        Make sure there are _two_ zero bytes at the end of buff, to allow 'get_arg' to be
        called twice on long strings. The first time it will mark end of string with a
        zero and the second time it will "skip ahead" to the first zero, and the find the
        second one indicating end of buff.
      mysql-test/r/mysql.result:
        Update test results
      mysql-test/t/mysql.test:
        Add tests for "com_connect" function in mysql
        Add test reported in bug
      08d43705
  5. 25 Oct, 2006 10 commits
  6. 24 Oct, 2006 22 commits
  7. 23 Oct, 2006 3 commits