1. 28 Jun, 2006 1 commit
    • unknown's avatar
      ndb - bug#20442 · 70fa1747
      unknown authored
        force close of scan (of outstanding scan_frag)
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Force close of scan in when not doing committed read scan
      70fa1747
  2. 27 Jun, 2006 1 commit
    • unknown's avatar
      ndb - bug#20252 · 43de64db
      unknown authored
        allow user to specify scan batch size in readTuples
      
      
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        Allow user to specify batch size
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Allow user to specify batch size
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Fix so that last row works even if batch is complete
      ndb/src/ndbapi/NdbReceiver.cpp:
        Allow user yo specify batch size
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Allow user to specify batchsize
      43de64db
  3. 26 Jun, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 2b44fd97
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/vm/SafeCounter.hpp:
        Auto merged
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      2b44fd97
    • unknown's avatar
      ndb - bug#20683 · fe039db6
      unknown authored
        part 1 - make sure return code is propagated from request tracker
      
      
      ndb/src/kernel/vm/RequestTracker.hpp:
        propagate return value
      ndb/src/kernel/vm/SafeCounter.hpp:
        make sure object is not initialized in case of seize() failure, to make sure destructor doesnt assert
      fe039db6
  4. 22 Jun, 2006 1 commit
    • unknown's avatar
      ndb - bug#19164 · c290dde2
      unknown authored
        set max value on ports
      
      
      ndb/src/mgmsrv/ConfigInfo.cpp:
        set max vlue on ports
      c290dde2
  5. 21 Jun, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · e1ed86bb
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      e1ed86bb
    • unknown's avatar
      ndb - bug#20197 · 4ffb274b
      unknown authored
        also close scan which are in "delivered" state, as it's impossible to release locks afterwards
      
        backport from 5.1
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        ndb - bug#20197
          also close scan which are in "delivered" state, as it's impossible to release locks afterwards
      4ffb274b
  6. 01 Jun, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 11c05d2d
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      11c05d2d
    • unknown's avatar
      ndb - bug#20185 · 0eb906ef
      unknown authored
        Dont be too aggressive in Dbtc::nodeFailCheckTransaction
        let it timeout by 1, so that it does not assert that it has waited too long
        old impl. set timeotu value to 0, making timeout = (ctcTimer - 0) which could be quite big.
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        error codes
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        2 new error inserts
        7030 - delay in GCP_PREPARE until checkLocalNodefailComplete is true
        7031 - delay in GCP_PREPARE and die
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Dont set api con timer to 0, as this might trigger asserion in timeoutfound lab if state == PREPARE_TO_COMMIT
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        autotest
      0eb906ef
  7. 19 May, 2006 1 commit
    • unknown's avatar
      ndb - bug#19930 · 19c2d194
      unknown authored
        Add mutex surronding sessions, as ndb_mgmd now actively tries to go and  "purge stale sessions"
      
      
      ndb/include/util/SocketServer.hpp:
        Add mutex surronding sessions, as ndb_mgmd now actively tries to go and  "purge stale sessions"
      ndb/src/common/util/SocketServer.cpp:
        Add mutex surronding sessions, as ndb_mgmd now actively tries to go and  "purge stale sessions"
      ndb/src/mgmsrv/Services.cpp:
        Add mutex surronding sessions, as ndb_mgmd now actively tries to go and  "purge stale sessions"
      19c2d194
  8. 08 May, 2006 1 commit
  9. 07 May, 2006 10 commits
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0eccfdd2
      unknown authored
      into  rurik.mysql.com:/home/igor/mysql-5.0
      
      
      mysql-test/r/rpl_user_variables.result:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/t/rpl_user_variables.test:
        Manual merge
      0eccfdd2
    • unknown's avatar
      Post-merge fixes. · 8b9596ac
      unknown authored
      8b9596ac
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/dev/mysql-4.1-0 · 02110c8f
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      mysql-test/r/having.result:
        Auto merged
      mysql-test/t/having.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      mysql-test/r/rpl_user_variables.result:
        Manual merge
      mysql-test/t/rpl_user_variables.test:
        Manual merge
      sql/sql_lex.cc:
        Manual merge
      sql/sql_prepare.cc:
        Manual merge
      sql/sql_select.cc:
        Manual merge
      02110c8f
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9c4d5e70
      unknown authored
      into  rurik.mysql.com:/home/igor/mysql-4.1
      
      9c4d5e70
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · b245f68e
      unknown authored
      into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.0-bug19136
      
      
      sql/sql_select.cc:
        Auto merged
      b245f68e
    • unknown's avatar
      Bug#19136: Crashing log-bin and uninitialized user variables in a derived table · a423451f
      unknown authored
      recalculating results
      
      
      mysql-test/r/rpl_user_variables.result:
        fixing results
      a423451f
    • unknown's avatar
    • unknown's avatar
      Merge mysql.com:/usr_rh9/home/elkin.rh9/4.1 · ddb829c0
      unknown authored
      into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.0-bug19136
      
      
      sql/item_func.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/r/rpl_user_variables.result:
        manual merge use local
      mysql-test/t/rpl_user_variables.test:
        manual merge use version 5.0's "show binlog events from 98"
      ddb829c0
    • unknown's avatar
      Merge mysql.com:/usr_rh9/home/elkin.rh9/MySQL/BARE/4.1 · 9bc4cc75
      unknown authored
      into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/FIXES/4.1-bug19136_unass_user_var
      
      
      sql/item_func.cc:
        Auto merged
      9bc4cc75
    • unknown's avatar
      Fixed bug #14927. · 39c73589
      unknown authored
      A query with a group by and having clauses could return a wrong
      result set if the having condition contained a constant conjunct 
      evaluated to FALSE.
      It happened because the pushdown condition for table with
      grouping columns lost its constant conjuncts.
      Pushdown conditions are always built by the function make_cond_for_table
      that ignores constant conjuncts. This is apparently not correct when
      constant false conjuncts are present.
      
      
      
      mysql-test/r/having.result:
        Added a test case for bug #14927.
      mysql-test/t/having.test:
        Added a test case for bug #14927.
      sql/sql_lex.cc:
        Fixed bug #14927.
        Initialized fields for having conditions in  st_select_lex::init_query().
      sql/sql_lex.h:
        Fixed bug #14927.
        Added a field to restore having condititions for execution in SP and PS.
      sql/sql_prepare.cc:
        Fixed bug #14927.
        Added code to restore havinf conditions for execution in SP and PS.
      sql/sql_select.cc:
        Fixed bug #14927.
        Performed evaluation of constant expressions in having clauses.
        If the having condition contains a constant conjunct that is always false
        an empty result set is returned after the optimization phase.
        In this case the corresponding EXPLAIN command now returns 
        "Impossible HAVING" in the last column.
      39c73589
  10. 06 May, 2006 14 commits
  11. 05 May, 2006 5 commits
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · f7e008fc
      unknown authored
      into  hundin.mysql.fi:/home/jani/mysql-5.0merge_4_1_2nd
      
      f7e008fc
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8923c174
      unknown authored
      into  hundin.mysql.fi:/home/jani/mysql-5.0merge_4_1_2nd
      
      8923c174
    • unknown's avatar
      Merge mysql.com:/space/pekka/ndb/version/my50 · 982f9b7b
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my50-work
      
      982f9b7b
    • unknown's avatar
      Bug#19136: Crashing log-bin and uninitialized user variables in a derived table · ca33fa8a
      unknown authored
      The reason of the bug is in that `get_var_with_binlog' performs missed
      assingment of
      the variables as side-effect. Doing that it eventually calls
      `free_underlaid_joins' to pass as an argument `thd->lex->select_lex' of the lex
      which belongs to the user query, not 
      to one which is emulated i.e SET @var1:=NULL.
      
      
      `get_var_with_binlog' is refined to supply a temporary lex to sql_set_variables's stack.
      
      
      mysql-test/r/rpl_user_variables.result:
        results changed
      mysql-test/t/rpl_user_variables.test:
        a problematic query to be binlogged is added
      sql/item_func.cc:
        BUG#19136: Crashing log-bin and uninitialized user variables
        
        The reason of the bug is in that how `get_var_with_binlog' performs missed
        assingment of the variables: `free_underlaid_joins' gets as an argument `thd->lex->select_lex'
        which belongs to the user query, not to one which is emulated i.e SET @var1:=NULL.
        
        `get_var_with_binlog' is refined to supply a temporary lex to sql_set_variables's stack.
      ca33fa8a
    • unknown's avatar
      Merge mysql.com:/home/tomash/src/mysql_ab/mysql-4.1 · 0760000a
      unknown authored
      into  mysql.com:/home/tomash/src/mysql_ab/mysql-4.1-bug16372
      
      0760000a