1. 22 Nov, 2005 1 commit
    • unknown's avatar
      Recursion support made for SP (BUG#10100). · 164ce4c5
      unknown authored
      
      client/mysqltest.c:
        An expected error messages hiding from the log if disable_result_log is in force.
      mysql-test/r/sp-dynamic.result:
        The test expanded for case of allowed/disalowed recursion.
      mysql-test/r/sp-error.result:
        Error messages changed.
        Test of bug11394() made with allowed recursion.
      mysql-test/r/sp.result:
        Tests for recursion.
      mysql-test/r/trigger.result:
        Check that triggers are not affected by this patch.
      mysql-test/r/variables.result:
        Test of max_sp_recursion_depth variable.
      mysql-test/t/sp-dynamic.test:
        The test expanded for case of allowed/disalowed recursion.
      mysql-test/t/sp-error.test:
        Error messages changed.
        Test of bug11394() made with allowed recursion.
      mysql-test/t/sp.test:
        Tests for recursion.
      mysql-test/t/trigger.test:
        Check that triggers are not affected by this patch.
      mysql-test/t/variables.test:
        Test of max_sp_recursion_depth variable.
      sql/item_func.cc:
        sp_find_function() and sp_find_procedure() joined to sp_find_routine()
          function as it was mentioned in TODO.
      sql/mysqld.cc:
        max_sp_recursion_depth variable added.
      sql/set_var.cc:
        max_sp_recursion_depth variable added.
      sql/share/errmsg.txt:
        An error message changed.
        An error message added.
      sql/sp.cc:
        sp_find_function() and sp_find_procedure() joined to sp_find_routine()
          function as it was mentioned in TODO.
        Temory LEX is allocated on a stack, not on a heap.
        Recursion support added for stored procedures.
      sql/sp.h:
        sp_find_function() and sp_find_procedure() joined to sp_find_routine()
          function as it was mentioned in TODO.
      sql/sp_head.cc:
        Initialization of new sp_head fields to get correct list of instances
          contained one instance only.
        Stack requirement for SP instruction is increased.
        Stack free space is checked before mem root initialisation to avoid
          memory leak.
        Pointer to the free instance management added before and after
          SP execution.
      sql/sp_head.h:
        New sp_head variables added to support inst of instances of SP
          for recursion and pointer on ths first free to use instance.
      sql/sql_base.cc:
        open_table() consume a lot of stack space so we check free stack space before it.
      sql/sql_class.h:
        max_sp_recursion_depth variable added.
      sql/sql_parse.cc:
        sp_find_function() and sp_find_procedure() joined to sp_find_routine()
          function as it was mentioned in TODO.
      164ce4c5
  2. 08 Nov, 2005 2 commits
  3. 07 Nov, 2005 7 commits
    • unknown's avatar
      Merge mysql.com:/home/cps/mysql/trees/mysql-4.1 · ce648a30
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
      
      
      sql/examples/ha_tina.cc:
        Auto merged
      support-files/mysql.spec.sh:
        SCCS merged
      ce648a30
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 · b8e4fa6f
      unknown authored
      into mysql.com:/M50/mysql-5.0
      
      
      b8e4fa6f
    • 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
      mysql-test/r/connect.result + mysql-test/t/connect.test · af2e0dc4
      unknown authored
      Replace the full socket path name, not just a directory component. bug#14720
      
      
      mysql-test/r/connect.result:
        In cases where "--tmpdir=" is given to the test run, the socket file is not created below
        "$MYSQL_TEST_DIR" but rather within this directory. So the "--replace_result" should not 
        be done to a directory in the path but rather to the complete path name of the socket file. 
        bug#14720
      mysql-test/t/connect.test:
        In cases where "--tmpdir=" is given to the test run, the socket file is not created below
        "$MYSQL_TEST_DIR" but rather within this directory. So the "--replace_result" should not
        be done to a directory in the path but rather to the complete path name of the socket file.
        bug#14720
      af2e0dc4
    • unknown's avatar
      Bug#13707 - Server crash with INSERT DELAYED on MyISAM table · 9725d32b
      unknown authored
      Initialized 'ptr' for a newly instantiated varstring field.
      This is required by INSERT DELAYED.
      
      No test case. This is a migration issue. There are two shell
      scripts attached to the bug report. They can be used for testing.
      
      
      sql/field.cc:
        Bug#13707 - Server crash with INSERT DELAYED on MyISAM table
        Initialized 'ptr' for a newly instantiated varstring field.
        This is required by INSERT DELAYED.
      9725d32b
    • unknown's avatar
      Fix for BUG#14703 "Valgrind error when inserting 0 into a BIT column (like in type_bit.test)": · 50f48187
      unknown authored
      test "length" first (otherwise when "length" is 0, the *from invalid access still triggers a Valgrind warning).
      I wrote to the Valgrind authors in case this is something fixable in Valgrind (normally the
      decision to issue a warning is based on the simulated CPU condition code, which should not be undefined here).
      
      
      BUILD/compile-pentium64-valgrind-max:
        putting this script in sync with compile-pentium-valgrind-max, otherwise we didn't have the federated engine compiled in.
      mysql-test/r/read_only.result:
        result update
      sql/field.cc:
        To avoid a Valgrind warning running the type_bit test: test "length" first (otherwise when "length" is 0, the *from invalid access still triggers a Valgrind warning).
      50f48187
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · 21447f17
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.0
      
      
      21447f17
  4. 06 Nov, 2005 2 commits
  5. 05 Nov, 2005 4 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
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 34da7170
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-oct03-push
      
      
      sql/mysql_priv.h:
        Auto merged
      34da7170
    • unknown's avatar
      mysql.spec.sh: · 0e878d7e
      unknown authored
        Always use bundled zlib
      
      
      support-files/mysql.spec.sh:
        Always use bundled zlib
      0e878d7e
  6. 04 Nov, 2005 13 commits
  7. 03 Nov, 2005 11 commits