- 14 Apr, 2005 1 commit
-
-
unknown authored
refuse to start up if it is not. (Bug #9815) sql/handler.cc: Add ha_storage_engine_is_enabled function. sql/handler.h: Declare ha_storage_engine_is_enabled() sql/mysqld.cc: Abort startup if the specified default storage engine is not available.
-
- 13 Apr, 2005 2 commits
- 08 Apr, 2005 2 commits
-
-
unknown authored
Removed the extra set of the shared memory connect event from kill_mysql since it is also being set in kill_server sql/mysqld.cc: removed the code that set the shared memory connect event since this also being done in kill_server
-
unknown authored
The shared memory connect event was not being set in kill_server. This caused the thread that is handling shared memory connections to never exit. sql/mysqld.cc: Added code to set the shared memory connect event upon server termination
-
- 02 Apr, 2005 1 commit
-
-
unknown authored
embedded server when a size suffix (K, M, G) is added. (Bug #9472) sql/mysqld.cc: Instead of (re)parsing max_allowed_packet and net_buffer_length for the embedded server, just set the global variables to what is set in global_system_variables within get_options().
-
- 01 Apr, 2005 1 commit
-
-
unknown authored
- some wordings, - RPM packaging improvements. configure.in: Set the version string. scripts/mysql_create_system_tables.sh: Security change: Reduce the risk caused by predefined anonymous logins. sql/mysqld.cc: Correct a message text; align variable order with other versions. sql/sql_udf.cc: Fix an erroneous takeover of 4.0 wording. support-files/mysql.spec.sh: Fix date formatting, add missing change descriptions.
-
- 31 Mar, 2005 2 commits
-
-
unknown authored
Originally contained in 2005/03/03 23:10:23+01:00 serg@serg.mylan; contained in MySQL 4.1.10a; re-committed for archival purposes. sql/mysqld.cc: typos fixed
-
unknown authored
Originally contained in 2005/03/03 19:51:29+01:00 serg@serg.mylan; contained in MySQL 4.1.10a; re-committed for archival purposes. include/my_global.h: O_NOFOLLOW isam/create.c: create table files with O_EXCL|O_NOFOLLOW merge/mrg_create.c: create table files with O_EXCL|O_NOFOLLOW myisam/mi_create.c: create files of temporary tables with O_EXCL|O_NOFOLLOW myisammrg/myrg_create.c: create table files with O_EXCL|O_NOFOLLOW mysys/mf_tempfile.c: create temporary files with O_EXCL|O_NOFOLLOW sql/ha_myisam.cc: let mi_create know if the table is TEMPORARY sql/mysql_priv.h: --allow_suspicious_udfs sql/mysqld.cc: --allow_suspicious_udfs sql/share/english/errmsg.txt: typo sql/sql_udf.cc: --allow_suspicious_udfs don't allow xxx() udf without any of xxx_init/deinit/add/reset check paths when loading from mysql.func sql/table.cc: create frm of temporary table with O_EXCL|O_NOFOLLOW
-
- 29 Mar, 2005 1 commit
-
-
unknown authored
handle_connections_shared_memory (double free spotted by Monty). sql/mysqld.cc: Remove excessive my_security_attr_free()
-
- 25 Mar, 2005 1 commit
-
-
unknown authored
provide created shared memory objects with proper access rights to make them usable when client and server are running under different accounts. Post review fixes. VC++Files/mysys/mysys.dsp: Add my_windac.c to mysys.lib include/my_sys.h: Declarations for SECURITY_ATTRIBUTES create/destroy functions. mysys/Makefile.am: Add my_windac.c to the list of compiled files. sql-common/client.c: Lower requested access rights for events as the server won't provide clients with ALL access in order to prevent denial of service attack. sql/mysqld.cc: Set proper security attributes for the kernel objects to make them usable when mysqld is running as a Windows service.
-
- 23 Mar, 2005 2 commits
-
-
unknown authored
"After Monty's review" changes to the fix for BUG#8325 "Deadlock in replication thread stops replication": s/sleep/safe_sleep (thread safe); sleep 0/1/2/3/4/5/5/5 (get slave less late); no message on error log (deadlock is too common sometimes), a global counter instead (SHOW STATUS LIKE 'slave_retried_transactions'). Plus a fix for libmysql/Makefile.shared libmysql/Makefile.shared: When we "make clean" in libmysql/ we remove the symlinks there, so we need to mark that they have to be recreated later: this is done by removing ../linked_libmysql_sources. If we don't do this, 'make' will fail after 'cd libmysql;make clean'. This Makefile.shared is used by libmysql_r too. No reason to remove linked_client_sources as we don't remove the links in client/. mysql-test/r/rpl_deadlock.result: result fix mysql-test/t/rpl_deadlock.test: small test addition sql/mysqld.cc: if active_mi could not be alloced, die. New SHOW STATUS LIKE "slave_retried_transactions". sql/slave.cc: If slave retries automatically a transaction, no message on error log (too common situation); sleep 0 secs at first retry, then 1, 2, 3, 4, 5, 5, 5... Sleeping 0 is to get the least possible late, as deadlocks are usually resolved at first try. New global counter rli->retried_trans (for SHOW STATUS: total number of times the slave had to retry any transaction). safe_sleep() is thread-safe, sleep() was not. I change the rli->trans_retries counter to go from 0 to max instead of the other way (better for new sleep()). sql/slave.h: new global counter rli->retried_trans sql/sql_show.cc: SHOW STATUS LIKE "slave_retried_transactions"; needs replication mutexes. Can't be a simple SHOW_LONG, because active_mi is unset (not alloced yet) when the static global status_vars is created (active_mi is set in init_slave()). sql/structs.h: new SHOW_SLAVE_RETRIED_TRANS BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-
unknown authored
Additional storage engine called "blackhole". Customer request, and for that matter a Zawodny request. With this you can alter table to a type of table that would never store data. Its a /dev/null for a database. acinclude.m4: New macro rule for ha_blackhole. configure.in: Rule enabling blackhole engine sql/Makefile.am: Additions to Makefile for blackhole engine sql/handler.cc: Ifdef enable code for blackhole (and message for "what does this thing do"). sql/handler.h: Flag for storage engine type. sql/mysql_priv.h: Added blackhole type. sql/mysqld.cc: Updates for building backhole. sql/set_var.cc: Show variable for blackhole engine
-
- 21 Mar, 2005 1 commit
-
-
unknown authored
- Chaned min value in mysqld.cc - Added testcase to warnings.test mysql-test/r/warnings.result: Added testcase for testing max and min value of max_error_count mysql-test/t/warnings.test: Added testcase for testing max and min value of max_error_count sql/mysqld.cc: Change min value of max_error_count from 1 to 0
-
- 09 Mar, 2005 1 commit
-
-
unknown authored
preserve backward compatibility sql/mysqld.cc: preserve backward compatibility
-
- 08 Mar, 2005 1 commit
-
-
unknown authored
main(): add missing parameter to printf(ER(ER_READY),...) call sql/mysqld.cc: main(): add missing parameter to printf(ER(ER_READY),...) call
-
- 07 Mar, 2005 1 commit
-
-
unknown authored
sql/mysqld.cc: mark the thread as killed in close_connection sql/protocol.cc: don't bother remembering warnings if the thread is dying
-
- 03 Mar, 2005 2 commits
-
-
unknown authored
-
unknown authored
include/my_global.h: O_NOFOLLOW isam/create.c: create table files with O_EXCL|O_NOFOLLOW merge/mrg_create.c: create table files with O_EXCL|O_NOFOLLOW myisam/mi_create.c: create files of temporary tables with O_EXCL|O_NOFOLLOW myisammrg/myrg_create.c: create table files with O_EXCL|O_NOFOLLOW mysys/mf_tempfile.c: create temporary files with O_EXCL|O_NOFOLLOW sql/ha_myisam.cc: let mi_create know if the table is TEMPORARY sql/mysql_priv.h: --allow_suspicious_udfs sql/mysqld.cc: --allow_suspicious_udfs sql/share/english/errmsg.txt: typo sql/sql_udf.cc: --allow_suspicious_udfs don't allow xxx() udf without any of xxx_init/deinit/add/reset check paths when loading from mysql.func sql/table.cc: create frm of temporary table with O_EXCL|O_NOFOLLOW
-
- 02 Mar, 2005 1 commit
-
-
unknown authored
in slave SQL thread: if a transaction fails because of InnoDB deadlock or innodb_lock_wait_timeout exceeded, optionally retry the transaction a certain number of times (new variable --slave_transaction_retries). sql/mysql_priv.h: new var slave_transaction_retries sql/mysqld.cc: new variable slave_transaction_retries. Plus fixing a typo. sql/set_var.cc: new global variable slave_transaction_retries (will be one per subslave, when we have multimaster). sql/slave.cc: Slave SQL thread: if a transaction fails because of InnoDB deadlock or innodb_lock_wait_timeout exceeded, optionally retry the transaction a certain number of times (--slave_transaction_retries). sql/slave.h: new RELAY_LOG_INFO::trans_retries.
-
- 01 Mar, 2005 1 commit
-
-
unknown authored
-
- 28 Feb, 2005 1 commit
-
-
unknown authored
(No really critical errors found, but a few possible wrong results) innobase/dict/dict0dict.c: Replace memcmp with comparison of characters to avoid warnings from purify when 'sptr' points to a very short string mysql-test/r/select_found.result: Add missing drop table mysql-test/r/type_set.result: More tests mysql-test/t/select_found.test: Add missing drop table mysql-test/t/type_set.test: More tests mysys/my_init.c: Avoid warning from purify (purify doesn't handle getrusage() properly) sql/field.h: enum & set are sorted as numbers. This fixes an access to uninitialized memory when enum/set are multi-byte characters sql/filesort.cc: enum & set are sorted as numbers. This fixes an access to uninitialized memory when enum/set are multi-byte characters sql/item_cmpfunc.cc: Fixed warning from purify. (Not critical as the arguments are passed to a function but not used) Allocate Arg_comparator() with 'new' instead of sql_alloc() to ensure proper initialization sql/mysqld.cc: Wait for signal handler to stop when running --bootstrap (Fixes warning from purify) sql/sql_insert.cc: Initialize slot used by innodb.cc (not critical) sql/sql_lex.h: Better comments sql/sql_repl.cc: memcmp -> bcmp() to avoid warning from purify sql/sql_select.cc: Fix for out-of-bound memory reference when doing DISTINCT on const expressions strings/ctype-simple.c: Fixes to not access uninitialized memory (Not critical)
-
- 22 Feb, 2005 1 commit
-
-
unknown authored
-
- 21 Feb, 2005 1 commit
-
-
unknown authored
-
- 18 Feb, 2005 1 commit
-
-
unknown authored
Some variable wasn't moved to the initial state during mysql_server_end myisam/ft_stopwords.c: resetting ft_stopword_file sql/mysqld.cc: free_charsets() call added
-
- 16 Feb, 2005 1 commit
-
-
unknown authored
in order to output a special warning about a particular case of segfaults due to a mix of static binaries, NSS, and LDAP. (Bug #4872) sql/mysqld.cc: Add code to output a special message when we get a segfault when calling initgroups() to explain the problem.
-
- 08 Feb, 2005 1 commit
-
-
unknown authored
-
- 02 Feb, 2005 1 commit
-
-
unknown authored
don't define UNIV_DEBUG in CFLAGS/CXXFLAGS anymore sql/mysqld.cc hide from the user options that do nothing sql/sql_update.cc better fix for uninitialized used_index configure.in: don't define UNIV_DEBUG in CFLAGS/CXXFLAGS anymore sql/mysqld.cc: hide from the user options that do nothing sql/sql_update.cc: better fix for uninitialized used_index
-
- 25 Jan, 2005 3 commits
-
-
unknown authored
Add settable variables for semi-sync replication sql/mysqld.cc: Add settable variables for semi-sync replication sql/set_var.cc: Add settable variables for semi-sync replication sql/sql_class.h: Add settable variables for semi-sync replication
-
unknown authored
BitKeeper/etc/ignore: added libmysqld/examples/mysqltest_embedded client/mysqlbinlog.cc: Call mysql_close() before die() innobase/include/eval0eval.ic: Remove assert that fails on 64 bit machines (Tested with BUILD/compile-pentium64-valgrind-max on 64 bit Intel CPU) sql/mysqld.cc: Force lower_case_table_names to 0 if set to 2 on case insensitive file name sql/sql_select.cc: Remove #if 0
-
unknown authored
innobase/include/srv0srv.h: Add configuration variable srv_auto_extend_increment innobase/srv/srv0srv.c: Add configuration variable srv_auto_extend_increment sql/ha_innodb.h: Add configuration variable srv_auto_extend_increment sql/mysqld.cc: Add startup option innodb_autoextend_increment sql/set_var.cc: Add settable global variable innodb_autoextend_increment
-
- 24 Jan, 2005 1 commit
-
-
unknown authored
lower_case_tables_names=2 is sensible. Related to Bug #7887. sql/mysqld.cc: Set lower_case_file_system when it is being tested to check if lower_case_tables_names=2 is sensible.
-
- 21 Jan, 2005 1 commit
-
-
unknown authored
-
- 19 Jan, 2005 2 commits
-
-
unknown authored
on a case-sensitive filesystem. (Bug #7887) sql/mysqld.cc: Add warning when running with lower_case_table_names=2 and datadir is on a case-sensitive filesystem.
-
unknown authored
This patch collects all previous patches into one. The main problem was due to that there is are two variables - dflt_key_cache and sql_key_cache with have more or less duplicate function. The reson for the bug was that the default value in the key cache hash was set to dflt_key_cache, then sql_key_cache was set to a new key cache object, and then dflt_key_cache was set to sql_key_cache which was different from the dflt_key_cache_var. After sending SIGHUP, the server was using the original default value for the key cache hash, which was different from the actual key cache object used for the default key cache. include/keycache.h: Import patch 4285.diff mysys/mf_keycache.c: Import patch 4285.diff sql/mysql_priv.h: Import patch 4285.diff sql/mysqld.cc: Import patch 4285.diff sql/set_var.cc: Import patch 4285.diff sql/sql_parse.cc: Import patch 4285.diff sql/sql_show.cc: Import patch 4285.diff
-
- 12 Jan, 2005 1 commit
-
-
unknown authored
-
- 06 Jan, 2005 1 commit
-
-
unknown authored
WL#2335 (wait if binlog or binlog index file hits disk full or quota exceeded), fix for BUG#7236 ("--expire_logs_days does not apply if all statements happen in transactions"), and a behaviour change: abort if mysqld can't start binlog at startup (if running with --log-bin of course). sql/log.cc: 2 small fixes for binlog: 1) We create binlog and binlog index file with flag MY_WAIT_IF_FULL, so that they have the same behaviour as MyISAM tables when disk is full or quota exceeded (wait, try to finish write every minute, warn in error log every 10 minutes). That's WL#2335. 2) Honour expire-log-days when we write a transaction to binlog (we honoured it already when writing an autocommit statement). This fixes BUG#7236. sql/mysqld.cc: If we fail to create binlog or binlog index file or write to them at mysqld's startup, mysqld will exit. The former behaviour was to print error and continue, which led to stupid things like if you mispell a directory name in --log-bin, you don't immediately notice your mistake and you corrupt your recovery/replication. New behaviour is consistent with if you mispelt innodb_data_file_path.
-
- 24 Dec, 2004 1 commit
-
-
unknown authored
sql/mysqld.cc: A fix (bug #5652: [patch] tcpwrapper support is broken on systems using an unmodified tcpwrapper). Wrapper for fromhost, hosts_access, eval_client has been removed.
-
- 23 Dec, 2004 1 commit
-
-
unknown authored
add space after comma add space after equal add comments in vio_close_shared_memory() include/violite.h: fix indentation sql-common/client.c: fix identation sql/mysqld.cc: add space after comma vio/vio.c: add space after equal fix identation vio/viosocket.c: add space after comma add comments in vio_close_shared_memory()
-
- 22 Dec, 2004 1 commit
-
-
unknown authored
changed name of g_eventLogger so it can be used in TransporterRegistry and is the same as in the kernel ndb/include/ndbapi/ndb_cluster_connection.hpp: changed return type of no_ndb_nodes ndb/include/transporter/TransporterRegistry.hpp: added connect_server method to TransporterRegistry ndb/include/util/ndb_opts.h: set shared memory usage as _no_ default in 4.1 ndb/src/common/transporter/Makefile.am: added -I flags for EventLogger.hpp ndb/src/common/transporter/SCI_Transporter.cpp: setting transporter type ndb/src/common/transporter/SHM_Transporter.cpp: setting transporter type ndb/src/common/transporter/TCP_Transporter.cpp: setting transporter type ndb/src/common/transporter/Transporter.cpp: added event logger added type handling in transporter added verification of transporter type compatability ndb/src/common/transporter/Transporter.hpp: setting transporter type ndb/src/common/transporter/TransporterRegistry.cpp: moved server-client transporter negotiation to own method connect_server() added verification of transporter compatability ndb/src/kernel/main.cpp: changed which events are logged ndb/src/ndbapi/ndb_cluster_connection.cpp: added g_eventLogger sql/mysqld.cc: set shared memory usage as _no_ default in 4.1
-