I know that I should use mysqlbug tool but it doesn't work. >Description: MySQL C API mysql_next_result stalls in my program. I'm using pthread and MYSQL handle is using in just one thread.
I hacked into the source and found this call is just same as mysql_real_query except it doesn't send query to server, Hope this bug will be fixed soon. Thanks for great masterpiece >How-To-Repeat: so, the step was 1. mysql_send_query 2. cli_read_query_result 3. mysql_store_result 4. Do my thing 5. mysql_next_result calls cli_read_query_result again and it stops at net_safe_read >Fix: I could not. >Submitter-Id: [EMAIL PROTECTED] >Originator: User & >Organization: Ymir Entertainment. >MySQL support: none >Synopsis: C API mysql_next_result stalls. >Severity: serious >Priority: high >Category: mysql >Class: sw-bug >Release: mysql-4.1.3-beta (FreeBSD port: mysql-client-4.1.3) >Server: /usr/local/bin/mysqladmin Ver 8.40 Distrib 4.1.3-beta, for >portbld-freebsd5.2 on i386 Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license Server version 4.1.3-beta Protocol version 10 Connection Localhost via UNIX socket UNIX socket /tmp/mysql.sock Uptime: 1 day 12 hours 27 min 27 sec Threads: 19 Questions: 1872618 Slow queries: 5 Opens: 128 Flush tables: 1 Open tables: 59 Queries per second avg: 14.268 >C compiler: cc (GCC) 3.3.3 [FreeBSD] 20031106 >C++ compiler: c++ (GCC) 3.3.3 [FreeBSD] 20031106 >Environment: <machine, os, target, libraries (multiple lines)> System: FreeBSD metin2test.metin2.co.kr 5.2-RELEASE FreeBSD 5.2-RELEASE #1: Sat Mar 13 14:24:30 KST 2004 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKERNEL i386 Some paths: /usr/bin/perl /usr/bin/make /usr/local/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.3.3 [FreeBSD] 20031106 Compilation info: CC='cc' CFLAGS='-O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -O3 -fno-omit-frame-pointer -fno-gcse' CXX='c++' CXXFLAGS='-O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -O3 -fno-omit-frame-pointer -fno-gcse -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -O3 -fno-omit-frame-pointer -fno-gcse -felide-constructors -fno-rtti -fno-exceptions' LDFLAGS='' ASFLAGS='' LIBC: -r--r--r-- 1 root wheel 892344 1 11 11:45 /lib/libc.so.5 -r--r--r-- 1 root wheel 1730634 1 11 11:45 /usr/lib/libc.a lrwxrwxrwx 1 root wheel 14 2 29 16:42 /usr/lib/libc.so -> /lib/libc.so.5 Configure command: ./configure '--localstatedir=/var/db/mysql' '--without-debug' '--without-readline' '--without-libedit' '--without-bench' '--without-extra-tools' '--with-libwrap' '--with-mysqlfs' '--with-vio' '--with-low-memory' '--with-ndbcluster' '--with-comment=FreeBSD port: mysql-client-4.1.3' '--enable-thread-safe-client' '--with-charset=euckr' '--with-extra-charsets=all' '--with-mysqld-ldflags=-all-static' '--enable-assembler' '--with-berkeley-db' '--with-named-thread-libs=-lc_r' '--without-server' '--prefix=/usr/local' '--build=i386-portbld-freebsd5.2' 'CFLAGS=-O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -O3 -fno-omit-frame-pointer -fno-gcse' 'CXX=c++' 'build_alias=i386-portbld-freebsd5.2' 'CC=cc' 'CXXFLAGS=-O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -O3 -fno-omit-frame-pointer -fno-gcse -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -O3 -fno-omit-frame-pointer -fno-gcse -felide-constructors -fno-rtti -fno-exceptions' -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]