1. 08 Nov, 2005 1 commit
    • unknown's avatar
      Bug #12796: Record lost in HEAP table · bba73a09
      unknown authored
      Two handler objects were present, one was used for an insert and the other for a select
      The state of the statistics was local to the handler object and thus the other handler
      object didn't notice the insert.
      Fix included:
      1) Add a new variable key_stat_version added to whenever statistics was considered in need
      of update (previously key_stats_ok= FALSE in those places)
      2) Add a new handler variable key_stat_version assigned whenever key_stats_ok= TRUE was set
      previously
      3) Fix records_in_range to return records if records <= 1
      4) Fix records_in_range to add 2 to rec_per_key to ensure we don't specify 0 or 1 when it isn't
      and thus invoking incorrect optimisations.
      5) Fix unique key handling for HEAP table in records_in_range
      
      
      bba73a09
  2. 05 Nov, 2005 1 commit
    • unknown's avatar
      mysql.spec.sh: · 0e878d7e
      unknown authored
        Always use bundled zlib
      
      
      support-files/mysql.spec.sh:
        Always use bundled zlib
      0e878d7e
  3. 04 Nov, 2005 1 commit
  4. 03 Nov, 2005 5 commits
  5. 01 Nov, 2005 6 commits
  6. 31 Oct, 2005 5 commits
  7. 29 Oct, 2005 4 commits
  8. 28 Oct, 2005 8 commits
  9. 27 Oct, 2005 9 commits
    • unknown's avatar
      Fix bug#14186 select datefield is null not updated · 6020281e
      unknown 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. 
      
      
      sql/sql_select.cc:
        Fix bug#14186  select datefield is null not updated
        Remove static from remove_eq_conds()
      sql/sql_select.h:
         Fix bug#14186  select datefield is null not updated
        Added remove_eq_conds() prototype.
      mysql-test/r/update.result:
        Test case for  bug#14186  select datefield is null not updated
      mysql-test/t/update.test:
        Test case for  bug#14186  select datefield is null not updated
      sql/sql_update.cc:
        Fix bug#14186  select datefield is null not updated
        To mysql_update() added call to remove_eq_conds() to optimize conds and convert 'datefield is null' to 'datefield eq 0000-00-00'
      6020281e
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-14009 · 5e8515d9
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      sql/item_func.cc:
        Auto merged
      5e8515d9
    • unknown's avatar
      Merge mysql.com:/data0/mysqldev/lenz/mysql-4.0 · 62359c2d
      unknown authored
      into mysql.com:/data0/mysqldev/lenz/mysql-4.1
      
      
      netware/BUILD/compile-linux-tools:
        Auto merged
      62359c2d
    • unknown's avatar
      - cleanup: removed the empty NEW-RPMS directory and all references · ac22cdc5
      unknown authored
       - cleanup: removed obsolete support-files/MacOSX/make_mysql_pkg.pl
         script (we now use Do-pkg for building OS X packages)
      
      
      BitKeeper/deleted/.del-.cvsignore~4c7a1f88a5a62a24:
        Delete: NEW-RPMS/.cvsignore
      BitKeeper/deleted/.del-make_mysql_pkg.pl~caac82eb901cc206:
        Delete: support-files/MacOSX/make_mysql_pkg.pl
      netware/BUILD/compile-linux-tools:
         - removed reference to the NEW-RPMS directory
      netware/BUILD/compile-netware-END:
         - removed reference to the NEW-RPMS directory
      netware/BUILD/compile-netware-src:
         - removed reference to the NEW-RPMS directory
      ac22cdc5
    • unknown's avatar
      - after merge fixes · ae60d9dd
      unknown authored
      
      configure.in:
        Auto merged
      support-files/mysql.spec.sh:
         - after-merge fix
      ae60d9dd
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 987c33a9
      unknown authored
      into moonbone.local:/work/13855-bug-4.1-mysql
      
      
      987c33a9
    • unknown's avatar
      select.result: · fb94ffda
      unknown authored
        After merge fix
      
      
      mysql-test/r/select.result:
        After merge fix
      fb94ffda
    • unknown's avatar
      Manually merged · 111b40e1
      unknown authored
      
      include/config-netware.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/r/select.result:
        Manually merged fix for bug#13855
      mysql-test/t/select.test:
        Manuall merged fix for bug#13855
      111b40e1
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · e28a02ec
      unknown authored
      into  mysql.com:/home/alexi/dev/mysql-4.1-innobase
      
      
      e28a02ec