At 23:46 30/12/2001 +0900, Heo, Jungsu Mr. wrote:
Hi!
Below the patch made by Monty:
(/my/mysql) bk diffs sql/net_serv.cc
= sql/net_serv.cc 1.32 vs edited =
170c170
#ifndef EXTRA_DEBUG
---
#if !defined(EXTRA_DEBUG) !defined(EMBEDDED_LIBRARY)
(/my/mysql) bk diffs -c sql/net_serv.cc
= sql/net_serv.cc 1.32 vs edited =
*** /tmp/net_serv.cc-1.32-4839 Sat Dec 22 15:13:31 2001
--- edited/sql/net_serv.cc Sun Dec 30 12:43:17 2001
***
*** 167,173
void net_clear(NET *net)
{
! #ifndef EXTRA_DEBUG
int count; /* One may get 'unused' warn */
bool is_blocking=vio_is_blocking(net-vio);
if (is_blocking)
--- 167,173
void net_clear(NET *net)
{
! #if !defined(EXTRA_DEBUG) !defined(EMBEDDED_LIBRARY)
int count; /* One may get 'unused' warn */
bool is_blocking=vio_is_blocking(net-vio);
if (is_blocking)
Regards,
Miguel
I installed Embedded MySQL( compiled --with-embedded-server)
And I compiled source code from Manual.
(I did not modify the source)
compiled nicly, but I run the Embedded MySQL,
Segmentation fault occured
[wertyu@inos prog]$ ls
Makefile mysqld* mysqld.c mysqld.c~
[wertyu@inos prog]$ ./mysqld
Segmentation fault
[wertyu@inos prog]$
here is output from GDB
Program received signal SIGSEGV, Segmentation fault.
0x8051984 in vio_read ()
(gdb) bt
#0 0x8051984 in vio_read ()
#1 0x807357d in net_clear ()
#2 0x804857f in simple_command ()
#3 0x80494f0 in mysql_close ()
#4 0x80481e8 in main (argc=1, argv=0xb594) at mysqld.c:54
#5 0x8230a51 in __libc_start_main (main=0x80481a0 main, argc=1,
argv=0xb594, init=0x80480b4 _init, fini=0x82782d0 _fini,
rtld_fini=0, stack_end=0xb58c) at ../sysdeps/generic/libc-start.c:78
(gdb)
gcc version = 2.91.66
OS version = Redhat 6.0
Thank you for advanced answer!
Homepage = http://www.nnr.or.kr/inos/
ICQ # = 123534385
Member of DSN(database.sarang.net), NNR(nnr.or.kr)
--MIME Multi-part separator--
-
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
--
For technical support contracts, goto https://order.mysql.com/
__ ___ ___ __
/ |/ /_ __/ __/ __ \/ /Miguel A. Solórzano [EMAIL PROTECTED]
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Mogi das Cruzes - São Paulo, Brazil
___/ www.mysql.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 [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php