1. 09 Nov, 2005 1 commit
  2. 08 Nov, 2005 2 commits
  3. 07 Nov, 2005 2 commits
  4. 05 Nov, 2005 3 commits
  5. 04 Nov, 2005 1 commit
  6. 03 Nov, 2005 5 commits
  7. 01 Nov, 2005 6 commits
  8. 31 Oct, 2005 5 commits
  9. 29 Oct, 2005 4 commits
  10. 28 Oct, 2005 9 commits
  11. 27 Oct, 2005 2 commits
    • evgen@moonbone.local's avatar
      Fix bug#14186 select datefield is null not updated · 77723c24
      evgen@moonbone.local authored
      Date field was declared as not null, thus expression 'datefield is null'
      was always false. For SELECT special handling of such cases is used. 
      There 'datefield is null' converted to 'datefield eq "0000-00-00"'.
      
      In mysql_update() before creation of select added remove_eq_conds() call.
      It makes some optimization of conds and in particular performs conversion
      from 'is null' to 'eq'. 
      Also remove_eq_conds() makes some evaluation of conds and if it founds that
      conds is always false then update statement is not processed further.
      All this allows to perform some update statements process faster due to
      optimized conds, and not wasting resources if conds known to be false. 
      77723c24
    • jimw@mysql.com's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-14009 · 7a8bd252
      jimw@mysql.com authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      7a8bd252