1. 17 Aug, 2004 2 commits
    • unknown's avatar
      Fix bugs + include check of batch_byte_size and · b484d263
      unknown authored
      use of first_batch_size
      
      
      ndb/include/kernel/ndb_limits.h:
        New maximum size
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        New error code
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Need to go to Uint16 when batch size > 255
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Uint8 => Uint16 when batch_size > 255
        New and changed methods for acc ptr's and
        checking end of scan batch (incl. check of batch_byte_size
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Uint8 => Uint16 when batch_size > 255
        New and changed methods for acc ptr's and
        checking end of scan batch (incl. check of batch_byte_size
      b484d263
    • unknown's avatar
      Two level data access of operation i-value insted of huge fixed · 43e0fe5c
      unknown authored
      size array.
      Added a number of subroutines for this
      
      43e0fe5c
  2. 11 Aug, 2004 8 commits
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/users/mronstrom/wl2025 · 87941a3c
      unknown authored
      into mysql.com:/Users/mikron/wl2025
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      87941a3c
    • unknown's avatar
      Finalised first step of scan optimisations · 1104b150
      unknown authored
      Everything is working but a few things is still remaining
      
      
      ndb/include/kernel/ndb_limits.h:
        New maximum batch size and total batch size over cluster
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Only two options
        1) One fragment per node
        2) One fragment in total
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        First step preparing for a dynamic array for scan_acc_op_ptr.
        Prepared by hiding all accesses by subroutines.
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        First step preparing for a dynamic array for scan_acc_op_ptr.
        Prepared by hiding all accesses by subroutines.
        Removed some dead code
      1104b150
    • unknown's avatar
      Merge build.mysql.com:/home/bk/mysql-4.1-ndb · 7ba8b50b
      unknown authored
      into build.mysql.com:/users/mronstrom/wl2025
      
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      7ba8b50b
    • unknown's avatar
      Fix of a nasty bug, small but hard to find · 624dbe5c
      unknown authored
      Some small printout fixes
      
      
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Mixed up Hexadecimal and decimal notation, cost me 5 hours of
        debugging to find, grrr..
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Fixed some declaration so that new bigger info fits in variables
      ndb/test/ndbapi/testScanPerf.cpp:
        Fix for printing int's instead of Uint64 which for some reason
        caused problems on my Mac.
        Also print performance in each loop.
      624dbe5c
    • unknown's avatar
      Add indexes to test toolkit · cef7299d
      unknown authored
      
      ndb/test/include/NDBT_Table.hpp:
        Remove unused parameter
      ndb/test/include/NDBT_Tables.hpp:
        Add existsOk
      ndb/test/src/NDBT_Tables.cpp:
        Rename C2_* tables to I{123}
        Add indexes to I{123}
      ndb/test/src/NDBT_Test.cpp:
        Rename C2_* tables to I{123}
        Add indexes to I{123}
      cef7299d
    • unknown's avatar
      Mismatched parantases #ifdef · de56af88
      unknown authored
      de56af88
    • unknown's avatar
      print test tables · 95186efa
      unknown authored
      
      ndb/test/run-test/daily-basic-tests.txt:
        Use T13 (bigger) for testBasic -n Fill
      95186efa
    • unknown's avatar
      Fix uninit variable bug "surfaced" by removing mem init in SimulatedBlock · 0f5b2c52
      unknown authored
      
      ndb/include/kernel/signaldata/StartInfo.hpp:
        Fix signal len
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Put init in constructor
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Send corrent start_inforef
        Init NodeRecord::allowNodeStart
      ndb/src/kernel/vm/SimulatedBlock.cpp:
        Remove all mem-inits so that debug/release don't differ
      0f5b2c52
  3. 10 Aug, 2004 25 commits
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 0038f4a6
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      
      ndb/src/common/transporter/Transporter.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      0038f4a6
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/bug-4586 · 80e40954
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/mgmsrv/Services.cpp:
        Auto merged
      80e40954
    • unknown's avatar
      merge bug 4586 · a7282ccd
      unknown authored
      a7282ccd
    • unknown's avatar
    • unknown's avatar
      Cset exclude: joreland@mysql.com|ChangeSet|20040805155331|12859 · 45c74ad3
      unknown authored
      
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        Exclude
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Exclude
      45c74ad3
    • unknown's avatar
      bug#4586 · 0886efd0
      unknown authored
      Removed printouts
      
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Removed printouts
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Removed printouts
      0886efd0
    • unknown's avatar
      bug-4586 · 3f82ef6d
      unknown authored
      
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        Disallow expand during redo log execution and reeanble it after
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Disallow expand during redo log execution and reeanble it after
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Maintain list of fragment which should be reenabled after redo log execution
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        Maintain list of fragment which should be reenabled after redo log execution
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Reenable when send START_RECCONF
      3f82ef6d
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · dab96e0e
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      dab96e0e
    • unknown's avatar
      ndb test fixes · eb9f742f
      unknown authored
      
      ndb/test/ndbapi/testIndex.cpp:
        test fixes
      ndb/test/ndbapi/testNodeRestart.cpp:
        test fixes
      ndb/test/run-test/daily-devel-tests.txt:
        disable non function test
      eb9f742f
    • unknown's avatar
      Missing result handling in bug fix for bug#3912 · 2559122c
      unknown authored
      2559122c
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 7d4fd8d9
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1-ndb
      
      7d4fd8d9
    • unknown's avatar
      Merge build.mysql.com:/home/bk/mysql-4.1-ndb · f803a514
      unknown authored
      into build.mysql.com:/users/mronstrom/wl2025
      
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      f803a514
    • unknown's avatar
      Bug fix for bug#3912 · a1b9fb51
      unknown authored
      a1b9fb51
    • unknown's avatar
      ndb_mgmd occasional core-dumps · f56c6fa6
      unknown authored
      clear connect flag before doing disconnect
      
      
      ndb/src/common/transporter/Transporter.cpp:
        clear connect flag before doing disconnect
      f56c6fa6
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1793e9ac
      unknown authored
      into mysql.com:/Users/mikron/mysql-4.1
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
        Auto merged
      1793e9ac
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · ef2ed501
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1-ndb
      
      
      mysql-test/r/ndb_alter_table.result:
        Auto merged
      mysql-test/r/ndb_basic.result:
        Auto merged
      mysql-test/r/ndb_lock.result:
        Auto merged
      mysql-test/t/ndb_alter_table.test:
        Auto merged
      mysql-test/t/ndb_basic.test:
        Auto merged
      mysql-test/t/ndb_lock.test:
        Auto merged
      ndb/src/ndbapi/Ndb.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      ef2ed501
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · f4d38e24
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      f4d38e24
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 01dd5293
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      01dd5293
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a11f0355
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-bg4508
      
      a11f0355
    • unknown's avatar
      Fix for bug #4508 "CONVERT_TZ() function with new time zone as param crashes server". · cfa6cf90
      unknown authored
      Instead of trying to open time zone tables during calculation of CONVERT_TZ() function
      or setting of @@time_zone variable we should open and lock them with the rest of 
      statement's table (so we should add them to global table list) and after that use such 
      pre-opened tables for loading info about time zones.
      
      
      mysql-test/r/timezone2.result:
        Added test for bug #4508
      mysql-test/t/timezone2.test:
        Added test for bug #4508
      scripts/mysql_create_system_tables.sh:
        Added one more test time zone to time zone tables which is needed for test for bug #4508.
      sql/item_create.cc:
        CONVERT_TZ() now is treated as special function.
      sql/item_create.h:
        CONVERT_TZ() now is treated as special function.
      sql/item_timefunc.cc:
        Item_func_convert_tz now uses list of pre-opened time zone tables instead of trying to
        open them ad-hoc. Also it avoid calling of current_thd.
      sql/item_timefunc.h:
        Added comment describing special nature of CONVERT_TZ() function.
        Optimization: Added own fix_fields() method and tz_tables member for caching pointer
        to list of open time zone tables to Item_func_convert_tz class.
      sql/lex.h:
        CONVERT_TZ() now is treated as special function.
      sql/mysql_priv.h:
        Removed function which is no longer used.
      sql/set_var.cc:
        Now my_tz_find() accepts list of pre-opened time zone tables as last argument 
        and no longer needs pointer to current THD.
      sql/set_var.h:
        Exported sys_time_zone, which is now used in sql_yacc.yy for quick finding out if we are
        setting @@time_zone variable.
      sql/sql_base.cc:
        Moved propagation of pointers to open tables from global list to local select lists to
        open_and_lock_tables(), also added implicit usage of time zone tables as condition for
        such propagation.
      sql/sql_lex.cc:
        Added fake_time_zone_tables_list which is used to indicate that time zone tables are
        implicitly used in statement.
        st_select_lex_unit::create_total_list(): if time zone tables are implicitly used in
        statement add them to global tables list.
      sql/sql_lex.h:
        Added LEX::time_zone_tables_used member which is used to indicate that time zone tables 
        are implicitly used in this statement (by pointing to fake_time_zone_table_list) and 
        for holding pointer to those tables after they've been opened.
      sql/sql_parse.cc:
        We should also create global table list if statement uses time zone tables implicitly.
        Added initialization of LEX::time_zone_tables_used to mysql_query_init().
      sql/sql_prepare.cc:
        We should also create global table list if statement uses time zone tables implicitly.
      sql/sql_select.cc:
        Removed functions which are no longer used.
      sql/sql_yacc.yy:
        CONVERT_TZ() and @@time_zone variable are handled in special way since they implicitly 
        use time zone tables.
      sql/tztime.cc:
        Fix for bug #4508 "CONVERT_TZ() function with new time zone as param crashes server".
        If statement uses CONVERT_TZ() function or @@time_zone variable is set then it implicitly
        uses time zone tables. We need to open and lock such tables with all other tables of 
        such statement.
        
        All code responsible for opening table was removed from tz_load_from_db() and function was 
        renamed to tz_load_from_open_tables() (which uses list of pre-opened tables).
        We also have new functions for construction and initialization of table list of time
        zone tables.
        my_tz_find() now always require list of pre-opened time zone tables and no longer needs
        current THD. So we have to pre-open them in my_tz_init().
        Also now we try to open time zone tables only if they were found during startup.
      sql/tztime.h:
        New function for construction of table list of time zone tables my_tz_get_table_list().
        Now my_tz_find() requires list of pre-pened time zone tables instead of current thread.
      cfa6cf90
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · dc3a5040
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      dc3a5040
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · cfc8bee4
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      cfc8bee4
    • unknown's avatar
      Fixing typos in big comment (libmysql): · 2e616bbb
      unknown authored
      you need to check in to find out another couple of typos
      
      
      libmysql/libmysql.c:
        Typos in comments fixed.
      2e616bbb
    • unknown's avatar
      Comments in libmysql (prepared statements API) · 0cb0d120
      unknown authored
      
      libmysql/libmysql.c:
        Comments to mysql_stmt_bind_param(). A couple of typos in existing 
        comments fixed.
      0cb0d120
    • unknown's avatar
  4. 09 Aug, 2004 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · fb3509c7
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-bg4756
      
      fb3509c7
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 6d6b4b3b
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      6d6b4b3b
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · b6119eaa
      unknown authored
      into mysql.com:/Users/mikron/mysql-4.1-ndb
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      b6119eaa
    • unknown's avatar
      Correction + move of code to NDB_DEBUG_FULL from VM_TRACE · a4632d5c
      unknown authored
      
      ndb/include/transporter/TransporterDefinitions.hpp:
        Correction for bad math
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Moved heavy check code to NDB_DEBUG_FULL
      a4632d5c
    • unknown's avatar
      First step for WL 2025 · b8074a47
      unknown authored
      Not yet fully working
      Scan reads work fine, not scan updates
      
      
      ndb/include/kernel/ndb_limits.h:
        Introducing a new parameter plus increasing the max no of parallel
        operations per scan in LQH, first step in WL 2025
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Only need one clientOpPtr
        Concurrency is batch_size to use in this scan
        batch_byte_size is max no of bytes sent in a batch
        first_batch_size is the batch size in the first batch
      ndb/include/kernel/signaldata/ScanTab.hpp:
        apiOperationPtr is sent as long signal data
        batch_byte_size and first_batch_size is needed for further transport
        to LQH
        batch size can now be bigger than before
      ndb/include/kernel/signaldata/TcKeyReq.hpp:
        More concurrency means more size for scanInfo also in TCKEYREQ
      ndb/include/ndbapi/NdbReceiver.hpp:
        New subroutine to caclculate batch size and similar parameters
      ndb/include/ndbapi/NdbScanOperation.hpp:
        batch size calculated before sending, not necessary to store anymore
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Updated signal printer for SCAN_TABREQ
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Fixes to make it compile, not fixed for BACKUP being useful yet
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Removed parameters no longer needed and added some new ones.
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Fix for cmaxAccOps that was using the wrong constant
        Removed old code
        New SCAN_FRAGREQ signal
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        New variables
        Removed dead code
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        New SCAN_TABREQ, SCAN_FRAGREQ, SCAN_FRAGCONF and SCAN_TABCONF
        Fixed some error handling to be more efficient
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Fixes to make it compile, not yet usable for SUMA features
      ndb/src/kernel/vm/Configuration.cpp:
        Fix for wrong constant
      ndb/src/ndbapi/NdbApiSignal.cpp:
        Fix for not using constants
      ndb/src/ndbapi/NdbApiSignal.hpp:
        Added possibility to get signal sending node from signal
      ndb/src/ndbapi/NdbConnectionScan.cpp:
        Moved declaration
      ndb/src/ndbapi/NdbReceiver.cpp:
        New routine to calculate batch_size etc.
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Various fixes for sending SCAN_TABREQ and other stuff
      b8074a47