<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — MySQL "INNER JOIN" change in 5.0.12]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=13&amp;type=atom" />
	<updated>2014-09-03T04:08:15Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=13</id>
		<entry>
			<title type="html"><![CDATA[Re: MySQL "INNER JOIN" change in 5.0.12]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=20630#p20630" />
			<content type="html"><![CDATA[<p>Are there any more such constructs in FA now (function is now at line 1613)? In such cases, do the referred corresponding fields in the tables within those in the parantheses get automagically equated?</p><p>In this case, the WHERE clause states:<br /></p><div class="codebox"><pre><code>chart.account_code=acc.account_code</code></pre></div><p>should it be<br /></p><div class="codebox"><pre><code>chart.account_code=acc.account_code AND chart.account_code=type.account_code</code></pre></div><p>instead?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-09-03T04:08:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=20630#p20630</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MySQL "INNER JOIN" change in 5.0.12]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22#p22" />
			<content type="html"><![CDATA[<p>Thanks leeg,</p><p>for pointing this out. The bug is fixed in the CVS. For those affected, please check out the new revision of /frontaccount/includes/ui/ui_lists.inc.</p><p>Regards<br />Admin</p>]]></content>
			<author>
				<name><![CDATA[admin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=2</uri>
			</author>
			<updated>2007-04-18T20:37:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22#p22</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[MySQL "INNER JOIN" change in 5.0.12]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21#p21" />
			<content type="html"><![CDATA[<p>MySQL syntax for joins mixed with commas has changed.&nbsp; See http://bugs.mysql.com/bug.php?id=15823.</p><p>This affects ui_lists.inc, that I&#039;ve found so far, and can be fixed by surrounding the comma-separated fields with parenthesis.&nbsp; For example, in function gl_all_accounts_list on line 1381, change</p><p>FROM &quot;.TB_PREF.&quot;chart_master,&quot;.TB_PREF.&quot;chart_types LEFT JOIN &quot;.TB_PREF.&quot;bank_accounts ON &quot;.TB_PREF.&quot;chart_master.account_code=&quot;.TB_PREF.&quot;bank_accounts.account_code</p><p>to</p><p>FROM (&quot;.TB_PREF.&quot;chart_master,&quot;.TB_PREF.&quot;chart_types) LEFT JOIN &quot;.TB_PREF.&quot;bank_accounts ON &quot;.TB_PREF.&quot;chart_master.account_code=&quot;.TB_PREF.&quot;bank_accounts.account_code</p>]]></content>
			<author>
				<name><![CDATA[leeg]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=11</uri>
			</author>
			<updated>2007-04-18T16:10:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21#p21</id>
		</entry>
</feed>
