- 06 Jan, 2005 21 commits
-
-
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.
-
unknown authored
into mysql.com:/home/mysql_src/mysql-4.1-clean
-
unknown authored
into mysql.com:/home/mysql_src/mysql-4.1-clean mysys/my_write.c: Auto merged
-
unknown authored
This happened only if my_write() couldn't write even one byte. I cannot easily add a .test for this, but I tested by hand before and after the change. mysys/my_write.c: Monty and I could not find a reason why a write should not wait for free disk space (if disk is full) because it could not write at least one byte; doing so certainly corrupts tables. my_pwrite() and my_fwrite() don't test for -1, so no problem.
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean scripts/mysql_config.sh: Auto merged
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean
-
unknown authored
scripts/mysql_config.sh: Add comment to clarify why we can safely only strip flags with a leading space
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
-
unknown authored
client/mysqldump.c: fixed comment fixed compiler warning
-
unknown authored
client/mysqldump.c: fixed comparation with string constant on some platform
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean client/mysqladmin.cc: Auto merged
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean
-
unknown authored
-
unknown authored
into mysql.com:/space/my/mysql-4.1
-
unknown authored
-
unknown authored
BUILD/compile-dist: - manual merge include/my_pthread.h: - manual merge
-
unknown authored
build (to make the test suite pass) BUILD/compile-dist: - enable "with-extra-charsets=complex" for the distribution build (to make the test suite pass)
-
unknown authored
Use the fcntl() file flush method on OS X; Apple disabled fsync() for internal disk drives, which caused corruption in power outages; the patch was recommended by an Apple engineer innobase/os/os0file.c: Use the fcntl() file flush method on OS X; Apple disabled fsync() for internal disk drives, which caused corruption in power outages; the patch was recommended by an Apple engineer
-
unknown authored
client/mysqladmin.cc: Handle default-character-set being specified
-
- 05 Jan, 2005 10 commits
-
-
unknown authored
talking to pre-4.1 servers or 4.1 and later servers where the old_passwords option is enabled. "mysqladmin old-password" is unchanged. (Bug #7451) client/mysqladmin.cc: Check old_passwords from server, and use that to determine which scramble function to use (except in the case of the old-password command, which always use the old scramble function).
-
unknown authored
include/my_pthread.h: fix merge conflict
-
unknown authored
official binary builds for Linux that are built against a static glibc with a 128k thread stack size limit can be compiled with a default that doesn't result in a harmless (but oft-misunderstood) warning message. (Bug #6226) include/my_pthread.h: Allow DEFAULT_THREAD_STACK to be set via -DDEFAULT_THREAD_STACK=...
-
unknown authored
On Windows my_sleep() always gave a zero microsecond sleep mysys/my_sleep.c: On Windows my_sleep() always gave a zero microsecond sleep
-
unknown authored
fixed bug
-
unknown authored
mysql-test/mysql_test_run_new.c: SCCS merged
-
unknown authored
_stricmp was replaved on sting_compare_func added breakes for windows mysql-test/mysql_test_run_new.c: _stricmp was replaved on sting_compare_func added breakes for windows
-
unknown authored
(Second commit of this patch -- first included wrong changes.) scripts/mysql_config.sh: Make sure we are only removing whole options (protects -Wl,-O2, for example)
-
unknown authored
scripts/mysql_config.sh: include ZLIB_LIBS in --libs_r
-
unknown authored
to only look for the mysqld binary (and english error strings) and assume the datadir from that. Then, if that datadir turns out to not exist, startup will fail. This avoids the behavior where mysqld_safe would go off and run a totally different binary because the data directory had been moved (even when --datadir was specified on the command line). (Bug #7249) scripts/mysqld_safe.sh: Don't actually verify that datadir exists when using relatively-located mysqld -- just assume that it does and either let it fail when it doesn't, or do the right thing when datadir is then set via the command line or my.cnf file.
-
- 04 Jan, 2005 9 commits
-
-
unknown authored
Link mysql_test_run_new as console application my_manage.c: The type intptr_t isn't defined for VC 6.0 Changed return type for CreateProcess() to bool mysql_test_run_new.c: The type intptr_t isn't defined for VC 6.0 mysqltest.dsp: Added regex to additional build types for mysqltest mysqldump.dsp: Added mysys.lib for linking mysqldump VC++Files/client/mysqldump.dsp: Added mysys.lib for linking mysqldump VC++Files/client/mysqltest.dsp: Added regex to additional build types for mysqltest mysql-test/mysql_test_run_new.c: The type intptr_t isn't defined for VC 6.0 mysql-test/my_manage.c: The type intptr_t isn't defined for VC 6.0 Changed return type for CreateProcess() to bool VC++Files/mysql-test/mysql_test_run_new.dsp: Link mysql_test_run_new as console application
-
unknown authored
into mysql.com:/home/mydev/mysql-4.1-4100
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean
-
unknown authored
into mysql.com:/home/jwinstead2/mysql-4.1-clean
-
unknown authored
sql/set_var.cc: merge
-
unknown authored
Make multi-statements the preferred option name (to coincide with the renaming of the CLIENT_MULTI_RESULTS symbol to CLIENT_MULTI_STATEMENTS). Continue to allow multi-queries for backward compatibility. sql-common/client.c: Make multi-statements the preferred option name (to coincide with the renaming of the CLIENT_MULTI_RESULTS symbol to CLIENT_MULTI_STATEMENTS). Continue to allow multi-queries for backward compatibility.
-
unknown authored
into mysql.com:/home/mydev/mysql-4.1-4100
-
unknown authored
sql/set_var.cc: Make query_cache_wlock_invalidate visible in SHOW VARIABLES
-
unknown authored
for port and/or pid-file parameters. (Bug #5878) scripts/mysqld_safe.sh: Change 'ps xa' to 'ps xaww' so whole command-line is examined
-