<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged qa_db_list_tables_lc</title>
<link>https://www.question2answer.org/qa/tag/qa_db_list_tables_lc</link>
<description>Powered by Question2Answer</description>
<item>
<title>Problem with qa_db_list_tables_lc()</title>
<link>https://www.question2answer.org/qa/23474/problem-with-qa_db_list_tables_lc</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
Today I was integrating Q2A on a specific website, but I had trouble at some point with the login:&lt;br /&gt;
&lt;br /&gt;
I checked the code and the problem was due to this function : qa_db_user_login_sync()&lt;br /&gt;
&lt;br /&gt;
The following code was the exact problem:&lt;br /&gt;
&lt;br /&gt;
$tables=qa_db_list_tables_lc();&lt;br /&gt;
&lt;br /&gt;
Why do the tables need to be in lowercase? It was causing problem because in my database, I had a column named questionTags, and it was trying to do a LOCK TABLES questiontags WRITE leading to a database error.&lt;br /&gt;
&lt;br /&gt;
I changed the code and added a function qa_db_list_tables() and it seems to be fine for now, but I don't want any error later because I remove the lower case thus my question.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
JB</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/23474/problem-with-qa_db_list_tables_lc</guid>
<pubDate>Fri, 26 Apr 2013 15:56:58 +0000</pubDate>
</item>
</channel>
</rss>