1. 09 Nov, 2005 1 commit
  2. 08 Nov, 2005 2 commits
  3. 07 Nov, 2005 2 commits
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-4.1 · bbe49b4e
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-4.1
      
      bbe49b4e
    • unknown's avatar
      BUG#14480, attempt2: In CREATE ... SELECT ..., don't count the same field twice · c8971fa8
      unknown authored
      when calculating table->null_fields.
      
      
      mysql-test/r/create.result:
        Testcase for BUG#14480
      mysql-test/t/create.test:
        Testcase for BUG#14480
      sql/sql_table.cc:
        BUG#14480: For CREATE ... SELECT ... a field list passed to mysql_prepare_table() contains
        instances of create_field for both create-list and select-list. mysql_prepare_table() 
        matches elements that refer to the same field, and joins them together. When the "join"  
        is performed, both of create_field structures has already been counted in "null_fields". 
        
        This fix makes sure that "null_fields" contains the correct value after two create_field 
        structures have been joined.
      c8971fa8
  4. 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
  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
    • unknown's avatar
      Fix for BUG#13814: in mi_pack_key(), when processing NULL value for TINYBLOB key segment, · c96b7a4d
      unknown authored
      do advance the source pointer over 2 bytes that specify value length.
      
      
      myisam/mi_key.c:
        Fix for BUG#13814: in mi_pack_key(), when processing NULL value for TINYBLOB key segment,
        do advance the source pointer over 2 bytes that specify value length (for NULL value the 
        format is: null_marker 0x01, value length 0x00 0x00, data: 0x00 keyseg->length times).
        We need to advance over 2 bytes separately as keyseg->length doesn't include them.
      mysql-test/r/myisam.result:
        Testcase for BUG#13814
      mysql-test/t/myisam.test:
        Testcase for BUG#13814
      c96b7a4d
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · c7398a33
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-bug14139
      
      c7398a33
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9fa6b1e2
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
      
      9fa6b1e2
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 537a30d1
      unknown authored
      into  mysql.com:/home/alexi/dev/mysql-4.1-10511
      
      537a30d1
    • unknown's avatar
      Fix BUG#10511: Wrong padding of UCS2 CHAR columns in · 00d328e4
      unknown authored
       ON UPDATE CASCADE
      
      
      innobase/row/row0ins.c:
        Patch from Marko is applied
      00d328e4
    • unknown's avatar
      Fix bug #14138 ROLLUP and PROCEDURE ANALYSE() hang server · b5fccb70
      unknown authored
      Procedure analyse() redefines select's fields_list. setup_copy_fields() assumes
      that fields_list is a part of all_fields_list. Because select have only 
      3 columns and analyse() redefines it to have 10 columns, int overrun in
      setup_copy_fields() occurs and server goes to almost infinite loop.
      
      Because fields_list used not only to send data ad fields types, it's wrong 
      to allow procedure redefine it. This patch separates select's fileds_list 
      and procedure's one. Now if procedure is present, copy of fields_list is 
      created in procedure_fields_list and it is used for sending data and fields.
      
      
      mysql-test/t/analyse.test:
        Test case for bug #14138  ROLLUP and PROCEDURE ANALYSE() hang server
      mysql-test/r/analyse.result:
        Test case for bug #14138  ROLLUP and PROCEDURE ANALYSE() hang server
      sql/sql_select.h:
        Fix bug #14138  ROLLUP and PROCEDURE ANALYSE() hang server
        To JOIN  Added separate fields_list for procedure.
      sql/sql_select.cc:
        Fix bug #14138  ROLLUP and PROCEDURE ANALYSE() hang server
        SELECT's fields_list and procedure's fields_list made split. If procedure is defined
        then procedure's fields_list is used to send fields and data.
      b5fccb70
    • unknown's avatar
      Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0 · 78f3127e
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
      
      
      include/config-netware.h:
        Auto merged
      78f3127e
    • unknown's avatar
      NetWare specific change to use a LibC API instead of a · c66d83e5
      unknown authored
      kernel function to prevent CPU hogs.
      
      c66d83e5
    • unknown's avatar
      - fixed RPM spec file list after merge, removed dupes · 0f11a8f1
      unknown authored
      
      support-files/mysql.spec.sh:
         - fixed file list after merge, removed dupes
      0f11a8f1
  11. 27 Oct, 2005 2 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