Raised This Month: $51 Target: $400
 12% 

[Fixed] MySQL syntax error for version before 4.0


  
 
 
Thread Tools Display Modes
Author Message
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-27-2005 , 12:15   [Fixed] MySQL syntax error for version before 4.0
#1

I noticed today when putting SH mysql on for someone using mysql-3.23.58 that I got this error

Code:
L 08/27/2005 - 10:58:13: [superheromodmysql.amxx] DEBUG: Couldn't Clean XP: 'You have an error in your SQL syntax near 'sh_saveskills` FROM `sh_saveskills`, `sh_savexp` WHERE sh_savexp.`SH_KEY` = sh_s' at' - 'DELETE `sh_saveskills` FROM `sh_saveskills`, `sh_savexp` WHERE sh_savexp.`SH_KEY` = sh_saveskill
did some looking and found out I cant do that in mysql 3.x

This mysql version is commonly used on redhat distributions because they trust it works good and dont like to do massive upgrades.

I will make a define switch that uses proper syntax for the old mysql and I guess we will have 1.18e
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-27-2005 , 22:28  
#2

OK I fixed it and decided to just keep it 1.18d since it was just a minor include change. If you are getting that error at all you NEED 1.18d and you need to recompile it with the define commented out (see the sh mysql include)
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
 



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 05:44.


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