1. 08 Nov, 2005 2 commits
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · d6b809f5
      unknown authored
      into  c-5608e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-4.1
      
      d6b809f5
    • unknown's avatar
      Bug #12796: Record lost in HEAP table · 938f6a88
      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
      
      938f6a88
  2. 07 Nov, 2005 1 commit
  3. 05 Nov, 2005 3 commits
    • unknown's avatar
      Fix Bug#14672 Bug in deletion · 3b09d2d2
      unknown authored
      
      mysql-test/r/csv.result:
        correct result file
      mysql-test/t/csv.test:
        Add test for a bug
      sql/examples/ha_tina.cc:
        Add O_APPEND flag to my_open. We should always add rows to the end of file
      3b09d2d2
    • unknown's avatar
      Fix Bug#13894 Server crashes on update of CSV table · e703da18
      unknown authored
      
      mysql-test/r/csv.result:
        update result file
      mysql-test/t/csv.test:
        Add test for a bug
      sql/examples/ha_tina.cc:
        sort function should return reverted values for chains to be sorted in
        the right orded. don't do a strange memmove
      e703da18
    • unknown's avatar
      mysql.spec.sh: · db6ad4cb
      unknown authored
        Always use bundled zlib
      
      
      support-files/mysql.spec.sh:
        Always use bundled zlib
      db6ad4cb
  4. 04 Nov, 2005 1 commit
  5. 03 Nov, 2005 5 commits
  6. 01 Nov, 2005 6 commits
  7. 31 Oct, 2005 5 commits
  8. 29 Oct, 2005 4 commits
  9. 28 Oct, 2005 8 commits
  10. 27 Oct, 2005 5 commits
    • unknown's avatar
      Fix bug#14186 select datefield is null not updated · 0c094f2a
      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'
      0c094f2a
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-14009 · 2d9654a5
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      sql/item_func.cc:
        Auto merged
      2d9654a5
    • unknown's avatar
      Merge mysql.com:/data0/mysqldev/lenz/mysql-4.0 · 657c894f
      unknown authored
      into mysql.com:/data0/mysqldev/lenz/mysql-4.1
      
      
      netware/BUILD/compile-linux-tools:
        Auto merged
      657c894f
    • unknown's avatar
      - cleanup: removed the empty NEW-RPMS directory and all references · 2dd71980
      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
      2dd71980
    • unknown's avatar
      - after merge fixes · d8819d1f
      unknown authored
      
      configure.in:
        Auto merged
      support-files/mysql.spec.sh:
         - after-merge fix
      d8819d1f