>Description:
Take a client that connects to a remote database via a network
connection. Next the client issues a LOCK TABLES command, some
write others read. Now the network connection becomes unavailable.
MySQL will never timeout the locks nor the clients and the tables
will remain locked.
>How-To-Repeat:
One could use a firewall between the client and the remote database
to reproduce the problem.
>Fix:
Timeout the locks if client has went away.
>Submitter-Id: <submitter ID>
>Originator:
>Organization:
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis: Insufficient lock handling
>Severity:
>Priority:
>Category: mysql
>Class:
>Release: mysql-3.23.49 (Source distribution)
>Environment:
System: Linux irc1 2.4.19-pre10 #1 Sat Jun 8 03:00:02 EEST 2002 i686 unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS='' LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Sep 26 22:02 /lib/libc.so.6 -> libc-2.2.5.so
-rwxr-xr-x 1 root root 1153784 Sep 18 12:40 /lib/libc-2.2.5.so
-rw-r--r-- 1 root root 2390970 Sep 18 12:41 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Sep 18 12:41 /usr/lib/libc.so
-rw-r--r-- 1 root root 726660 Mar 24 2002 /usr/lib/libc-client.so.2001
Configure command: ./configure --prefix=/usr --exec-prefix=/usr
--libexecdir=/usr/sbin --datadir=/usr/share --sysconfdir=/etc/mysql
--localstatedir=/var/lib/mysql --includedir=/usr/include --infodir=/usr/share/info
--mandir=/usr/share/man --enable-shared --with-libwrap --enable-assembler
--with-berkeley-db --with-innodb --enable-static --enable-shared --enable-local-infile
--with-raid --enable-thread-safe-client --without-readline
--with-unix-socket-path=/var/run/mysqld/mysqld.sock --with-mysqld-user=mysql
--without-bench --with-client-ldflags=-lstdc++ --with-extra-charsets=all
---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php