1. 01 Jun, 2005 24 commits
  2. 31 May, 2005 16 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 8d5edfda
      unknown authored
      into siva.hindu.god:/opt/home/tim/m/50/a
      
      
      8d5edfda
    • unknown's avatar
      Merge · 10481cd0
      unknown authored
      
      mysql-test/r/create.result:
        SCCS merged
      mysql-test/t/create.test:
        SCCS merged
      10481cd0
    • unknown's avatar
      601b5bca
    • unknown's avatar
      Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-4.1 · e0fbac19
      unknown authored
      into xiphis.org:/usr/home/antony/work2/p4-bug10413.2
      
      
      e0fbac19
    • unknown's avatar
      Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement. · 57d4adf6
      unknown authored
      Hand merged from 4.0.
      
      
      sql/lock.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      57d4adf6
    • unknown's avatar
      Bug#10413 - Invalid column name is not rejected · 2b548fe9
      unknown authored
        Stop ignoring name parts and check for validity
      
      
      mysql-test/r/create.result:
        Test for bug#10413
      mysql-test/t/create.test:
        Test for bug#10413
      sql/sql_yacc.yy:
        Bug#10413
          Stop ignoring parts of fully qualified names.
      2b548fe9
    • unknown's avatar
      Fixed BUG#9529: Stored Procedures: No Warning on truncation of procedure name · 3f7b0f70
      unknown authored
                      during creation.
        Although it returns an error, consistent with the behaviour for other objects.
        (Unclear why we would allow the creation of SPs with truncated names.)
      
      
      mysql-test/r/sp-error.result:
        New test case for BUG#9529.
      mysql-test/t/sp-error.test:
        New test case for BUG#9529.
      sql/sp.cc:
        Check SP name length on creation (and drop).
      sql/sp.h:
        New status code for bad (too long) name.
      sql/sql_parse.cc:
        New status code for bad (too long) name.
      3f7b0f70
    • unknown's avatar
      WL#2286 - Compile MySQL w/YASSL support · b3d646e6
      unknown authored
      merge with latest yaSSL, move templates instantiation into separate file where it is possible
      
      
      extra/yassl/include/buffer.hpp:
        merge with latest yaSSL
      extra/yassl/include/crypto_wrapper.hpp:
        merge with latest yaSSL
      extra/yassl/include/socket_wrapper.hpp:
        merge with latest yaSSL
      extra/yassl/include/yassl_imp.hpp:
        merge with latest yaSSL
      extra/yassl/include/yassl_types.hpp:
        merge with latest yaSSL
      extra/yassl/mySTL/helpers.hpp:
        merge with latest yaSSL
      extra/yassl/mySTL/list.hpp:
        merge with latest yaSSL
      extra/yassl/mySTL/memory.hpp:
        merge with latest yaSSL
      extra/yassl/mySTL/vector.hpp:
        merge with latest yaSSL
      extra/yassl/src/Makefile.am:
        Include template_instnt.cpp into libyassl_a_SOURCES.
      extra/yassl/src/buffer.cpp:
        merge with latest yaSSL
      extra/yassl/src/cert_wrapper.cpp:
        merge with latest yaSSL
      extra/yassl/src/crypto_wrapper.cpp:
        merge with latest yaSSL
      extra/yassl/src/handshake.cpp:
        merge with latest yaSSL
      extra/yassl/src/lock.cpp:
        merge with latest yaSSL
      extra/yassl/src/log.cpp:
        merge with latest yaSSL
      extra/yassl/src/socket_wrapper.cpp:
        merge with latest yaSSL
      extra/yassl/src/ssl.cpp:
        merge with latest yaSSL
      extra/yassl/src/timer.cpp:
        merge with latest yaSSL
      extra/yassl/src/yassl_error.cpp:
        merge with latest yaSSL
      extra/yassl/src/yassl_imp.cpp:
        merge with latest yaSSL
      extra/yassl/src/yassl_int.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/include/algebra.hpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/include/asn.hpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/include/block.hpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/include/hash.hpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/include/integer.hpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/include/misc.hpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/include/modes.hpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/include/runtime.hpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/Makefile.am:
        Include template_instnt.cpp into libtaocrypt_a_SOURCES.
      extra/yassl/taocrypt/src/aestables.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/algebra.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/arc4.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/asn.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/coding.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/dh.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/dsa.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/file.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/integer.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/misc.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/random.cpp:
        merge with latest yaSSL
      extra/yassl/taocrypt/src/rsa.cpp:
        merge with latest yaSSL
      b3d646e6
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 190aafb4
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      sql/item.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      190aafb4
    • unknown's avatar
      olap.result: · 1b8a49bd
      unknown authored
        Fixed bug #10982.
      item.cc:
        Fixed bug #10982. In the function Item_ref::val_decimal
        by mistake the method Item_ref::val_decimal was used
        instead of Item_ref::val_decimal_result.
      
      
      sql/item.cc:
        Fixed bug #10982. In the function Item_ref::val_decimal
        by mistake the method Item_ref::val_decimal was used
        instead of Item_ref::val_decimal_result.
      mysql-test/r/olap.result:
        Fixed bug #10982.
      1b8a49bd
    • unknown's avatar
      olap.result: · 134f660e
      unknown authored
        Post merge corrections.
      
      
      mysql-test/r/olap.result:
        Post merge corrections.
      134f660e
    • unknown's avatar
      Small bug fix in SP item reusal (debug mode only). · d8b01c1e
      unknown authored
      
      sql/item.cc:
        Get the size before trashing (in debug mode only).
      d8b01c1e
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · c50f4be3
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      sql/item_subselect.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      c50f4be3
    • unknown's avatar
      Post-review fixes of BUG#9937: Crash on call to stored procedure. · 2e113ada
      unknown authored
      
      sql/item_cmpfunc.cc:
        Put the buff parameter back in check_stack_overrun().
      sql/item_func.cc:
        Put the buff parameter back in check_stack_overrun().
      sql/item_subselect.cc:
        Put the buff parameter back in check_stack_overrun().
      sql/mysql_priv.h:
        Put the buff parameter back in check_stack_overrun().
      sql/mysqld.cc:
        Style fixes.
      sql/sp_head.cc:
        Put the buff parameter back in check_stack_overrun().
      sql/sql_parse.cc:
        Put the buff parameter back in check_stack_overrun(), and added comment explaining the purpose.
      sql/table.cc:
        Put the buff parameter back in check_stack_overrun().
      2e113ada
    • unknown's avatar
      Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement. · cf2188ca
      unknown authored
      1.) Added a new option to mysql_lock_tables() for ignoring FLUSH TABLES.
      Used the new option in create_table_from_items().
      It is necessary to prevent the SELECT table from being reopend.
      It would get new storage assigned for its fields, while the
      SELECT part of the command would still use the old (freed) storage.
      2.) Protected the CREATE TABLE and CREATE TABLE ... SELECT commands
      against a global read lock. This prevents a deadlock in
      CREATE TABLE ... SELECT in conjunction with FLUSH TABLES WITH READ LOCK
      and avoids the creation of new tables during a global read lock.
      3.) Replaced set_protect_against_global_read_lock() and
      unset_protect_against_global_read_lock() by
      wait_if_global_read_lock() and start_waiting_global_read_lock()
      in the INSERT DELAYED handling.
      
      
      mysql-test/r/create.result:
        Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
        Added test results.
      mysql-test/t/create.test:
        Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
        Added tests which do not require concurrency.
      sql/lock.cc:
        Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
        Added a new option to mysql_lock_tables() for ignoring FLUSH TABLES.
        Changed the parameter list.
        Removed two unnecessary functions. Their functionality is included in
        wait_if_global_read_lock() and start_waiting_global_read_lock().
      sql/mysql_priv.h:
        Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
        Changed the declaration of mysql_lock_tables().
        Added definitions for the new options.
      sql/sql_acl.cc:
        Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
        Adjusted mysql_lock_tables() calls to the new argument list.
      sql/sql_base.cc:
        Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
        Adjusted mysql_lock_tables() calls to the new argument list.
      sql/sql_handler.cc:
        Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
        Adjusted mysql_lock_tables() calls to the new argument list.
      sql/sql_insert.cc:
        Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
        Replaced set_protect_against_global_read_lock() and
        unset_protect_against_global_read_lock() by
        wait_if_global_read_lock() and start_waiting_global_read_lock()
        in the INSERT DELAYED handling.
        Adjusted mysql_lock_tables() calls to the new argument list.
      sql/sql_parse.cc:
        Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
        Protected the CREATE TABLE and CREATE TABLE ... SELECT commands
        against a global read lock. This prevents a deadlock in
        CREATE TABLE ... SELECT in conjunction with FLUSH TABLES WITH READ LOCK
        and avoids the creation of new tables during a global read lock.
      sql/sql_table.cc:
        Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
        Adjusted mysql_lock_tables() calls to the new argument list.
        Used the new option in create_table_from_items().
      cf2188ca
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · b1480cc0
      unknown authored
      into mysql.com:/home/gluh/MySQL/Merge/mysql-5.0
      
      
      b1480cc0