1. 20 Oct, 2009 1 commit
    • Evgeny Potemkin's avatar
      #41760 Inserting into multiple-table views is not working · 4349a472
      Evgeny Potemkin authored
      During insert, we are not reading the rows in a referring table but
      instead using the last read row that happens to be in table->record[0].
      
      Now INSERT into such view is denied. 
      
      
      mysql-test/r/delayed.result:
        A test case result is adjusted after fixing bug#41760.
      mysql-test/r/insert.result:
        A test case result is adjusted after fixing bug#41760.
      mysql-test/t/delayed.test:
        A test case is adjusted after fixing bug#41760.
      mysql-test/t/insert.test:
        A test case is adjusted after fixing bug#41760.
      4349a472
  2. 15 Oct, 2009 1 commit
  3. 14 Oct, 2009 3 commits
  4. 13 Oct, 2009 1 commit
    • Gleb Shchepa's avatar
      Backport of fix to bug #33629 into mysql-next-mr-bugfixing. · 1360ca09
      Gleb Shchepa authored
      Bug #33629: last_day function can return null, but has 'not null' flag set for result
      
      LAST_DAY and MAKEDATE functions are documented as
      returning NULL value, but actually they was implemented
      as returning NOT NULL typed values.
      
      That caused a confusing error "ERROR 1048 (23000): Column
      '...' cannot be null" on queries like: 
      
        SELECT 1 FROM (SELECT LAST_DAY('0')) a;
      
      
      mysql-test/r/func_sapdb.result:
          Updated test case for bug #33629.
      mysql-test/r/func_time.result:
          Updated test case for bug #33629.
      mysql-test/r/type_date.result:
          Added test case for bug #33629.
      mysql-test/t/type_date.test:
          Added test case for bug #33629.
      sql/item_timefunc.h:
          Bug #33629: last_day function can return null, but has 'not null' flag set for result
          
          1. The Item_func_makedate::fix_length_and_dec method
             has been modified to declare MAKEDATE() as a function
             returning nullable value.
          2. The Item_func_last_day::fix_length_and_dec method
             has been overloaded for the same purpose.
      1360ca09
  5. 12 Oct, 2009 2 commits
  6. 09 Oct, 2009 16 commits
  7. 08 Oct, 2009 4 commits
  8. 07 Oct, 2009 5 commits
    • Alexander Nozdrin's avatar
      A backport of a patch for Bug#35297. · 63e50788
      Alexander Nozdrin authored
      Original revision in mysql-6.0-codebase is:
      
      revno: 2617.31.14
      committer: Konstantin Osipov <kostja@sun.com>
      branch nick: mysql-6.0-runtime
      timestamp: Sat 2009-03-28 11:42:55 +0300
      message:
        Bug#35297 SHOW CREATE EVENT does not show the DEFINER:
        update test result after a merge from now.
      63e50788
    • Alexander Nozdrin's avatar
      A backport a patch of Bug#34828. · 5281fa36
      Alexander Nozdrin authored
      Original revision is from mysql-6.0-codebase:
      
      revno: 2617.23.13
      committer: Alexander Nozdrin <alik@sun.com>
      branch nick: 6.0-rt-bug34828
      timestamp: Tue 2009-02-24 14:25:46 +0300
      message:
        A patch for Bug#34828: OF is taken as OFF and a value of 0
        is set for variable SQL_notes.
        
        The problem was that partial match was allowed for keywords.
        
        A fix is to disable partial match and require full match.
      5281fa36
    • Alexander Nozdrin's avatar
      A backport of patch for Bug#26704. · 93848350
      Alexander Nozdrin authored
      Original revision is from mysql-6.0-codebase:
      
      revno: 2630.3.1
      committer: Alexander Nozdrin <alik@mysql.com>
      branch nick: 6.0-rt-bug26704
      timestamp: Thu 2008-05-29 21:04:06 +0400
      message:
        A fix for Bug#26704: Failing DROP DATABASE brings
        mysql-client out of sync.
      
        The problem was that we changed current database w/o caring
        whether it was dropped successfully or not.
      
        The fix is not to change current database if we failed to drop it.
      93848350
    • Alexander Nozdrin's avatar
      Merge from mysql-trunk-bugfixing. · 1733a974
      Alexander Nozdrin authored
      1733a974
    • Alexander Nozdrin's avatar
      f6dddce2
  9. 05 Oct, 2009 2 commits
  10. 03 Oct, 2009 3 commits
  11. 02 Oct, 2009 2 commits