1. 11 Aug, 2004 2 commits
  2. 10 Aug, 2004 11 commits
    • unknown's avatar
    • 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 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
  3. 09 Aug, 2004 13 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
      mysqld.cc: · 297d9d8b
      unknown authored
        minor option description change.
      
      
      sql/mysqld.cc:
        minor option description change.
      297d9d8b
    • unknown's avatar
      mysql-test ndb_index_unique · 6867b4c5
      unknown authored
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Compensate for "extra" lqhkeyreqrec during index read (when IgnoreError)
      ndb/src/mgmsrv/main.cpp:
        Read corrent local node id
      ndb/tools/waiter.cpp:
        Yet another user of LocalConfig
      6867b4c5
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6405db2b
      unknown authored
      into kite-hub.kitebird.com:/src/extern/MySQL/bk/mysql-4.1
      
      6405db2b
    • unknown's avatar
      2ad0ead4
    • unknown's avatar
      d75974a3
    • unknown's avatar
      bug#4529 · 951b9186
      unknown authored
      
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        Separate connect and all/fetch
      ndb/include/mgmcommon/LocalConfig.hpp:
        Use BaseString
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Separate connect and all/fetch
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        Removed useless onlyNodeId
      ndb/src/kernel/main.cpp:
        Separeted Configuration fetch/setup
      ndb/src/kernel/vm/Configuration.cpp:
        Separeted Configuration fetch/setup
      ndb/src/kernel/vm/Configuration.hpp:
        Separeted Configuration fetch/setup
      ndb/src/mgmapi/mgmapi.cpp:
        Fixed some return codes
      ndb/src/mgmclient/main.cpp:
        LocalConfig update
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Put mutex around reserving node'ids
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Put mutex around reserving node'ids
      ndb/src/mgmsrv/MgmtSrvrConfig.cpp:
        Changes ConfigRetreiver interface
      ndb/src/mgmsrv/Services.cpp:
        Allow reserve same id twice
      ndb/src/mgmsrv/main.cpp:
        Ignore SIGPIPE
      ndb/src/ndbapi/TransporterFacade.cpp:
        ConfigRetriever interface
      951b9186
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 074eceea
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      074eceea
    • unknown's avatar
      bug#4369 - MySQL 4.1 regression in Alter table/tmp table from hash. · 2dd804e2
      unknown authored
      Solved performance problems by fixing a typo, which prevented enabling of write buffer.
      
      
      sql/ha_myisam.cc:
        bug#4369 - MySQL 4.1 regression in Alter table/tmp table from hash.
        Solved performance problems by fixing a typo, which prevented enabling of write buffer.
        Supplied no test case, as it required too much data to see the performance regression.
      2dd804e2
    • unknown's avatar
      configure.in: · 1cfad390
      unknown authored
        Collation name fixes.
      
      
      configure.in:
        Collation name fixes.
      1cfad390
    • unknown's avatar
      testTransaction -n FRead* · 7fad4e50
      unknown authored
      testTransaction -n *Scan*
      testTimeout -n *
      
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        Added DUMP for tc appl timeout
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Send tckey conf if m_exec_flags is set
        Added dump for appl timeout
      ndb/test/include/HugoOperations.hpp:
        Add scanRead
      ndb/test/ndbapi/testTimeout.cpp:
        Reenable
      ndb/test/ndbapi/testTransactions.cpp:
        Fix scan test cases
      ndb/test/run-test/daily-basic-tests.txt:
        reenable timeout-tests
        added testTransaction -n Scan* testcases
      ndb/test/src/HugoOperations.cpp:
        Fix scan
      ndb/test/src/NDBT_Test.cpp:
        Drop table before test...(if createTable==true)
      7fad4e50
    • unknown's avatar
      mysqld.cc: · 795137fe
      unknown authored
        Put --help first, reorder other options so that they are
        alphabetical. (shouldn't have to use grep to find an option.)
        Move group_concat_max_len to variable part of list.
        Rename character_set_server, collation_server,
        shared_memory_base_name to character-set-server,
        collation-server, shared-memory-base-name.
        Make default-collation message refer to collation-server
        rather than character-set-server.
      
      
      sql/mysqld.cc:
        Put --help first, reorder other options so that they are
        alphabetical. (shouldn't have to use grep to find an option.)
        Move group_concat_max_len to variable part of list.
        Rename character_set_server, collation_server,
        shared_memory_base_name to character-set-server,
        collation-server, shared-memory-base-name.
        Make default-collation message refer to collation-server
        rather than character-set-server.
      795137fe
  4. 08 Aug, 2004 4 commits
  5. 07 Aug, 2004 4 commits
    • unknown's avatar
      cleanup · d11111ef
      unknown authored
      
      mysql-test/r/select_found.result:
        explain added
      mysql-test/t/select_found.test:
        cleanup. 5000-char long line removed :)
      sql/sql_select.cc:
        reverted
      d11111ef
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · a5355aa5
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      a5355aa5
    • unknown's avatar
      bug#4881 - crash in ALTER .. RENAME if rename fails · 24927df1
      unknown authored
      
      sql/sql_select.cc:
        typos in comments
        harmless (hopefully) bug in optimizer fixed
      24927df1
    • unknown's avatar
      Merge · 8f9a4c01
      unknown authored
      
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        Auto merged
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      ndb/src/common/util/SocketServer.cpp:
        Auto merged
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      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/DbtupGen.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        Auto merged
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      ndb/src/kernel/vm/SimulatedBlock.cpp:
        Auto merged
      ndb/src/kernel/vm/SimulatedBlock.hpp:
        Auto merged
      8f9a4c01
  6. 06 Aug, 2004 6 commits
    • unknown's avatar
      Jammed Qmgr a bit more · 7e89c72a
      unknown authored
      Fixed Bug #4935, initialise before connecting again
      Some lines removed
      
      7e89c72a
    • unknown's avatar
      libmysql.c: · 46f81334
      unknown authored
        Can't return value from void function
      
      
      libmysql/libmysql.c:
        Can't return value from void function
      46f81334
    • unknown's avatar
      Bug#4586 + TC fix · 43a352c3
      unknown authored
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Operations with marker always leads to abort even
        if IgnoreError was supplied (limitation)
        
        Check marker before marking operation as aborted (which removes marker)
      ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
        Init cnoOfAllocatedPages after returnCommonArea
      43a352c3
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1 · 290b4178
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1
      
      290b4178
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · b7c2e700
      unknown authored
      into mysql.com:/home/jonas/src/ll
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupSystemRestart.cpp:
        Auto merged
      b7c2e700
    • unknown's avatar
      Fixed ndb backup bug · 53834a45
      unknown authored
      
      ndb/src/kernel/blocks/backup/Backup.hpp:
        SCAN_FRAGCONF contains length of key(s) aswell
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Send correct signal length
      53834a45