- 16 Jan, 2006 1 commit
-
-
unknown authored
WL#2703 restart for ndb_mgmd Solving two problems with one stone. Allows the stopping and restarting of mgm nodes other than the one the mgmclient is connected to. ndb/include/mgmapi/mgmapi.h: Add the internal ndb_mgm_end_session command. This will unreserve the nodeid we have allocated synchronously. Otherwise we can't do a restart of a node really quickly as the nodeids are cleaned up after the connection to mgmd is closed. ndb/include/mgmcommon/ConfigRetriever.hpp: Allow configuration on if end_session is going to be called on object destruction. We need to set this to false for ndbd as we fork() ndb/src/common/mgmcommon/ConfigRetriever.cpp: When destroying ConfigRetreiver, ndb_mgm_end_session - i.e. deallocate the nodeid ndb/src/common/util/SocketServer.cpp: When destroying a SocketServer, close the server socket. ndb/src/kernel/main.cpp: don't purge allocated resources when cleaning up in parent process (nodeid) ndb/src/kernel/vm/Configuration.cpp: have option end_session to closeConfiguration ndb/src/kernel/vm/Configuration.hpp: have option end_session to closeConfiguration ndb/src/mgmapi/mgmapi.cpp: Implement ndb_mgm_end_session ndb/src/mgmclient/CommandInterpreter.cpp: Correct output of STOP as we can now stop mgmd as well as ndbd ndb/src/mgmsrv/MgmtSrvr.cpp: Add code into start for connecting to our own mgmd. Create sendStopMgmd() which does the same job as sendSTOP_REQ, but for ndb_mgmd Allow stopping of other ndb_mgmd processes by creating a connection to them and issuing the stop command When stopping all nodes, stop other ndb_mgmd processes as well. Remove set_connect_string. Replace with connect_to_self. This is a much better way of doing things. ndb/src/mgmsrv/MgmtSrvr.hpp: add connect_to_self and remove set_connect_string. ndb/src/mgmsrv/Services.cpp: Add endSession. - delete Allocated_resources for this connection - create new Allocated_resources for this connection conceivably you could keep the socket open across node restarts (and even possibly get a different node id). But I wouldn't try it and expect happiness. ndb/src/mgmsrv/Services.hpp: Add endSession ndb/src/mgmsrv/main.cpp: allow mgmd to be restarted. - add g_RestartServer flag - move connecting to our own mgmd into MgmtSrvr (where it belongs) - output correct Shutdown/Restart message on shutdown/restart
-
- 12 Jan, 2006 21 commits
-
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.0-bg12198-2 mysql-test/r/sp.result: Auto merged mysql-test/t/sp.test: Auto merged sql/sp_head.cc: Auto merged
-
unknown authored
functions". We should ignore alias when we check if table was already marked as temporary when we calculate set of tables to be prelocked. Otherwise we will erroneously treat tables which are used in same routine and have same name but different alias as non-temporary. mysql-test/r/sp.result: Added test for bug #12198 "Temporary table aliasing does not work inside stored functions" and other tests which cover handling of temporary tables in prelocked mode. mysql-test/t/sp.test: Added test for bug #12198 "Temporary table aliasing does not work inside stored functions" and other tests which cover handling of temporary tables in prelocked mode. sql/sp_head.cc: sp_head::merge_table_list(): We should ignore alias when we check if table was already marked as temporary when we calculate set of tables to be prelocked. Otherwise we will erroneously treat tables which are used in same routine and have same name but different alias as non-temporary.
-
unknown authored
-
unknown authored
-
unknown authored
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0 client/mysqlimport.c: Auto merged include/config-netware.h: Auto merged innobase/os/os0thread.c: Auto merged netware/mysqld_safe.c: Auto merged sql/item_cmpfunc.cc: Auto merged sql/mysqld.cc: Merged from 4.1. sql/sql_base.cc: Merged from 4.1. sql/sql_handler.cc: Merged from 4.1. sql/sql_select.cc: Merged from 4.1.
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
-
unknown authored
-
unknown authored
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 include/config-netware.h: Auto merged innobase/os/os0thread.c: Auto merged netware/mysqld_safe.c: Merge from 4.0 to 4.1 sql/mysqld.cc: Merge from 4.0 to 4.1
-
unknown authored
Changes to Netware specific mysqld_safe.c include/config-netware.h: NetWare specific change to increase thread stack size. innobase/os/os0thread.c: NetWare specific change to increase thread stack size. netware/mysqld_safe.c: NetWare specific change to make multiple mysqld_safe instances work when called through a NCF file. sql/mysqld.cc: NetWare specific change to increase thread stack size.
-
unknown authored
into mysql.com:/home/my/mysql-4.1
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.0
-
unknown authored
after-merge fix for bug#15581 COALESCE function truncates mutli-byte TINYTEXT values sql/sql_show.cc: after-merge fix for bug#15581 COALESCE function truncates mutli-byte TINYTEXT values ,
-
unknown authored
After merge fix: fixing order of results. mysql-test/r/ctype_utf8.result: After merge fix: fixing order of results.
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-bug16166-r2
-
unknown authored
-
unknown authored
account that "FORCE INDEX" disables full table scans, and not range/index_merge scans. (with post-review fixes) mysql-test/r/index_merge.result: Testcase for BUG#16166 mysql-test/t/index_merge.test: Testcase for BUG#16166 sql/sql_select.cc: BUG#16166: "Can't use index_merge with FORCE INDEX": adjust the heuristics check: if (force-index-is-used && there-is-possible-ref-access && + THERE IS NO POSSIBLE RANGE/INDEX_MERGE ACCESS) { ...
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.0 mysql-test/t/ctype_utf8.test: Auto merged mysql-test/r/ctype_utf8.result: After-merge fix. sql/field.cc: After merge fix.
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1.b15581
-
unknown authored
into mysql.com:/home/alik/MySQL/devel/5.0-bug15103
-
unknown authored
mysql-test/r/information_schema.result: Remove extra spaces from result file. mysql-test/r/mysqldump.result: Remove extra spaces from result file. mysql-test/r/rpl_ddl.result: Remove extra spaces from result file. mysql-test/r/trigger-compat.result: Remove extra spaces from result file. mysql-test/r/trigger-grant.result: Remove extra spaces from result file. mysql-test/r/trigger.result: Remove extra spaces from result file. sql/sql_yacc.yy: Remove leading spaces.
-
- 11 Jan, 2006 10 commits
-
-
unknown authored
into linux.site:/home/reggie/work/mysql-5.0
-
unknown authored
include/config-win.h: use the ll and ull postfix codes for create longlong and ulonglong symbols. This allows ULL(a) and LL(a) to be used in more complex macro definitions than the previous definitions. This may work on other compilers but we just tested on Visual 7.1 and 8.0 Also, define HAVE_STRNLEN for all windows platforms. Our own strnlen offers no performance improvements over the CRT version.
-
unknown authored
into mysql.com:/opt/local/work/mysql-5.0-root sql/item_strfunc.cc: Auto merged sql/password.c: Manual merge
-
unknown authored
rename sha1_* to mysql_sha1_* include/sha1.h: rename sha1_* to mysql_sha1_* mysys/sha1.c: rename sha1_* to mysql_sha1_* sql/item_strfunc.cc: rename sha1_* to mysql_sha1_* sql/password.c: rename sha1_* to mysql_sha1_*
-
unknown authored
into mysql.com:/usr/local/mysql/tmpbuild
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
-
unknown authored
client/mysqltest.c: Add comments Group inits logically
-
unknown authored
-
unknown authored
Fix problem with strange printout of line numbers, detected on aix52, but existing on all platforms, just being masked by init of vars to zero. client/mysqltest.c: Remove lineno_stack, instead use the already existing file_stack and add a new variable lineno to keep track of what line in the file we are at. mysql-test/r/mysqltest.result: Correct test result, "At line 1" should be printed
-
unknown authored
into mysql.com:/usr/local/mysql/mysql-5.0
-
- 10 Jan, 2006 8 commits
-
-
unknown authored
client/mysqltest.c: Disable "let" assign each column of query to own var mysql-test/r/mysqltest.result: Remove test results for disabled test mysql-test/t/mysqltest.test: Disable test for "let assigns each column of query to own var"
-
unknown authored
into mysql.com:/home/alik/MySQL/devel/5.0-bug15110 sql/sql_parse.cc: Auto merged
-
unknown authored
There are two main idea of this fix: - introduce a common function for server and client to split user value (<user name>@<host name>) into user name and host name parts; - dump DEFINER clause in correct format in mysqldump. BitKeeper/etc/ignore: added client/my_user.c libmysqld/my_user.c sql/my_user.c client/Makefile.am: Use my_user.c in linking of mysqldump executable. client/mysqldump.c: Fix for BUG#15110(mysqldump --triggers: does not include DEFINER clause) include/Makefile.am: Add my_user.c include/mysql_com.h: Introduce a constant for max user length. libmysqld/Makefile.am: Add my_user.c mysql-test/r/mysqldump.result: Update result file. sql-common/Makefile.am: Add my_user.c sql/Makefile.am: Add my_user.c sql/sp.cc: Use constant for max user length. sql/sp_head.cc: Use common function to parse user value. sql/sql_acl.cc: Use constant for max user length. sql/sql_parse.cc: Use constant for max user length. sql/sql_show.cc: Use constant for max user length. sql/sql_trigger.cc: Use constant for max user length. include/my_user.h: A header file for parse_user(). sql-common/my_user.c: A new file for parse_user() implementation.
-
unknown authored
into mysql.com:/nfstmp1/ingo/autopush-773/mysql-5.0
-
unknown authored
into mysql.com:/home/mydev/mysql-5.0-bug5390
-
unknown authored
into hasky.mysql.fi:/home/jani/mysql-5.0
-
unknown authored
mysql-test/t/disabled.def: Enabling type_time.test
-
unknown authored
-