1. 30 Sep, 2005 1 commit
  2. 29 Sep, 2005 1 commit
    • unknown's avatar
      Bug #13231 mysqltest: fails to dectect when mysql_next_result fails · b4f41433
      unknown authored
       - Packets out of order when reading cached data stored by a normal select from a ps or vice versa.
       - Add pkt_nr to query cache flags 
      
      
      mysql-test/r/query_cache.result:
        Update test results
        Add the resultsets that wasn't there before.
      mysql-test/t/query_cache.test:
        Improve test to call queries from both a regular statment and a statement inside a stored procedure.
      sql/mysql_priv.h:
        Add pkt_nr to query cache flags
      sql/sql_cache.cc:
        Set pkt_nr in flags before retrieving/storing a query in the cache
      b4f41433
  3. 21 Sep, 2005 1 commit
    • unknown's avatar
      Bug #13231 mysqltest: fails to dectect when mysql_next_result fails · d770fdce
      unknown authored
       - Added functionality to check errors returned from mysql_next_result
       - Exit from mysqltest when and unexpected error occurs.
       - The above fixes reveal problems with rpl000009, sp-error and query_cache-
       - Fix sp-error by adding an expected error
       - Fix rpl000009 by not sending "ok" from mysql_create_db when called with silent flag from load_master_data
       - Fix query_cache in separate patch
      
      
      client/mysqltest.c:
        Check and handle error after mysql_next_result
        Change several verbose_msg to die so that the error is properly reported
        Clean up of error handling code in run_query_stmt, check all errors and use common
        function handle_error.
      mysql-test/r/mysqltest.result:
        mysqltest now dies when a query fails with wrong errno
      mysql-test/r/sp-error.result:
        Update test result to match the expected error from calling the sp closing a cursor that is not open.
      mysql-test/t/sp-error.test:
        Add missing --error 1326 before call to sp that closes a already closed cursor.
        Add test for bug9367
      sql/sql_db.cc:
        Don't send ok in mysql_create_db if silent flag is set.
      d770fdce
  4. 15 Sep, 2005 22 commits
    • unknown's avatar
      Fix errmsg.txt · 7866bf64
      unknown authored
      
      sql/share/errmsg.txt:
        Remove english error message, it does not belong there
      7866bf64
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · b20c94d0
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      b20c94d0
    • unknown's avatar
      858a7746
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · 84023b7b
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      84023b7b
    • unknown's avatar
      Makefile: · 0c3bb2f8
      unknown authored
        new file
      
      
      0c3bb2f8
    • unknown's avatar
      merge · b45d9f1c
      unknown authored
      b45d9f1c
    • unknown's avatar
      .del-readme.txt~b8bfcc7df24862f9: · 8cb57f59
      unknown authored
        Delete: storage/ndb/ndbapi-examples/ndbapi_async_example/readme.txt
      .del-ndbapi_async.cpp~319189569fb659ec:
        Delete: storage/ndb/ndbapi-examples/ndbapi_async_example/ndbapi_async.cpp
      .del-Makefile~79de1c081ceb33e9:
        Delete: storage/ndb/ndbapi-examples/ndbapi_async_example/Makefile
      .del-ndbapi_async1.cpp~2995dac9b963a0d:
        Delete: storage/ndb/ndbapi-examples/ndbapi_async_example1/ndbapi_async1.cpp
      .del-Makefile~75b59c8ae729df88:
        Delete: storage/ndb/ndbapi-examples/ndbapi_async_example1/Makefile
      .del-ndbapi_event.cpp~c5d949802966180:
        Delete: storage/ndb/ndbapi-examples/ndbapi_event_example/ndbapi_event.cpp
      .del-Makefile~9b32217af2a3145:
        Delete: storage/ndb/ndbapi-examples/ndbapi_event_example/Makefile
      .del-ndbapi_retries.cpp~7301496d8c1c310a:
        Delete: storage/ndb/ndbapi-examples/ndbapi_retries_example/ndbapi_retries.cpp
      .del-Makefile~39711027c2d962ff:
        Delete: storage/ndb/ndbapi-examples/ndbapi_retries_example/Makefile
      .del-ndbapi_simple_index.cpp~4b95a4d71808b5b6:
        Delete: storage/ndb/ndbapi-examples/ndbapi_simple_index_example/ndbapi_simple_index.cpp
      .del-Makefile~27fcbb1f51b14aa7:
        Delete: storage/ndb/ndbapi-examples/ndbapi_simple_index_example/Makefile
      .del-readme.txt~c54f2dc2297fa97:
        Delete: storage/ndb/ndbapi-examples/ndbapi_scan_example/readme.txt
      .del-ndbapi_scan.cpp~14ed2aa9a5d9e597:
        Delete: storage/ndb/ndbapi-examples/ndbapi_scan_example/ndbapi_scan.cpp
      .del-Makefile~896f3a0fcdc499eb:
        Delete: storage/ndb/ndbapi-examples/ndbapi_scan_example/Makefile
      .del-ndbapi_simple.cpp~80962179f3c2f5b8:
        Delete: storage/ndb/ndbapi-examples/ndbapi_simple_example/ndbapi_simple.cpp
      .del-Makefile~2bb0971c2e0576ef:
        Delete: storage/ndb/ndbapi-examples/ndbapi_simple_example/Makefile
      .del-mgmapi_logevent.cpp~f1e7cf3e70edc4:
        Delete: storage/ndb/ndbapi-examples/mgmapi_logevent_example/mgmapi_logevent.cpp
      .del-Makefile~8c7f0da8e0e08db6:
        Delete: storage/ndb/ndbapi-examples/mgmapi_logevent_example/Makefile
      
      
      BitKeeper/deleted/.del-Makefile~8c7f0da8e0e08db6:
        Delete: storage/ndb/ndbapi-examples/mgmapi_logevent_example/Makefile
      BitKeeper/deleted/.del-mgmapi_logevent.cpp~f1e7cf3e70edc4:
        Delete: storage/ndb/ndbapi-examples/mgmapi_logevent_example/mgmapi_logevent.cpp
      BitKeeper/deleted/.del-Makefile~2bb0971c2e0576ef:
        Delete: storage/ndb/ndbapi-examples/ndbapi_simple_example/Makefile
      BitKeeper/deleted/.del-ndbapi_simple.cpp~80962179f3c2f5b8:
        Delete: storage/ndb/ndbapi-examples/ndbapi_simple_example/ndbapi_simple.cpp
      BitKeeper/deleted/.del-Makefile~896f3a0fcdc499eb:
        Delete: storage/ndb/ndbapi-examples/ndbapi_scan_example/Makefile
      BitKeeper/deleted/.del-ndbapi_scan.cpp~14ed2aa9a5d9e597:
        Delete: storage/ndb/ndbapi-examples/ndbapi_scan_example/ndbapi_scan.cpp
      BitKeeper/deleted/.del-readme.txt~c54f2dc2297fa97:
        Delete: storage/ndb/ndbapi-examples/ndbapi_scan_example/readme.txt
      BitKeeper/deleted/.del-Makefile~27fcbb1f51b14aa7:
        Delete: storage/ndb/ndbapi-examples/ndbapi_simple_index_example/Makefile
      BitKeeper/deleted/.del-ndbapi_simple_index.cpp~4b95a4d71808b5b6:
        Delete: storage/ndb/ndbapi-examples/ndbapi_simple_index_example/ndbapi_simple_index.cpp
      BitKeeper/deleted/.del-Makefile~39711027c2d962ff:
        Delete: storage/ndb/ndbapi-examples/ndbapi_retries_example/Makefile
      BitKeeper/deleted/.del-ndbapi_retries.cpp~7301496d8c1c310a:
        Delete: storage/ndb/ndbapi-examples/ndbapi_retries_example/ndbapi_retries.cpp
      BitKeeper/deleted/.del-Makefile~9b32217af2a3145:
        Delete: storage/ndb/ndbapi-examples/ndbapi_event_example/Makefile
      BitKeeper/deleted/.del-ndbapi_event.cpp~c5d949802966180:
        Delete: storage/ndb/ndbapi-examples/ndbapi_event_example/ndbapi_event.cpp
      BitKeeper/deleted/.del-Makefile~75b59c8ae729df88:
        Delete: storage/ndb/ndbapi-examples/ndbapi_async_example1/Makefile
      BitKeeper/deleted/.del-ndbapi_async1.cpp~2995dac9b963a0d:
        Delete: storage/ndb/ndbapi-examples/ndbapi_async_example1/ndbapi_async1.cpp
      BitKeeper/deleted/.del-Makefile~79de1c081ceb33e9:
        Delete: storage/ndb/ndbapi-examples/ndbapi_async_example/Makefile
      BitKeeper/deleted/.del-ndbapi_async.cpp~319189569fb659ec:
        Delete: storage/ndb/ndbapi-examples/ndbapi_async_example/ndbapi_async.cpp
      BitKeeper/deleted/.del-readme.txt~b8bfcc7df24862f9:
        Delete: storage/ndb/ndbapi-examples/ndbapi_async_example/readme.txt
      8cb57f59
    • unknown's avatar
      merge error · 519ebe2b
      unknown authored
      519ebe2b
    • unknown's avatar
      ndb-wl2325.patch · 2ff26b97
      unknown authored
      
      storage/ndb/include/debugger/EventLogger.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/kernel/GlobalSignalNumbers.h:
        Import patch ndb-wl2325.patch
      storage/ndb/include/kernel/NodeInfo.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/kernel/signaldata/AlterTab.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/kernel/signaldata/CreateEvnt.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/kernel/signaldata/CreateTab.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/kernel/signaldata/DropTab.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/kernel/signaldata/EventReport.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/kernel/signaldata/SumaImpl.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/mgmapi/mgmapi.h:
        Import patch ndb-wl2325.patch
      storage/ndb/include/mgmapi/mgmapi_config_parameters.h:
        Import patch ndb-wl2325.patch
      storage/ndb/include/mgmapi/ndb_logevent.h:
        Import patch ndb-wl2325.patch
      storage/ndb/include/ndbapi/Ndb.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/ndbapi/NdbDictionary.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/ndbapi/NdbError.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/ndbapi/NdbEventOperation.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/ndbapi/ndb_cluster_connection.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/include/ndbapi/ndberror.h:
        Import patch ndb-wl2325.patch
      storage/ndb/ndbapi-examples/Makefile:
        Import patch ndb-wl2325.patch
      storage/ndb/src/common/debugger/EventLogger.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/common/debugger/Makefile.am:
        Import patch ndb-wl2325.patch
      storage/ndb/src/common/debugger/signaldata/SignalNames.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/common/debugger/signaldata/SumaImpl.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/SimBlockList.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrSysTable.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/suma/Suma.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/suma/SumaInit.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/trix/Trix.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/blocks/trix/Trix.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/vm/Configuration.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/vm/SimulatedBlock.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/kernel/vm/SimulatedBlock.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/mgmapi/ndb_logevent.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/mgmclient/CommandInterpreter.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/mgmsrv/MgmtSrvr.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/mgmsrv/Services.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/mgmsrv/Services.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/ClusterMgr.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/ClusterMgr.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/Ndb.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/NdbDictionary.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/NdbEventOperation.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/NdbImpl.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/NdbWaiter.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/Ndberr.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/Ndbif.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/Ndbinit.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/ObjectMap.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/TransporterFacade.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/ndb_cluster_connection_impl.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/src/ndbapi/ndberror.c:
        Import patch ndb-wl2325.patch
      storage/ndb/test/include/HugoOperations.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/include/HugoTransactions.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/include/NDBT_Table.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/include/NDBT_Test.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/Makefile.am:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/bank/Bank.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/bank/Bank.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/bank/bankCreator.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/bank/bankMakeGL.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/bank/bankSumAccounts.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/bank/bankTimer.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/bank/bankTransactionMaker.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/bank/bankValidateAllGLs.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/bank/testBank.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/bench/asyncGenerator.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/bench/ndb_schema.hpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/test_event.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/ndbapi/test_event_multi_table.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/run-test/Makefile.am:
        Import patch ndb-wl2325.patch
      storage/ndb/test/run-test/daily-devel-tests.txt:
        Import patch ndb-wl2325.patch
      storage/ndb/test/src/HugoOperations.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/src/HugoTransactions.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/src/NDBT_ResultRow.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/src/NDBT_Tables.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/src/NDBT_Test.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/src/UtilTransactions.cpp:
        Import patch ndb-wl2325.patch
      storage/ndb/test/tools/Makefile.am:
        Import patch ndb-wl2325.patch
      2ff26b97
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0 · 67347ba3
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      configure.in:
        Auto merged
      include/my_global.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      storage/myisam/mi_test2.c:
        Auto merged
      67347ba3
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.1 · f4f26dd3
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug13029/my51-bug13029
      
      
      f4f26dd3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · fbe338f4
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug13029/my50-bug13029
      
      
      fbe338f4
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 6e100a3c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug12526/my50-bug12526
      
      
      6e100a3c
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug13029/my50-bug13029 · cf23558d
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug13029/my51-bug13029
      
      
      cf23558d
    • unknown's avatar
      Bug #13029 YaSSL not compatibile w/ JSSE (Java implementation of SSL) · 3cf33e7a
      unknown authored
      -Applied patch from Todd
      
      
      extra/yassl/src/ssl.cpp:
        Call processReply until clientFinishedComplete or error
      3cf33e7a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 36f1f1ca
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug12526/my50-bug12526
      
      
      36f1f1ca
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug12526/my50-bug12526 · 91611dae
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug12526/my51-bug12526
      
      
      91611dae
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · bbd6c0d3
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-5000
      
      
      sql/sql_base.cc:
        Auto merged
      bbd6c0d3
    • unknown's avatar
      Bug #12526 yassl: Crashes in "integer.cpp" · 21e1efc7
      unknown authored
       - Disable inlining in integer.cp for sparc solaris Cun C++ 5.6
      
      
      config/ac-macros/yassl.m4:
        Detect sparc Solaris + Sun C++ 5.6 and disable inlining for integer.cpp
      extra/yassl/taocrypt/src/Makefile.am:
        Compile integer.cpp into a separate lib in order to use special CXXFLAGS
        Add the integer.cpp lib to libtaocrypt.la
      21e1efc7
    • unknown's avatar
      merge · b763c011
      unknown authored
      
      sql/ha_federated.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      b763c011
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b34d5bd2
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-bg12704-2
      
      
      b34d5bd2
    • unknown's avatar
      ndb - wl#2624 re-commit due to bk problem · 9a7ec951
      unknown authored
      
      mysql-test/r/ndb_basic.result:
        wl#2624 re-commit due to bk problem
      mysql-test/r/ndb_blob.result:
        wl#2624 re-commit due to bk problem
      mysql-test/r/ndb_charset.result:
        wl#2624 re-commit due to bk problem
      mysql-test/r/ndb_condition_pushdown.result:
        wl#2624 re-commit due to bk problem
      mysql-test/r/ndb_index_ordered.result:
        wl#2624 re-commit due to bk problem
      mysql-test/t/ndb_index_ordered.test:
        wl#2624 re-commit due to bk problem
      sql/ha_ndbcluster.cc:
        wl#2624 re-commit due to bk problem
      sql/ha_ndbcluster.h:
        wl#2624 re-commit due to bk problem
      sql/mysqld.cc:
        wl#2624 re-commit due to bk problem
      sql/set_var.cc:
        wl#2624 re-commit due to bk problem
      sql/sql_class.h:
        wl#2624 re-commit due to bk problem
      storage/ndb/include/kernel/AttributeHeader.hpp:
        wl#2624 re-commit due to bk problem
      storage/ndb/include/ndbapi/NdbDictionary.hpp:
        wl#2624 re-commit due to bk problem
      storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        wl#2624 re-commit due to bk problem
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        wl#2624 re-commit due to bk problem
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        wl#2624 re-commit due to bk problem
      storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        wl#2624 re-commit due to bk problem
      storage/ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        wl#2624 re-commit due to bk problem
      storage/ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp:
        wl#2624 re-commit due to bk problem
      storage/ndb/src/kernel/blocks/dbtux/Makefile.am:
        wl#2624 re-commit due to bk problem
      storage/ndb/src/ndbapi/Makefile.am:
        wl#2624 re-commit due to bk problem
      storage/ndb/src/ndbapi/NdbDictionary.cpp:
        wl#2624 re-commit due to bk problem
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        wl#2624 re-commit due to bk problem
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        wl#2624 re-commit due to bk problem
      9a7ec951
  5. 14 Sep, 2005 15 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · dceb8fb2
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-bg12704-2
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      dceb8fb2
    • unknown's avatar
      Fix for bug #12704 "Server crashes during trigger execution". · d5303b8a
      unknown authored
      This bug occurs when some trigger for table used by DML statement is created
      or changed while statement was waiting in lock_tables(). In this situation
      prelocking set which we have calculated becames invalid which can easily lead
      to errors and even in some cases to crashes.
      
      With proposed patch we no longer silently reopen tables in lock_tables(),
      instead caller of lock_tables() becomes responsible for reopening tables and
      recalculation of prelocking set.
      
      
      mysql-test/t/trigger.test:
        Added tests for bug #12704 "Server crashes during trigger execution".
        Unfortunately these tests rely on the order in which tables are locked
        by statement so they are non-determenistic and therefore should be disabled.
      sql/lock.cc:
        mysql_lock_tables():
          Now instead of always reopening altered or dropped tables by itself
          mysql_lock_tables() can notify upper level and rely on caller doing this.
      sql/mysql_priv.h:
        Now mysql_lock_tables() can either reopen deleted or altered tables by itself
        or notify caller about such situation through 'need_reopen' argument and rely
        on it in this.
        Also lock_tables() has new 'need_reopen' out parameter through which it
        notifies caller that some tables were altered or dropped so he needs to reopen
        them (and rebuild prelocking set some triggers may change or simply appear).
      sql/sp.cc:
        sp_add_used_routine():
          To be able to restore LEX::sroutines_list to its state right after parsing
          we now adjust  LEX::sroutines_list_own_last/sroutines_list_own_elements when
          we add directly used routine.
        sp_remove_not_own_routines():
          Added procedure for restoring LEX::sroutines/sroutines_list to their state
          right after parsing (by throwing out non-directly used routines).
        sp_cache_routines_and_add_tables_for_view()/sp_update_stmt_used_routines():
          We should use LEX::sroutines_list instead of LEX::sroutines as source of
          routines used by view, since LEX::sroutines is not availiable for view
          on second attempt to open it (see comment in open_tables() about it).
      sql/sp.h:
        sp_remove_not_own_routines():
          Added procedure for restoring LEX::sroutines/sroutines_list to their state
          right after parsing (by throwing out non-directly used routines).
      sql/sp_head.cc:
        Removed assert which is no longer always true.
      sql/sql_base.cc:
        reopen_table():
          When we re-open table and do shallow copy of TABLE object we should adjust
          pointers to it in associated Table_triggers_list object. Removed nil
          operation.
        open_tables():
          Now this function is able to rebuild prelocking set for statement if it is
          needed. It also correctly handles FLUSH TABLES which may occur during its
          execution.
        lock_tables():
          Instead of allowing mysql_lock_tables() to silently reopen altered or dropped
          tables let us notify caller and rely on that it will do reopen itself.
          This solves the problem when trigger suddenly appears or changed during
          mysq_lock_tables().
        close_tables_for_reopen():
          Added routine for properly preparing for reopening of tables and recalculation
          of set of prelocked tables.
      sql/sql_handler.cc:
        Here we let mysql_lock_tables() to reopen dropped or altered tables by itself.
      sql/sql_insert.cc:
        Here we let mysql_lock_tables() to reopen dropped or altered tables by itself.
      sql/sql_lex.cc:
        LEX:
          Added 'sroutines_list_own_last' and 'sroutines_list_own_elements' members
          which are used for keeping state in which 'sroutines_list' was right after
          statement parsing (and for restoring of this list to this state).
      sql/sql_lex.h:
        LEX:
          Added 'sroutines_list_own_last' and 'sroutines_list_own_elements' members
          which are used for keeping state in which 'sroutines_list' was right after
          statement parsing (and for restoring of this list to this state).
          Added chop_off_not_own_tables() method to simplify throwing away list
          of implicitly used (prelocked) tables.
      sql/sql_prepare.cc:
        Now instead of silently reopening altered or dropped tables in
        lock_tables() we notify caller and rely on that the caller will
        reopen tables.
      sql/sql_table.cc:
        Here we let mysql_lock_tables() to reopen dropped or altered tables by itself.
      sql/sql_trigger.cc:
        Added Table_triggers_list::set_table() method to adjust Table_triggers_list
        to new pointer to TABLE instance.
      sql/sql_trigger.h:
        Added Table_triggers_list::set_table() method to adjust Table_triggers_list
        to new pointer to TABLE instance.
      sql/sql_update.cc:
        Now instead of silently reopening altered or dropped tables in
        lock_tables() we notify caller and rely on that the caller will
        reopen tables.
      d5303b8a
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1 · e89acaa2
      unknown authored
      into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.1
      
      
      e89acaa2
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1 · 4e0c2181
      unknown authored
      into  c-0d08e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1
      
      
      sql/sql_partition.cc:
        Auto merged
      4e0c2181
    • unknown's avatar
      Bug #13154: · dc4e76ca
      unknown authored
      Used AND when modulo should have been used to calculate partition id
      for PARTITION BY KEY and SUBPARTITION BY KEY
      
      
      mysql-test/r/partition.result:
        New test for Bug #13154
      mysql-test/t/partition.test:
        New test for Bug #13154
      dc4e76ca
    • unknown's avatar
      Merge eherman@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4e17e059
      unknown authored
      into  mysql.com:/home/eric/mysql-5.0-fed-err
      
      
      4e17e059
    • unknown's avatar
      Merge eherman@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8ac6ab4a
      unknown authored
      into  mysql.com:/home/eric/mysql-5.0-fed-err
      
      
      8ac6ab4a
    • unknown's avatar
      Updated test results for view test. · 11e0bdd7
      unknown authored
      
      mysql-test/r/view.result:
        Updated test results
      11e0bdd7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 92e4aa67
      unknown authored
      into  mysql.com:/home/emurphy/src/bk-clean/mysql-5.0
      
      
      92e4aa67
    • unknown's avatar
      fixed portability · 78cf7b19
      unknown authored
      78cf7b19
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 232d1ff4
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-5000
      
      
      232d1ff4
    • unknown's avatar
      Merge mysql.com:/home/emurphy/src/work/mysql-5.0-bug-12870 · 949cc285
      unknown authored
      into  mysql.com:/home/emurphy/src/bk-clean/mysql-5.0
      
      
      sql/sql_parse.cc:
        Auto merged
      949cc285
    • unknown's avatar
      BUG#12870 (CREATE PROCEDURE followed by ROLLBACK is not replicated) · bdae7b9b
      unknown authored
      Fixed by making CREATE/ALTER/DROP PROCEDURE cause implicit commit.
      
      
      mysql-test/r/rpl_ddl.result:
        Updated results to include testing of implicit commit for
        create/alter/drop procedure
      mysql-test/t/rpl_ddl.test:
        BUG#12870 test implicit commit for create/alter/drop procedure.
      sql/sql_parse.cc:
        CREATE/ALTER/DROP PROCEDURE/SPFUNCTION now causes implicit commit.
      bdae7b9b
    • unknown's avatar
      Per LenZ, changed calculated buffer size to constant and removed some unused variables. · 7dc083d5
      unknown authored
      
      sql/ha_federated.cc:
        converted calculated buffer size to static interger.
        removed unused variables.
      7dc083d5
    • unknown's avatar
      Merge mysql.com:/home/alexi/mysql-5.0 · 97bea909
      unknown authored
      into  mysql.com:/home/alexi/dev/mysql-5.0-13000
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      97bea909