| Bug #3849 | Server crash - open / close... | ||
|---|---|---|---|
| Submitted: | 21 May 2004 13:17 | Modified: | 24 May 2004 5:28 |
| Reporter: | bodi | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | OS: | Windows (Windows) | |
| Assigned to: | CPU Architecture: | Any | |
[24 May 2004 5:28]
MySQL Verification Team
Which MySQL version and Windows OS are you using ? I tested with 4.0.18 on XP without able to repeat.

Description: Server crash - connect / close... How to repeat: static void ConnectorTest(char* host, char* name, char* password, char* db) { MYSQL_RES *result; MYSQL_ROW row; MYSQL *conn=NULL; conn = mysql_init(NULL); if(mysql_real_connect(conn, host, name, password, db, 3306, NULL,0) == NULL) { /* print the error message */ return; } mysql_close(conn); } ... // 3000 or less number for(int i=0;i<3000;i++) { ConnectorTest( ... ); }