1. 14 Nov, 2005 1 commit
    • unknown's avatar
      Bug#14406 GRANTS ON objects with non-ascii names borked after FLUSH PRIVILEGES · a2e5a9f9
      unknown authored
      ps_grant.result:
        Fixing result order.
      grant.result:
        Adding test case,
        fixing result order.
      grant.test:
        Adding test case.
      sql_acl.cc:
        Fixed that my_charset_latin1 was incorrectly used instead of system_charset_info.
        This problem was previously fixed by Ingo in 5.0.
        This patch is basically a backport of the same changes into 4.1.
      
      
      sql/sql_acl.cc:
        Bug#14406 GRANTS ON objects with non-ascii names borked after FLUSH PRIVILEGES
        Fixed that my_charset_latin1 was incorrectly used instead of system_charset_info.
        This problem was previously fixed by Ingo in 5.0.
        This patch is basically a backport of the same changes into 4.1.
      mysql-test/t/grant.test:
        Adding test case.
      mysql-test/r/grant.result:
        Adding test case,
        fixing result order.
      mysql-test/r/ps_grant.result:
        Fixing result order.
      a2e5a9f9
  2. 10 Nov, 2005 3 commits
  3. 09 Nov, 2005 1 commit
  4. 08 Nov, 2005 2 commits
  5. 07 Nov, 2005 2 commits
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 01cad639
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-4.1
      
      
      01cad639
    • unknown's avatar
      BUG#14480, attempt2: In CREATE ... SELECT ..., don't count the same field twice · 467deb4c
      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.
      467deb4c
  6. 05 Nov, 2005 3 commits
    • unknown's avatar
      Fix Bug#14672 Bug in deletion · b0829011
      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
      b0829011
    • unknown's avatar
      Fix Bug#13894 Server crashes on update of CSV table · 1b65c704
      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
      1b65c704
    • unknown's avatar
      mysql.spec.sh: · 0e878d7e
      unknown authored
        Always use bundled zlib
      
      
      support-files/mysql.spec.sh:
        Always use bundled zlib
      0e878d7e
  7. 04 Nov, 2005 1 commit
  8. 03 Nov, 2005 5 commits
  9. 01 Nov, 2005 6 commits
  10. 31 Oct, 2005 6 commits
  11. 29 Oct, 2005 4 commits
  12. 28 Oct, 2005 6 commits
    • unknown's avatar
      Fix for BUG#13814: in mi_pack_key(), when processing NULL value for TINYBLOB key segment, · 81882f71
      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
      81882f71
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · d5bb6606
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-bug14139
      
      
      d5bb6606
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 61e2ed9c
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
      
      
      61e2ed9c
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2d3b347c
      unknown authored
      into  mysql.com:/home/alexi/dev/mysql-4.1-10511
      
      
      2d3b347c
    • unknown's avatar
      Fix BUG#10511: Wrong padding of UCS2 CHAR columns in · 00a275e5
      unknown authored
       ON UPDATE CASCADE
      
      
      innobase/row/row0ins.c:
        Patch from Marko is applied
      00a275e5
    • unknown's avatar
      Fix bug #14138 ROLLUP and PROCEDURE ANALYSE() hang server · a7ed6ce4
      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.
      a7ed6ce4