- 17 Jul, 2005 1 commit
-
-
unknown authored
WHERE statement" sql/ha_federated.cc: Changes per Jimw's review. notes about some suggestions: 1. Tried to replace my_sprintf with strxmov, but had problems. Couldn't get the test suite to run at all, and could not find any particular error. Since this is something that is not critical, I'll leave it as is for now. 2. I would like to use my_error to create all of my error messages, but cannot figure out how to get it to take more than one argument to be passed to the error message (I tried this once but had errors, and cannot find an example of how to get it to work despite seeing messages with obviously more than one arg 3. Replaced all string building from literals to defined SQL string pieces such as "SELECT ", "FROM " ... 4. Format fixes, spacing fixes completed 5. Removed records_in_range records calculation functionality sql/ha_federated.h: Formatting changes, new defines for SQL query string tokens sql/share/errmsg.txt: changed 'SRC' to 'SOURCE' per Jimw's review
-
- 16 Jul, 2005 1 commit
-
-
unknown authored
deallocation cleanup mysql-test/r/federated.result: new test results mysql-test/t/federated.test: New tests, and added explains per Timour's suggestion. This will keep track of whether changes have been made to the optimiser that might affect Federated. Also changed the error codes to federated error codes in the error tests sql/ha_federated.cc: 1. Not using MAX_REMOTE_SIZE, so removed 2. Changed all defines that were IO_SIZE to FEDERATED_QUERY_BUFFER_SIZE 3. Now using Federated Error Codes 4. Implemented ::info (gets valid 'records' number) 5. Implemented ::read_range_first - now uses indexes in range operations 6. Better allocation in get_share 7. Cleaned up memory bug in get_share 8. Better initial query "SELECT * FROM t1 WHERE 1=0" for check_foreign_data_src 9. emit_key_part_name and emit_key_part_element for read_range_first to not have redundancy 10. Made sure all 'append's pass length, and use append("") to ensure proper null termination of strings being built. 11. Better message creation. If ER_QUERY_ON_FOREIGN_DATA_SRC, I also pass the actual error code and message from the foreign data src. 12. Cleaned up how the result set and share->scheme is freed. sql/share/errmsg.txt: New Federated error messages that are more tailored to the type of information we want to see when federated has an error. mysql-test/include/federated.inc: New bitkeeper file, include file for separating setup from main test suite mysql-test/include/federated_cleanup.inc: New BitKeeper file ``mysql-test/include/federated_cleanup.inc'' sql/ha_federated.h: Added comments where needed, one was already commented about
-
- 15 Jul, 2005 34 commits
-
-
unknown authored
into linux.site:/home/reggie/bk/mysql-5.0 sql/mysqld.cc: merging in changes from 4.1
-
unknown authored
BUILD/SETUP.sh: Removed dead options, added blackhole option BUILD/compile-pentium-debug-max-no-embedded: Updated option to remove unused option
-
unknown authored
mysql-test/r/sp.result: Made test bug9538 test robust. mysql-test/t/sp.test: Made test bug9538 test robust.
-
unknown authored
into mysql.com:/home/pem/work/mysql-5.0
-
unknown authored
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 tests/mysql_client_test.c: Auto merged
-
unknown authored
using @@var_name in proc Made sure we don't lose the tokenizer state when swapping lex in during SET parsing. mysql-test/r/sp.result: New test case for BUG#9538. mysql-test/t/sp.test: New test case for BUG#9538. sql/sp_head.cc: Keep lex->next_state when swapping lex during SP parsing (for SET mainly), otherwise the tokenizer gets confused.
-
unknown authored
ndb/src/common/portlib/NdbMutex.c: Turned into C code. ndb/src/common/portlib/NdbThread.c: Turned into C code.
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 tests/mysql_client_test.c: Auto merged
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
-
unknown authored
into lmy002.wdf.sap.corp:/home/georg/work/mysql-5.0
-
unknown authored
When all rows are fetched subsequent calls to mysql_stmt_fetch return now MYSQL_NO_DATA instead of errorcode 1. libmysql/libmysql.c: fix for bug#11037 tests/mysql_client_test.c: added new testcase for bug #11037
-
unknown authored
into linux.site:/home/reggie/bk/bug7403
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-new tests/mysql_client_test.c: Auto merged
-
unknown authored
mysql-test/t/ctype_utf8.test: Auto merged ndb/src/common/mgmcommon/ConfigRetriever.cpp: Auto merged ndb/src/common/transporter/Transporter.hpp: Auto merged ndb/src/common/transporter/TransporterRegistry.cpp: Auto merged ndb/src/mgmclient/CommandInterpreter.cpp: Auto merged ndb/src/mgmsrv/MgmtSrvr.cpp: Auto merged ndb/src/mgmsrv/MgmtSrvr.hpp: Auto merged ndb/src/mgmsrv/Services.cpp: Auto merged sql/sql_prepare.cc: Auto merged support-files/mysql.spec.sh: Auto merged tests/mysql_client_test.c: Auto merged ndb/include/transporter/TransporterRegistry.hpp: SCCS merged ndb/src/common/transporter/Transporter.cpp: SCCS merged
-
unknown authored
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-new mysql-test/t/ctype_utf8.test: Auto merged ndb/src/common/mgmcommon/ConfigRetriever.cpp: Auto merged ndb/src/common/transporter/TransporterRegistry.cpp: Auto merged ndb/src/mgmclient/CommandInterpreter.cpp: Auto merged ndb/src/mgmsrv/MgmtSrvr.cpp: Auto merged ndb/src/mgmsrv/MgmtSrvr.hpp: Auto merged ndb/src/mgmsrv/Services.cpp: Auto merged sql/sql_prepare.cc: Auto merged
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-release
-
unknown authored
into mysql.com:/usr/home/ram/work/mysql-5.0
-
unknown authored
-
unknown authored
sql/field.cc: a fix (bug #9881: ALTER TABLE gives wrong error message with sql-mode TRADITIONAL). Don't set def if NO_DEFAULT_VALUE_FLAG is set.
-
unknown authored
+ added close of some fd's + debug prints
-
unknown authored
In 4.1 the connection to the management server _must_ stay, that is how we ensure that the nodeids are reserved correctly
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.0-bg9565
-
unknown authored
-
unknown authored
sub-sequent procedure is called" which was fixed by the same patch as bug #9597 "read lock stays when querying view from stored procedure". mysql-test/r/sp.result: Added test case for bug #9565 "Wrong locking in stored procedure if a sub-sequent procedure is called". mysql-test/t/sp.test: Added test case for bug #9565 "Wrong locking in stored procedure if a sub-sequent procedure is called".
-
unknown authored
-
unknown authored
BUG#11596 (partial fix), IP addresses not shown in ndb_mgm SHOW command on second ndb_mgmd (or on ndb_mgmd restart)
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
-
unknown authored
mysql user account to that group in the server postinstall section of the RPM spec file support-files/mysql.spec.sh: - manual merge of the fix for BUG#10984: create a "mysql" user group and assign the mysql user account to that group in the server postinstall section.
-
unknown authored
- create a "mysql" user group and assign the mysql user account to that group in the server postinstall section. (BUG 10984) - backported some changes from the 4.1 RPM spec file (cleanups: removed the incomplete Brazilian translations, more consequent use of macros) support-files/mysql.spec.sh: - create a "mysql" user group and assign the mysql user account to that group in the server postinstall section. (BUG 10984) - backported some changes from the 4.1 RPM spec file (cleanups: removed the incomplete Brazilian translations, more consequent use of macros)
-
unknown authored
Fix handling of floats and doubles when using prepared statements API in the embedded server. sql/sql_prepare.cc: Jim's fix for the #10443. Within the embedded server, there's no need to use float4get() and float8get() for setting parameters, since they are never stored.
-
unknown authored
merge, adopted structured event interface to filter out "PING" events c.f. BUG#11898, ndb_mgmd does not release resources
-
- 14 Jul, 2005 4 commits
-
-
unknown authored
ndb/include/util/SocketServer.hpp: Auto merged ndb/src/common/mgmcommon/ConfigRetriever.cpp: Auto merged ndb/src/common/util/SocketClient.cpp: Auto merged ndb/src/common/util/SocketServer.cpp: Auto merged ndb/src/common/util/version.c: Auto merged ndb/src/kernel/blocks/qmgr/Qmgr.hpp: Auto merged ndb/src/kernel/blocks/qmgr/QmgrMain.cpp: Auto merged ndb/src/mgmclient/main.cpp: Auto merged ndb/src/mgmsrv/MgmtSrvr.hpp: Auto merged ndb/src/ndbapi/ClusterMgr.cpp: Auto merged ndb/tools/restore/restore_main.cpp: Auto merged ndb/include/util/ndb_opts.h: merge ndb/src/common/mgmcommon/IPCConfig.cpp: merge ndb/src/common/transporter/TransporterRegistry.cpp: merge ndb/src/mgmapi/mgmapi.cpp: merge ndb/src/mgmclient/CommandInterpreter.cpp: merge ndb/src/mgmsrv/MgmtSrvr.cpp: merge ndb/src/mgmsrv/Services.cpp: merge ndb/src/mgmsrv/main.cpp: merge ndb/src/ndbapi/TransporterFacade.cpp: merge
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0 mysql-test/r/view.result: Auto merged mysql-test/t/view.test: Auto merged
-
unknown authored
try to find most suitable table, to avouid pickup table with too low locking mode or occupy table with write mode for select when it will be need for update later (BUG#9597) mysql-test/r/view.result: opening table in correct locking mode test mysql-test/t/view.test: opening table in correct locking mode test sql/sql_base.cc: take into account table lock mode when opening table: try to find most suitable table, to avouid pickup table with too low locking mode or occupy table with write mode for select when it will be need for update later
-
unknown authored
into mysql.com:/opt/local/work/mysql-5.0-root mysql-test/t/ps.test: Manual merge
-