Closed (fixed)
Project:
Bibliography Module
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2007 at 19:56 UTC
Updated:
14 Feb 2009 at 13:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
rjerome commentedRegrettably, I can't reproduce this error. What version of MySQL are you running?
Comment #2
mfh commentedI also got this error.
I (i.e. the guys running the server I have to work on...) am/are running MySQL 3.23,
which seems not to support the "JOIN...ON" syntax.
As a temporary fix,I replaced "ON xxx where yyy" by "WHERE xxx and yyy"
in the (only) 2 occurences of " JOIN " in biblio.module.
This seems to work, but I'm not a SQL guru and therefore
- maybe there is a (much) better solution
- maybe what I did will not work (well) in some cases.
It would be nice to have
- a confirmation by a competent person
- an automatic patch doing this (and issuing a warning if this could cause problems) on installation/activation, if Mysql 3.23 is detected.
Thanks in advance for an answer before closing the issue....
Comment #3
kmv commentedI also have this error. It is a MySQL 3.23 problem - you must specify the INNER on the JOIN (it doesn't know if it should be doing an INNER or a LEFT join). Later versions are more tolerant and assume INNER.
I have attached a patch, which works for me.
Comment #4
rjerome commentedThanks, for that, I integrated it into the code.
Comment #5
catdevrandom commented