diff options
author | unknown <monty@donna.mysql.fi> | 2001-03-26 13:27:36 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.fi> | 2001-03-26 13:27:36 +0300 |
commit | 4bf00b00b74e11b801d6ad4ade5de9a07b88e1cf (patch) | |
tree | e9c9fdeab5d0a635045172c211af567c8b6a81b9 /innobase/os | |
parent | 653f620e6f3f416ef327ec85daf1ba4f0654442c (diff) | |
download | mariadb-git-4bf00b00b74e11b801d6ad4ade5de9a07b88e1cf.tar.gz |
Added test case that crashed Innobase
BUILD/compile-solaris-sparc-purify:
Changed to old (easy-to-edit) format
extra/resolve_stack_dump.c:
Don't require -s and -n options
innobase/include/Makefile.i:
Applied Heikki's changes
innobase/include/univ.i:
Applied Heikki's changes
innobase/os/os0file.c:
Fix problem with Signal 14 on Solaris
mysys/mf_qsort.c:
Fix for purify
sql-bench/Results/ATIS-mysql-Linux_2.2.16_SMP_alpha:
New test results
sql-bench/Results/RUN-mysql-Linux_2.2.16_SMP_alpha:
New test results
sql-bench/Results/alter-table-mysql-Linux_2.2.16_SMP_alpha:
New test results
sql-bench/Results/big-tables-mysql-Linux_2.2.16_SMP_alpha:
New test results
sql-bench/Results/connect-mysql-Linux_2.2.16_SMP_alpha:
New test results
sql-bench/Results/create-mysql-Linux_2.2.16_SMP_alpha:
New test results
sql-bench/Results/insert-mysql-Linux_2.2.16_SMP_alpha:
New test results
sql-bench/Results/select-mysql-Linux_2.2.16_SMP_alpha:
New test results
sql-bench/Results/wisconsin-mysql-Linux_2.2.16_SMP_alpha:
New test results
sql/ha_gemini.h:
Fixed that SHOW VARIABLES shows table type as disabled if it can't be initialized.
sql/ha_innobase.cc:
Merged Heikkis changes
sql/ha_innobase.h:
Fixed that SHOW VARIABLES shows table type as disabled if it can't be initialized.
sql/handler.cc:
Fixed that SHOW VARIABLES shows table type as disabled if it can't be initialized.
sql/mysqld.cc:
Cleaned up error warning message.
Diffstat (limited to 'innobase/os')
-rw-r--r-- | innobase/os/os0file.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c index ed1b55f6c59..130d8eb0a80 100644 --- a/innobase/os/os0file.c +++ b/innobase/os/os0file.c @@ -318,11 +318,8 @@ try_again: UT_NOT_USED(purpose); if (create_mode == OS_FILE_CREATE) { -#ifndef S_IRWXU - file = open(name, create_flag); -#else - file = open(name, create_flag, S_IRWXU | S_IRWXG | S_IRWXO); -#endif + file = open(name, create_flag, S_IRUSR | S_IWUSR | S_IRGRP + | S_IWGRP | S_IROTH | S_IWOTH); } else { file = open(name, create_flag); } @@ -905,19 +902,21 @@ os_aio_init( os_aio_segment_wait_events[i] = os_event_create(NULL); } -#if defined(POSIX_ASYNC_IO) && defined(NOT_USED_WITH_MYSQL) +#ifdef POSIX_ASYNC_IO /* Block aio signals from the current thread and its children: for this to work, the current thread must be the first created in the database, so that all its children will inherit its signal mask */ + /* TODO: to work MySQL needs the SIGALARM signal; the following + will not work yet! */ sigemptyset(&sigset); sigaddset(&sigset, SIGRTMIN + 1 + 0); sigaddset(&sigset, SIGRTMIN + 1 + 1); sigaddset(&sigset, SIGRTMIN + 1 + 2); sigaddset(&sigset, SIGRTMIN + 1 + 3); - pthread_sigmask(SIG_BLOCK, &sigset, NULL); + pthread_sigmask(SIG_BLOCK, &sigset, NULL); */ #endif } |