1. 06 Feb, 2008 1 commit
  2. 04 Feb, 2008 2 commits
    • unknown's avatar
      ndb - some warnings, debug errors · 69f41d63
      unknown authored
      
      ndb/src/common/debugger/SignalLoggerManager.cpp:
        some warnings, debug errors
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        some warnings, debug errors
      ndb/src/kernel/vm/pc.hpp:
        some warnings, debug errors
      69f41d63
    • unknown's avatar
      bug#34169 - fix pthread_t abuse · 066da030
      unknown authored
      
      ndb/src/ndbapi/Ndb.cpp:
        fix pthread_t abuse
      ndb/test/ndbapi/testOIBasic.cpp:
        fix pthread_t abuse
      066da030
  3. 31 Jan, 2008 4 commits
    • unknown's avatar
      ndb - bug#34107 - ndb api test case · 48d88798
      unknown authored
      
      ndb/test/ndbapi/testInterpreter.cpp:
        bug#34107 testInterpreter test case
      ndb/test/run-test/daily-basic-tests.txt:
        bug#34107 testInterpreter test case
      48d88798
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb · 699acec1
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug34107
      
      699acec1
    • unknown's avatar
      ndb - bug#34107 patch 2, ndb api · 330973bc
      unknown authored
      
      mysql-test/r/ndb_condition_pushdown.result:
        bug#34107 lower scanfilter max size to not hit TUP limit
      mysql-test/t/ndb_condition_pushdown.test:
        bug#34107 lower scanfilter max size to not hit TUP limit
      ndb/include/ndbapi/ndbapi_limits.h:
        bug#34107 lower scanfilter max size to not hit TUP limit
      330973bc
    • unknown's avatar
      ndb - bug#34107 patch 1, kernel · a16373be
      unknown authored
      
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        bug#34107 check stored proc overflow
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        bug#34107 check stored proc overflow
      ndb/src/kernel/blocks/dbtup/DbtupStoredProcDef.cpp:
        bug#34107 check stored proc overflow
      ndb/src/ndbapi/ndberror.c:
        bug#34107 check stored proc overflow
      a16373be
  4. 30 Jan, 2008 3 commits
    • unknown's avatar
      ndb - bug#34160 · 16945f42
      unknown authored
        make sure release of not added ptr does not corrupt hashtable
      
      16945f42
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 342021c5
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-ndb
      
      342021c5
    • unknown's avatar
      ndb - bug#30172 · ec106ca8
      unknown authored
        Backup can assert with "big" table definitions
        Correct condition before fetching next meta-table
        Increase meta-buffer, to cope with atleast 2 tables
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Correct condition, before fetching new meta-table
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Make sure atleast 2 tables can fix
      ec106ca8
  5. 27 Jan, 2008 2 commits
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb · 2913a716
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug31477
      
      2913a716
    • unknown's avatar
      ndb - bug#31477 - 5.0 · 7a795d47
      unknown authored
      
      mysql-test/r/ndb_bug31477.result:
        BitKeeper file /export/space/pekka/ndb/version/my50-bug31477/mysql-test/r/ndb_bug31477.result
      mysql-test/t/ndb_bug31477.test:
        BitKeeper file /export/space/pekka/ndb/version/my50-bug31477/mysql-test/t/ndb_bug31477.test
      ndb/src/common/util/NdbOut.cpp:
        missing comma, causing weird Uint64 printout
      ndb/test/ndbapi/testOIBasic.cpp:
        adjust params
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        bug#31477 - explicit rewrite of tuxQueryTh
        if active op then non-dirty scan enters lock queue via TUX
        instead of skipping the tuple
      ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp:
        bug#31477 - explicit rewrite of tuxQueryTh
        if active op then non-dirty scan enters lock queue via TUX
        instead of skipping the tuple
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        bug#31477 - explicit rewrite of tuxQueryTh
        if active op then non-dirty scan enters lock queue via TUX
        instead of skipping the tuple
      7a795d47
  6. 25 Jan, 2008 1 commit
  7. 23 Jan, 2008 9 commits
  8. 22 Jan, 2008 2 commits
    • unknown's avatar
      Fixed incorrect signature comment · 16cb8ee5
      unknown authored
      16cb8ee5
    • unknown's avatar
      DictCache.hpp, Ndb.hpp: · c163bd43
      unknown authored
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID and not retrieving to cache. Add new method to check tupleId before calling data node
      ndb_restore.result, ndb_restore.test:
        Changed test to use information_schema to check auto_increment
      DictCache.cpp, Ndb.cpp:
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID and not retrieving to cache. Add new method to check tupleId before calling data node. When setting the auto_increment value we'll also read up the new value, this is useful if we use the table the first time in this MySQL Server and haven't yet seen the NEXTID value. The kernel will avoid updating since it already has the value but will also read up the NEXTID value to ensure we don't need to do this any more time.
      ndb_auto_increment.result:
        Updated result file since it was incorrect
      
      
      ndb/include/ndbapi/Ndb.hpp:
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID and not retrieving to cache. Add new method to check tupleId before calling data node
      ndb/src/ndbapi/DictCache.hpp:
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID and not retrieving to cache. Add new method to check tupleId before calling data node
      ndb/src/ndbapi/DictCache.cpp:
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID
        and not retrieving to cache. Add new method to check tupleId before calling
        data node. When setting the auto_increment value we'll also read up the new
        value, this is useful if we use the table the first time in this MySQL Server
        and haven't yet seen the NEXTID value. The kernel will avoid updating since it
        already has the value but will also read up the NEXTID value to ensure we
        don't need to do this any more time.
      ndb/src/ndbapi/Ndb.cpp:
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID
        and not retrieving to cache. Add new method to check tupleId before calling
        data node. When setting the auto_increment value we'll also read up the new
        value, this is useful if we use the table the first time in this MySQL Server
        and haven't yet seen the NEXTID value. The kernel will avoid updating since
        it already has the value but will also read up the NEXTID value to ensure we
        don't need to do this any more time.
      mysql-test/r/ndb_restore.result:
        Changed test to use information_schema to check auto_increment
      mysql-test/t/ndb_restore.test:
        Changed test to use information_schema to check auto_increment
      mysql-test/r/ndb_auto_increment.result:
        Updated result file since it was incorrect
      c163bd43
  9. 10 Jan, 2008 7 commits
  10. 09 Jan, 2008 5 commits
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 34095e24
      unknown authored
      into  moonbone.local:/work/33675-bug-5.0-opt-mysql
      
      34095e24
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 40807adf
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B33133-5.0-opt
      
      
      sql/sql_base.cc:
        Auto merged
      40807adf
    • unknown's avatar
      Bug #33133: Views are not transparent · 5ffb9978
      unknown authored
      When resolving references we need to take into consideration
      the view "fields" and allow qualified access to them.
      Fixed by extending the reference resolution to process view
      fields correctly.
      
      
      mysql-test/r/func_group.result:
        Bug #33133: test case
      mysql-test/t/func_group.test:
        Bug #33133: test case
      sql/sql_base.cc:
        Bug #33133: allow qualified alias refs to view fields
      5ffb9978
    • unknown's avatar
      Fix for view.test. · 2c2ddc9d
      unknown authored
      the result should be added by 1 by the year(now()) function.
      
      
      mysql-test/r/view.result:
        SELECT (year(now())-year(DOB)) AS Age FROM t1 HAVING Age < 75; 
        the above statement in test file has a year(now()) function, 
        the result should increase by 1 from 2007 year to 2008 year.
      2c2ddc9d
    • unknown's avatar
      Merge gni@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb-bj · d4a53efb
      unknown authored
      into  dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.0/bug29851
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      d4a53efb
  11. 08 Jan, 2008 1 commit
    • unknown's avatar
      Bug#33675: Usage of an uninitialized memory by filesort in a subquery caused · 89cccc7c
      unknown authored
      server crash.
      
      The filesort implementation has an optimization for subquery execution which
      consists of reusing previously allocated buffers. In particular the call to
      the read_buffpek_from_file function might be skipped when a big enough buffer
      for buffer descriptors (buffpeks) is already allocated. Beside allocating
      memory for buffpeks this function fills allocated buffer with data read from
      disk. Skipping it might led to using an arbitrary memory as fields' data and
      finally to a crash.
      
      Now the read_buffpek_from_file function is always called. It allocates
      new buffer only when necessary, but always fill it with correct data.
      
      
      sql/filesort.cc:
        Bug#33675: Usage of an uninitialized memory by filesort in a subquery caused
        server crash.Now the read_buffpek_from_file function is always called. It allocates
        new buffer only when necessary, but always fill it with correct data.
      mysql-test/r/subselect.result:
        Added a test case for the bug#33675: Usage of an uninitialized memory by
        filesort in a subquery caused server crash.
      mysql-test/t/subselect.test:
        Added a test case for the bug#33675: Usage of an uninitialized memory by
        filesort in a subquery caused server crash.
      89cccc7c
  12. 07 Jan, 2008 1 commit
  13. 24 Dec, 2007 1 commit
    • unknown's avatar
      Fix for bug #33305: Test case in 'skip_grants' file need dynamic loading · 8d8ef7be
      unknown authored
                          to be compiled in
      
      The problem was that on a statically built server an attempt to create
      a UDF resulted in a different, but reasonable error ("Can't open shared
      library" instead of "UDFs are unavailable with the --skip-grant-tables
      option"), which caused a failure for the test case for bug #32020.
      
      Fixed by moving the test case for bug #32020 from skip_grants.test to a
      separate test to ensure that it is only run when the server is built
      with support for dynamically loaded libraries.
      
      
      mysql-test/r/skip_grants.result:
        Moved the test case for bug #32020 to a separate test.
      mysql-test/t/skip_grants.test:
        Moved the test case for bug #32020 to a separate test.
      mysql-test/r/udf_skip_grants.result:
        Moved the test case for bug #32020 to a separate test.
      mysql-test/t/udf_skip_grants-master.opt:
        Moved the test case for bug #32020 to a separate test.
      mysql-test/t/udf_skip_grants.test:
        Moved the test case for bug #32020 to a separate test.
      8d8ef7be
  14. 21 Dec, 2007 1 commit