Raised This Month: $32 Target: $400
 8% 

[sqlX]Wrong db name = server crash


  
 
 
Thread Tools Display Modes
Author Message
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 09-18-2006 , 15:08   [sqlX]Wrong db name = server crash
#1

I have found an error that causes a crash when you have wrong db name when using threaded queries.
I have not tested this with DBI only sqlX

I have a database named amxx on my mysql server
If I set the db name to a data base that doesn't exist the server will crash
In 1.75a you got a log message
Code:
 
(Connection failed! ID: 12 Message: Unknown database 'amxx2' (1049))
In 1.76 the server crash

To reproduce just set the db name to a db that dont exist and then run a threaded query.

This is only confirmed in windows.
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 09-18-2006 , 16:30   Re: [sqlX]Wrong db name = server crash
#2

This was also confirmed on linux.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Silver Dragon
Veteran Member
Join Date: Jan 2005
Location: Chicago, Illinois
Old 09-18-2006 , 16:32   Re: [sqlX]Wrong db name = server crash
#3

Happening to me as well.
__________________

Silver Dragon is offline
Send a message via AIM to Silver Dragon Send a message via MSN to Silver Dragon Send a message via Yahoo to Silver Dragon
BAILOPAN
Join Date: Jan 2004
Old 09-21-2006 , 12:54   Re: [sqlX]Wrong db name = server crash
#4

Thanks for the report. This has been fixed as revision 3090.
__________________
egg
BAILOPAN is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode