1. 10 Jun, 2005 1 commit
  2. 09 Jun, 2005 30 commits
  3. 08 Jun, 2005 9 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 2e43fc33
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-5.0-bgmd
      
      
      sql/sql_yacc.yy:
        Auto merged
      2e43fc33
    • unknown's avatar
      Disable dynamic SQL in stored routines. · 3fbdaf36
      unknown authored
      This is to close Bug#10975, Bug#7115, Bug#10605 
      This feature will be implemented in a future release.
      
      
      mysql-test/r/sp-error.result:
        Test results fixed (test coverage for disabled Dynamic SQL in SP).
      mysql-test/t/sp-error.test:
        Test coverage to disable Dynamic SQL in stored routines.
      sql/sql_yacc.yy:
        Disable dynamic SQL in stored routines.
      3fbdaf36
    • unknown's avatar
      Manual merge · c6c49859
      unknown authored
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      c6c49859
    • unknown's avatar
      Fix for bug #11158 "Can't perform multi-delete in stored procedure". · 4e0bbc1b
      unknown authored
      In order to make multi-delete SP friendly we need to have all table 
      locks for the elements of main statement table list properly set 
      at the end of parsing.
      
      Also performed small cleanup: We don't need relink_tables_for_multidelete()
      any longer since the only case now when TABLE_LIST::correspondent_table
      is non-zero are tables in auxilary table list of multi-delete and these
      tables are handled specially in mysql_multi_delete_prepare().
      
      
      mysql-test/r/sp-threads.result:
        Added test case for bug #11158 "Can't perform multi-delete in stored
        procedure".
      mysql-test/t/sp-threads.test:
        Added test case for bug #11158 "Can't perform multi-delete in stored
        procedure".
      sql/mysql_priv.h:
        - Removed third argument from the declaration of multi_delete_precheck()
          as nowdays we calculate number of tables in multi-delete from which
          we are going to delete rows right at the end of statement parsing.
        - Introduced definition of multi_delete_set_locks_and_link_aux_tables()
          which is responsible for propagation of proper table locks from
          multi-delete's auxilary table list to the main list and binding
          corresponding tables in these two lists.
      sql/sql_base.cc:
        Removed relink_tables_for_multidelete() routine and its invocations.
        We don't need them in 5.0 since the only case now when
        TABLE_LIST::correspondent_table is non-zero are tables in auxilary table
        list of multi-delete and these tables are handled specially in
        mysql_multi_delete_prepare().
      sql/sql_lex.h:
        LEX::table_count
          Added description of new role of this LEX member for multi-delete. 
          Now for this statement we store number of tables from which we should
          delete records there.
      sql/sql_parse.cc:
        multi_delete_precheck():
          Moved code which is responsible for iterating through auxilary table
          list and binding its elements with corresponding elements of main
          table list, and properly updating locks in it to separate function -
          multi_delete_set_locks_and_link_aux_tables(). This is because in order
          to make multi-delete SP friendly we need to have all locks set properly
          at the end of statement parsing. So we are introducing new function
          which will be called from parser.
          We also calculate number of tables from which we are going to perform
          deletions there and store this number for later usage in
          LEX::table_count.
          Also removed some no longer needed code.
      sql/sql_prepare.cc:
        mysql_test_multidelete():
          Now multi_delete_precheck() takes only two arguments, so we don't
          need to pass fake third parameter.
      sql/sql_yacc.yy:
        delete:
          In order to make multi-delete SP friendly we need to have all table 
          locks for the elements of main statement table list properly set 
          at the end of parsing.
      4e0bbc1b
    • unknown's avatar
      WL#2286 - Compile MySQL w/YASSL support · fca6c2fe
      unknown authored
      Fix for yaSSL compilation failure on ia64 platform.
      
      
      extra/yassl/taocrypt/include/types.hpp:
        Do not use assembler when yaSSL compiled with icc on ia64 platform.
      fca6c2fe
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0537106b
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.9764
      
      
      0537106b
    • unknown's avatar
      Fix for bug #10896 (0.00 > -0.00) · 1c5c678c
      unknown authored
      
      mysql-test/r/type_newdecimal.result:
        test result fixed
      mysql-test/t/type_newdecimal.test:
        test case added
      sql/my_decimal.h:
        we neede to check for zero here not to get -0.00
      1c5c678c
    • unknown's avatar
      Merge mysql.com:/var/tmp/sslbug/mysql-4.0 · 226ecf1d
      unknown authored
      into mysql.com:/var/tmp/sslbug/mysql-4.1
      
      
      include/my_global.h:
        Auto merged
      226ecf1d
    • unknown's avatar
      Fix for · 59445ce4
      unknown authored
      BUG#10675 - MySQL fails to build with --openssl on Mac OS X 10.4
      BUG#11150 - HP-UX yaSSL/OpenSSL configure/header problem
      Remove obsolete code.
      
      
      include/my_global.h:
        Obsolete code removed. OpenSSL doesn't have crypt anymore (it was dropped in ~2003).
        This patch fixes compilation failures with both OpenSSL and yaSSL on systems where
        crypt was defined in unistd.h.
        Conclusion is we do not use OpenSSL's crypt unless it wasn't defined in
        unistd.h/crypt.h and it was defined in old OpenSSL.
      59445ce4