1. 07 Oct, 2004 1 commit
    • unknown's avatar
      A fix for Bug#5748 "Prepared statement with BETWEEN and bigint values · 5eba8d3a
      unknown authored
      crashes mysqld": implementation for a generic item tree modifications
      registry. Every item tree modification which should be rolled back for
      subsequent execution of a prepared statement or stored procedure should
      be saved in the registry. All such modifications are rolled back at once
      during cleanup stage of PS.
      Actual fix for the bug just adds a call to register modifications to
      convert_constant_item.
      Post review fixes implemented.
      
      
      mysql-test/r/ps.result:
        A fix for bug#5748, test results fixed.
      mysql-test/t/ps.test:
        A test case for Bug#5748 "Prepared statement with BETWEEN and bigint 
        values crashes mysqld"
      sql/item.cc:
        Fix for Bug#5748 "Prepared statement with BETWEEN and bigint values
        crashes mysqld":
        First step in removing up item-specific cleanups: now all such
        tree modifications should be done using the genericm mechanism implemented
        in this changeset.
      sql/item.h:
        Fix for Bug#5748 "Prepared statement with BETWEEN and bigint values
        crashes mysqld": no need for an item-specific change record any more.
      sql/item_cmpfunc.cc:
        A fix for Bug#5748 "Prepared statement with BETWEEN and bigint 
        values crashes mysqld": register item tree transformation performed by
        convert_constant_item.
      sql/sql_class.cc:
        Implementation for item tree transformations registry.
      sql/sql_class.h:
        Declarations, necessary for the tree transformations registry.
      sql/sql_parse.cc:
        Assert that the item tree transformations registry is not used for 
        conventional execution.
      sql/sql_prepare.cc:
        Use of the item tree modifications registry in prepared statements:
        rollback all modifications in the end of statement prepare and execute.
        Also we now always set thd->current_arena to be able to determine that
        this is an execution of prepared statement inside the registry code.
      tests/client_test.c:
        A typo fixed.
      5eba8d3a
  2. 06 Oct, 2004 2 commits
  3. 05 Oct, 2004 15 commits
  4. 04 Oct, 2004 22 commits
    • unknown's avatar
      InnoDB: Fix ALTER TABLE t DISCARD TABLESPACE (Bug #5851) · e8cab054
      unknown authored
      
      innobase/include/ut0mem.h:
        Improve documentation of ut_strlenq(), ut_strcpyq() and ut_memcpyq()
      innobase/include/ut0mem.ic:
        Improve documentation of ut_strlenq()
      innobase/row/row0mysql.c:
        row_discard_tablespace_for_mysql(): Add quotes around table_name
        in DISCARD_TABLESPACE_PROC (Bug #5851)
      innobase/ut/ut0mem.c:
        Improve documentation of ut_strcpyq() and ut_memcpyq()
      e8cab054
    • unknown's avatar
      lock0lock.c: · af9cd295
      unknown authored
        Fix compiler warning
      
      
      innobase/lock/lock0lock.c:
        Fix compiler warning
      af9cd295
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a88c3ecc
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-ryan
      
      a88c3ecc
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · 38b56629
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      38b56629
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 6e98f327
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-ryan
      
      6e98f327
    • unknown's avatar
      e3b0f962
    • unknown's avatar
      corrected merge error rgarding NDB_CONNECTSTRING · 469778e6
      unknown authored
      469778e6
    • unknown's avatar
      added debug printouts in ndbapi · 8e5ecdff
      unknown authored
      8e5ecdff
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 6ef00f96
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-ryan
      
      6ef00f96
    • unknown's avatar
      Made TIMESTAMP NULL columns without explicit DEFAULT value to be always · 2cb2efc2
      unknown authored
      treated as DEFAULT NULL columns (independently from their position in
      table).
      
      (still to be discussed with Monty, Brian, Trudy et al. before push)
      
      
      mysql-test/r/type_timestamp.result:
        Update test after making TIMESTAMP NULL columns without explicit 
        DEFAULT value to be always treated as DEFAULT NULL columns 
        (independently from their position in table).
      mysql-test/t/type_timestamp.test:
        Update test after making TIMESTAMP NULL columns without explicit 
        DEFAULT value to be always treated as DEFAULT NULL columns 
        (independently from their position in table).
      sql/sql_parse.cc:
        add_field_to_list(): made TIMESTAMP NULL columns without explicit 
        DEFAULT value to be always treated as DEFAULT NULL columns (independently
        from their position in table). This also simplifies code a bit.
      2cb2efc2
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · 512ac7e2
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      512ac7e2
    • unknown's avatar
      typo · 78d27d3e
      unknown authored
      78d27d3e
    • unknown's avatar
      Merge · 7aa2ae20
      unknown authored
      
      sql/sql_show.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        SCCS merged
      7aa2ae20
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 210a174b
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      210a174b
    • unknown's avatar
      bug #5872, transactions should only be restarted with transaction.on flag off... · 6052df4c
      unknown authored
      bug #5872, transactions should only be restarted with transaction.on flag off if execute_commit has been performed
      added testcase for this
      use force send for all executes
      
      
      mysql-test/r/ndb_blob.result:
        added testcase for alter table of blob from ndb to myisam
      mysql-test/t/ndb_blob.test:
        added testcase for alter table of blob from ndb to myisam
      sql/ha_ndbcluster.cc:
        bug #5872, transactions should only be restarted with transaction.on flag off if execute_commit has been performed
        use force send for all executes
      6052df4c
    • unknown's avatar
      A couple of typos fixed. · 785b43be
      unknown authored
      
      sql/item.cc:
        A typo fixed in a comment, which is probably not valid any more
      sql/sql_class.h:
        no such class Ttem_subselect.
      785b43be
    • unknown's avatar
      To allow compilation on Tru64, the MySQL code should not mess · c94607db
      unknown authored
      with the system-reserved (and system-defined) '_REENTRANT' 
      CPP identifier.
      Especially, it must not be "undefine"d, because the Tru64 compiler
      needs it if threads are enabled.
      
      
      include/my_pthread.h:
        On Tru64, '_REENTRANT' is set by the compiler when the "-pthread" 
        option is given, and it must be set when the system's 'pthread.h' is 
        included (or else a '#error' is activated).
        So it must not be undef'ed, and it should not be def'ed either, as it
        is a system-reserved CPP identifier with which we should not mess
        anyway - it is risky to use it!
        Build on all platforms was checked privately, change caused no errors!
      c94607db
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 98241658
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      98241658
    • unknown's avatar
      addes auto pointer class for using with my_ functions · a5364d2f
      unknown authored
      switch to using my_ for heap allocations
      
      
      ndb/include/util/NdbAutoPtr.hpp:
        addes auto pointer class for using with my_ functions
      ndb/src/mgmclient/CommandInterpreter.cpp:
        switch to using my_ for heap allocations
      a5364d2f
    • unknown's avatar
      sql_show.cc: · 88d9bcbd
      unknown authored
        ctype_recode does not hang anymore. Small fix after Marko's change.
      
      
      sql/sql_show.cc:
        ctype_recode does not hang anymore. Small fix after Marko's change.
      88d9bcbd
    • unknown's avatar
      Merge · 2060ef21
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        SCCS merged
      2060ef21
    • unknown's avatar
      use new function stop_ndbcluster · e4de5a86
      unknown authored
      e4de5a86