BUG: mysql2300 doesnt close the connection

when mysql2300 is done with putting data in the database it does not close the connection. mysqlclose(); should be implemented asap!


tcp        0      0 tor:10050               siv:54068               TIME_WAIT  
tcp        0      0 tor:10050               siv:54070               TIME_WAIT  
tcp        0      0 tor:10050               siv:54071               TIME_WAIT  
tcp        0      0 tor:10050               siv:54064               TIME_WAIT  
tcp        0      0 tor:10050               siv:54065               TIME_WAIT  
tcp        0      0 tor:10050               siv:54067               TIME_WAIT  
tcp        0      0 tor:10050               siv:54076               TIME_WAIT  
tcp        0      0 tor:10050               siv:54077               TIME_WAIT  
tcp        0      0 tor:10050               siv:54073               TIME_WAIT  
tcp        0      0 tor:10050               siv:54074               TIME_WAIT  
tcp        0      0 tor:10050               siv:54044               TIME_WAIT  
tcp        0      0 tor:10050               siv:54046               TIME_WAIT  
tcp        0      0 tor:10050               siv:54047               TIME_WAIT  
tcp        0      0 tor:mysql               siv:56371               ESTABLISHED
tcp        0      0 tor:10050               siv:54040               TIME_WAIT  
tcp        0      0 tor:mysql               siv:56370               ESTABLISHED
tcp        0      0 tor:mysql               siv:56369               ESTABLISHED
tcp        0      0 tor:mysql               siv:56368               ESTABLISHED
tcp        0      0 tor:10050               siv:54043               TIME_WAIT  
tcp        0      0 tor:mysql               siv:42069               ESTABLISHED
tcp        0      0 tor:mysql               siv:42068               ESTABLISHED
tcp        0      0 tor:mysql               siv:42113               ESTABLISHED
tcp        0      0 tor:mysql               siv:42112               ESTABLISHED
tcp        0      0 tor:mysql               siv:42160               ESTABLISHED
tcp        0      0 tor:mysql               siv:41981               ESTABLISHED
tcp        0      0 tor:mysql               siv:41980               ESTABLISHED

Test case

Environment

Open2300 version: 1.10
Shared libraries: mysql
Server OS: Debian 3.1 "Sarge" Stable

-- LarsdeBruinJohansen - 21 Jun 2006

Follow up

I wonder what the problem is.

One of the last lines in mysql2300 is

mysql_close(&mysql);

Is this not correct?

Fix record

No follow up. Rejected

Reopen if you ever come back.

-- KennethLavrsen - 19 Jul 2006
Topic revision: r3 - 19 Jul 2006 - 00:12:19 - KennethLavrsen
 
Open2300 - Bug Report 2006x 06x 21x 200050
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback