- 20 Oct, 2006 1 commit
-
-
unknown authored
post-review fixups - magnus suggested creating dynstr_trunc instead of doing it manually. client/mysqldump.c: use dynstr_trunc instead of manually fiddling with the string include/my_sys.h: add dynstr_trunc mysys/string.c: add dynstr_trunc
-
- 16 Oct, 2006 2 commits
-
-
unknown authored
post-review fixes. Magnus suggested use of DYNAMIC_STRING instead of futzing with c strings. also making usage of TABLEs clearer in store_schema_partitions_record. client/mysqldump.c: Use DYNAMIC_STRING in code for dumping tablespaces sql/sql_show.cc: Make use of schema_table versus the table we're showing info about in store_schema_partitions_record clearer
-
unknown authored
Post review fix: Magnus suggested making sure that new mysqldump still worked flawlessly with old servers. client/mysqldump.c: Print informational comment about not dumping tablespaces if connecting to a server that doesn't have the I_S.FILES table
-
- 09 Oct, 2006 1 commit
-
-
unknown authored
Update mysqldump to dump the needed tablespaces to create the tables for either the dbs or tables we're dumping. With --all-tablespaces, we still dump everything. client/mysqldump.c: Add --no-tablespaces to force not dumping any tablespace information Change behaviour so that: If dumping all databases, all tablespaces are dumped If dumping with --all-tablespaces, all tablespaces are dumped If dumping a set of databases, dump only tablespaces used by tables in that database If dumping a set of tables, dump only tablespaces used by those tables If --no-tablespaces is specified, no tablespaces are dumped. Default behaviour is to dump a restorable dump - i.e. with the tablespaces. When connecting to old mysqld, --no-tablespaces should be specified. sql/sql_show.cc: Use the TABLESPACE_NAME field of the INFORMATION_SCHEMA.PARTITIONS table. NOTE: *CHANGE* in behaviour: if no tablespace, TABLESPACE_NAME will be NULL. This is to support a tablespace called 'default' (which you can happily create). It is likely that the other fields with 'default' should change too. This should also happily continue to work in the future (from a user point of view) when we introduce tablespace per partition.
-
- 06 Oct, 2006 1 commit
-
-
unknown authored
into willster.(none):/home/stewart/Documents/MySQL/5.1/bug20839 sql/ha_ndbcluster.cc: Auto merged
-
- 05 Oct, 2006 6 commits
-
-
unknown authored
sql/ha_ndbcluster.cc: update fill_files_table to match new way of doing things sql/mysql_priv.h: defines for INFORMATION_SCHEMA.FILES column numbers add init_fill_schema_files_row() sql/sql_show.cc: add init_fill_schema_files_row(TABLE*) to help engines with filling schema files.
-
unknown authored
into willster.(none):/home/stewart/Documents/MySQL/5.1/bug13987 Manually merge smaller 5.0 fix with fix-with-test and list sessions for 5.1 storage/ndb/include/mgmapi/mgmapi.h: Auto merged storage/ndb/include/util/InputStream.hpp: Auto merged storage/ndb/src/common/util/Parser.cpp: Auto merged storage/ndb/src/common/util/socket_io.cpp: Auto merged storage/ndb/src/mgmapi/mgmapi.cpp: Auto merged storage/ndb/src/common/util/InputStream.cpp: manual merge storage/ndb/test/ndbapi/testMgm.cpp: manual merge
-
unknown authored
into willster.(none):/home/stewart/Documents/MySQL/5.1/bug13987 Merge 5.0-ndb into 5.1-ndb storage/ndb/include/mgmapi/mgmapi.h: Auto merged storage/ndb/src/kernel/vm/Configuration.cpp: Auto merged storage/ndb/include/mgmapi/mgmapi_debug.h: Auto merged storage/ndb/include/util/Parser.hpp: Auto merged storage/ndb/include/util/socket_io.h: Auto merged storage/ndb/src/common/util/InputStream.cpp: Auto merged storage/ndb/src/common/util/Parser.cpp: Auto merged storage/ndb/src/common/util/socket_io.cpp: Auto merged storage/ndb/src/cw/cpcd/main.cpp: Auto merged storage/ndb/src/mgmapi/mgmapi.cpp: Auto merged storage/ndb/src/mgmclient/main.cpp: Auto merged storage/ndb/src/mgmsrv/Services.cpp: Auto merged storage/ndb/src/mgmsrv/Services.hpp: Auto merged storage/ndb/src/mgmsrv/main.cpp: Auto merged storage/ndb/src/ndbapi/NdbTransaction.cpp: Auto merged storage/ndb/test/ndbapi/testMgm.cpp: Auto merged storage/ndb/tools/delete_all.cpp: Auto merged storage/ndb/tools/drop_index.cpp: Auto merged storage/ndb/tools/drop_tab.cpp: Auto merged storage/ndb/tools/listTables.cpp: Auto merged storage/ndb/tools/select_count.cpp: Auto merged storage/ndb/tools/waiter.cpp: Auto merged mysql-test/r/ndb_config.result: manual merge mysql-test/t/ndb_config.test: manual merge storage/ndb/include/util/InputStream.hpp: manual merge storage/ndb/tools/desc.cpp: manual merge storage/ndb/tools/ndb_condig.cpp: manual merge storage/ndb/tools/restore/restore_main.cpp: manual merge storage/ndb/tools/select_all.cpp: manual merge
-
unknown authored
guess which scan type to use in handler sql/ha_ndbcluster.cc: Add guessing of scan type when starting full-table-scan storage/ndb/include/ndbapi/NdbDictionary.hpp: Add methods to check properties of a bitmap of columns storage/ndb/include/ndbapi/NdbScanOperation.hpp: Add DiskScanFlag storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: Add aggregate of #disk columns storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp: Add #disk columns storage/ndb/src/ndbapi/NdbScanOperation.cpp: Add disk scan flag storage/ndb/tools/delete_all.cpp: Add tupscan/diskscan to delete_all
-
unknown authored
smaller patch for 5.0. complete patch going to 5.1 due to more intrusiveness for 'list sessions' etc ndb/include/mgmapi/mgmapi.h: add internal get_fd to use in test ndb/include/util/InputStream.hpp: - add this weird startover member to SocketInputStream - this helps work out if we've read a newline yet and should start inserting into buffer from the start ndb/src/common/util/InputStream.cpp: remove evil, add more. keep track internally we've retrieved a newline yet (m_startover) ndb/src/common/util/Parser.cpp: change way detecting of NoLine remove some trailing whitespace that was uglying the place up a bit ndb/src/common/util/socket_io.cpp: Always retrieve data from the OS so that we instantly get EOF on disconnect and don't end up spinning looking for a newline. ndb/src/mgmapi/mgmapi.cpp: add internal ndb_mgm_get_fd() for internal testing handle 'node status' a bit better ndb/test/ndbapi/testMgm.cpp: Add test for MgmApiSession disconnection (mgmd at 100%) not fully automated due to smaller patch for 5.0 will be complete in 5.1
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
-
- 04 Oct, 2006 5 commits
-
-
unknown authored
restore of the dump (ndb_dd_dump test) was failing for probably a merge problem. fixed now. client/mysqldump.c: fix query to make dump restorable
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb storage/ndb/include/mgmapi/mgmapi.h: Auto merged storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Auto merged storage/ndb/src/mgmapi/mgmapi.cpp: Auto merged storage/ndb/src/ndbapi/NdbScanOperation.cpp: Auto merged storage/ndb/include/ndb_version.h.in: merge
-
unknown authored
into bk-internal.mysql.com:/dev/shm/knielsen/mysql-5.1-new-ndb client/mysqltest.c: Auto merged include/config-netware.h: Auto merged mysql-test/r/csv.result: Auto merged mysql-test/r/ctype_utf8.result: Auto merged mysql-test/r/func_time.result: Auto merged mysql-test/t/csv.test: Auto merged mysql-test/t/ctype_utf8.test: Auto merged mysql-test/t/func_time.test: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/item_timefunc.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_view.cc: Auto merged sql/table.cc: Auto merged storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Auto merged storage/ndb/src/mgmapi/mgmapi.cpp: Auto merged storage/ndb/src/ndbapi/Ndb.cpp: Auto merged storage/ndb/src/ndbapi/ndberror.c: Auto merged storage/ndb/tools/ndb_condig.cpp: Auto merged tests/mysql_client_test.c: Auto merged storage/csv/ha_tina.cc: manual merge. storage/innobase/btr/btr0btr.c: SCCS merged storage/innobase/buf/buf0buf.c: SCCS merged storage/innobase/dict/dict0dict.c: SCCS merged storage/innobase/fil/fil0fil.c: SCCS merged storage/innobase/fsp/fsp0fsp.c: SCCS merged storage/innobase/handler/ha_innodb.cc: SCCS merged storage/innobase/include/btr0cur.ic: use local storage/innobase/include/buf0buf.ic: SCCS merged storage/innobase/log/log0log.c: SCCS merged storage/innobase/log/log0recv.c: SCCS merged storage/innobase/os/os0file.c: SCCS merged storage/innobase/row/row0mysql.c: SCCS merged storage/innobase/row/row0sel.c: SCCS merged storage/innobase/srv/srv0start.c: SCCS merged storage/innobase/ut/ut0dbg.c: SCCS merged
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb storage/ndb/src/common/debugger/signaldata/SignalNames.cpp: SCCS merged
-
unknown authored
into willster.(none):/home/stewart/Documents/MySQL/5.1/pending storage/ndb/src/common/debugger/signaldata/SignalNames.cpp: merge
-
- 03 Oct, 2006 2 commits
-
-
unknown authored
into willster.(none):/home/stewart/Documents/MySQL/5.1/bug20809
-
unknown authored
BUG#13987 Cluster: Loss of data nodes can cause high CPU usage from ndb_mgmd fix the actual problem (getting incomplete line of data), introduced with previous improvement. also add list sessions, get session and get session id to mgmapi to allow the implementation of a test case for this exact problem. ndb/include/mgmapi/mgmapi.h: Add internal ndb_mgm_get_fd for use in test case ndb/include/mgmapi/mgmapi_debug.h: Add internal get_session_id and get_session ndb/include/util/InputStream.hpp: - fix warning when building with gcc 4 - add mutex to be UNLOCKED when blocking (e.g. select(2)) - this means we can list sessions in a threadsafe way - add this weird startover member to SocketInputStream - this helps work out if we've read a newline yet and should start inserting into buffer from the start ndb/include/util/Parser.hpp: add mutex to context to pass down to SocketInputStream ndb/include/util/socket_io.h: readln_socket accepts mutex to UNLOCK around select(2) ndb/src/common/util/InputStream.cpp: remove evil, add more. As ndb/src/common/util/Parser.cpp: set mutex for passing down to InputStream to unlock on select(2). change way detecting of NoLine ndb/src/common/util/socket_io.cpp: unlock a mutex around select so that we can nicely do thread safe listing of sessions. Always retrieve data from the OS so that we instantly get EOF on disconnect and don't end up spinning looking for a newline. ndb/src/mgmapi/mgmapi.cpp: add internal ndb_mgm_get_fd() for internal testing internal/debug: ndb_mgm_get_session_id ndb_mgm_get_session ndb/src/mgmsrv/Services.cpp: Add list sessions, get session id and get session. introduce a session mutex ndb/src/mgmsrv/Services.hpp: Add list and get session. Add session_id to MgmApiSession. ndb/test/ndbapi/testMgm.cpp: Add test for MgmApiSession disconnection (mgmd at 100%)
-
- 28 Sep, 2006 3 commits
-
-
unknown authored
into dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-5.1/mysql-5.1-bug-19651 storage/ndb/include/util/ndb_opts.h: Auto merged storage/ndb/test/ndbapi/flexScan.cpp: Auto merged storage/ndb/tools/ndb_condig.cpp: Auto merged storage/ndb/tools/restore/consumer.hpp: merged for push bug#19651 storage/ndb/tools/restore/consumer_restore.cpp: merged for push bug#19651 storage/ndb/tools/restore/consumer_restore.hpp: merged for push bug#19651 storage/ndb/tools/restore/restore_main.cpp: merged for push bug#19651
-
unknown authored
into dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-5.0/mysql-5.0-bug-19651 ndb/test/ndbapi/flexScan.cpp: Auto merged ndb/tools/ndb_config.cpp: Auto merged ndb/tools/restore/consumer_restore.cpp: Auto merged ndb/tools/restore/consumer_restore.hpp: Auto merged ndb/tools/restore/restore_main.cpp: Auto merged ndb/include/util/ndb_opts.h: C
-
unknown authored
into dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-4.1/mysql-4.1-bug-19651
-
- 26 Sep, 2006 12 commits
-
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb storage/ndb/include/kernel/GlobalSignalNumbers.h: Auto merged storage/ndb/include/ndbapi/NdbTransaction.hpp: Auto merged storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Auto merged storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Auto merged storage/ndb/src/mgmapi/mgmapi.cpp: Auto merged storage/ndb/src/ndbapi/NdbTransaction.cpp: Auto merged
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/51-work storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Auto merged storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/50-work ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Auto merged
-
unknown authored
Fix take-over during SR, remove coupling to lcp/gcp (if systemRestartOngoing()) ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Fix take-over during SR
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/50-work ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged
-
unknown authored
handle also CS_CONNECTED as "abort" in handleFailedApi to keep from falling on assertion in releaseApiCon in case of committed dirtyRead ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: handle also CS_CONNECTED as "abort" to keep from falling on assertion in releaseApiCon in case of committed dirtyRead
-
unknown authored
storage/ndb/include/ndbapi/NdbDictionary.hpp: compute aggregates only before create table or by user request. remove distribution key hacks (set by user/set by us..) storage/ndb/src/ndbapi/NdbDictionary.cpp: compute aggregates only before create table or by user request. remove distribution key hacks (set by user/set by us..) storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: compute aggregates only before create table or by user request. remove distribution key hacks (set by user/set by us..) storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp: compute aggregates only before create table or by user request. remove distribution key hacks (set by user/set by us..) storage/ndb/test/include/NDBT_Table.hpp: compute aggregates only before create table or by user request. remove distribution key hacks (set by user/set by us..) storage/ndb/test/src/NDBT_Tables.cpp: compute aggregates only before create table or by user request. remove distribution key hacks (set by user/set by us..)
-
unknown authored
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: merge storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: merge storage/ndb/src/ndbapi/NdbTransaction.cpp: merge
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/51-work storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Auto merged storage/ndb/include/ndbapi/NdbTransaction.hpp: merge storage/ndb/src/ndbapi/NdbScanOperation.cpp: merge storage/ndb/src/ndbapi/NdbTransaction.cpp: merge
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/50-work ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Auto merged
-
unknown authored
Fix occational LCP hang!!! Make sure only to consider alive nodes in startNextChkpt ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Make sure only to consider alive nodes in startNextChkpt
-
unknown authored
ndb/tools/restore/consumer.hpp: added a function to judge whether there is temporary error. ndb/tools/restore/consumer_restore.cpp: record when temporary error occured in restore. ndb/tools/restore/consumer_restore.hpp: added a member to record temporary error in restore. ndb/tools/restore/restore_main.cpp: report temporary error in restore.
-
- 22 Sep, 2006 6 commits
-
-
unknown authored
into dev3-127.(none):/mnt/mysql/home/ngb/mysql-5.1/mysql-5.1-bug21585
-
unknown authored
into dev3-127.(none):/mnt/mysql/home/ngb/mysql-5.0/bug21585
-
unknown authored
and other commands related to ndb. For all of these, the help screen contains "Ndb.cfg" string. Now i change the "Ndb.cfg" to "my.cnf" because "Ndb.cfg" is obsolete. storage/ndb/include/util/ndb_opts.h: Change help information from including "Ndb.cfg" to "my.cnf" in the header file. storage/ndb/test/ndbapi/flexScan.cpp: Change help information from including "Ndb.cfg" to "my.cnf". storage/ndb/tools/ndb_condig.cpp: Change help information from including "Ndb.cfg" to "my.cnf".
-
unknown authored
and other commands related to ndb. For all of these, the help screen contains "Ndb.cfg" string. Now i change the "Ndb.cfg" to "my.cnf" because "Ndb.cfg" is obsolete. ndb/include/util/ndb_opts.h: Change help info from "Ndb.cfg" string to "my.cnf" string in the header file. ndb/test/ndbapi/flexScan.cpp: Change help info from including "Ndb.cfg" to "my.cnf". ndb/tools/ndb_config.cpp: Change help info from including "Ndb.cfg" to "my.cnf".
-
unknown authored
into dev3-127.(none):/mnt/mysql/home/ngb/mysql-5.1/mysql-5.1-bug20575 storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp: Auto merged storage/ndb/src/mgmclient/CommandInterpreter.cpp: Auto merged storage/ndb/src/mgmsrv/MgmtSrvr.cpp: Auto merged
-
unknown authored
into dev3-127.(none):/mnt/mysql/home/ngb/mysql-5.0/bug20575 ndb/src/mgmclient/CommandInterpreter.cpp: Auto merged
-
- 21 Sep, 2006 1 commit
-
-
unknown authored
into willster.(none):/home/stewart/Documents/MySQL/5.1/bug20809
-