BUGS REPORT FOR MYSQL
am 28.06.2002 10:14:08 von Wan YUDescription:
(1) file: innobase/os/os0sync.c
function: os_event_wait_time
line: 237
In this function, it use Windows API
"WaitForSingleObject" while passing a wrong parameter.
Because WaitForSingleObject wants the second
parameter to be quantity of milliseconds while it
actually gets the quantity of seconds.
(2) file: innobase/log/log0log.c
function: log_archive_do
line: 2171
There will be a deadlock obviously!
How-To-Repeat:
Please look at the source file
Fix:
(1)Maybe it should be modified this way,
err = WaitForSingleObject(event,
time);
(2)Comment this statement
Submitter-Id: ybetter@yahoo.com
Originator: ybetter
Organization:
UESTC
MySQL support: none
Synopsis: source code bugs
Severity: serious
Priority: medium
Category: mysql
Class: sw-bug
Release: mysql-3.23.44 (Source distribution)
Environment:
System: Linux Simony 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT
2001 i686 unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make
/usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from
/usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
Compilation info: CC='gcc' CFLAGS='' CXX='c++'
CXXFLAGS='' LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Jan 16
04:14 /lib/libc.so.6 -> libc-2.2.2.so
-rwxr-xr-x 2 root root 1236396 Apr 7
2001 /lib/libc-2.2.2.so
-rw-r--r-- 1 root root 26350254 Apr 7
2001 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Apr 7
2001 /usr/lib/libc.so
Configure command: ./configure
--prefix=/usr/local/mysql --with-innodb
--with-thread-safe-client --with-debug
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail bugs-thread12148@lists.mysql.com
To unsubscribe, e-mail