<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/directsql/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/directsql/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 04 Aug 2007 14:20:59 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/directsql/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Socket connection under Unix with FreePascal not working</title><link>https://sourceforge.net/p/directsql/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;First of all I was surprised that Direct SQL compiled flawlessly in FreePascal! Then I noticed I couldn't connect to my server and traced the problem back to some obviously unfinished line of code.&lt;/p&gt;
&lt;p&gt;Problem 1:&lt;br /&gt;
The problem you have is that 'errno' is defined in the ISO standard as an assignable l-value and can be either a MACRO or a variable. This is a bad starting point for any Pascal Linker.&lt;/p&gt;
&lt;p&gt;Solution 1:&lt;br /&gt;
Looking through the web I found that the GNU implementation of the ISO standard exports the function '__errno_location()' which returns the address of that int. So I deleted your global variable 'errno: Integer' and added "function errno: PInteger; cdecl; external 'libc.so.6' name '__errno_location';". In addition all the references to "errno" have to be changed to "errno^".&lt;/p&gt;
&lt;p&gt;Problem 2:&lt;br /&gt;
connect still didn't seem to work and if errno^ returned reliable values it was due to an 'invalid parameter'. &lt;/p&gt;
&lt;p&gt;Solution 2:&lt;br /&gt;
As the socket wasn't -1 and the address length was 16 it had to be the address itself. Looking at the declaration of connect I got a bit nervous about the "const" keyword cause it can be used by the compiler to transfer values in registers while we explicitly need a pointer here. So I changed this to "var" and it seems to do the trick.&lt;/p&gt;
&lt;p&gt;Thank you for this great library and making it as compatible as it can be. I'm looking forward to the next release.&lt;/p&gt;
&lt;p&gt;Marco&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 04 Aug 2007 14:20:59 -0000</pubDate><guid>https://sourceforge.net1d252ae475da0c62be3110d51c2a633ad34bb541</guid></item><item><title>MySQL 4.1.7 Bugs</title><link>https://sourceforge.net/p/directsql/bugs/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;DirectSQL causes lots of problems when trying to &lt;br /&gt;
connect to a stable MySQL 4.1.7 server.  It seems it &lt;br /&gt;
does not obtain the field- and tablenames correctly from &lt;br /&gt;
the MySQL server.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">GreenPirate</dc:creator><pubDate>Wed, 01 Dec 2004 19:47:25 -0000</pubDate><guid>https://sourceforge.netfd0cad3736a6928760ac7b1f75e2aa4deeadc210</guid></item><item><title>Integer Overflow</title><link>https://sourceforge.net/p/directsql/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I get an Integer Overflow Error in the line&lt;br /&gt;
nr2:=nr2+((nr2 shl 8) xor nr);&lt;br /&gt;
in function hashPassword&lt;br /&gt;
in Module uMysqlClient.pas.&lt;br /&gt;
The Error happens not always but often.&lt;/p&gt;
&lt;p&gt;What can I do ?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 09 Dec 2003 13:56:29 -0000</pubDate><guid>https://sourceforge.netcdc252c076a97a8e9ed1c0a7f80cd14a87137229</guid></item><item><title>Possible Unneeded Data Fetch on Close ??</title><link>https://sourceforge.net/p/directsql/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I think that on this procedure&lt;/p&gt;
&lt;p&gt;destructor TMysqlResult.destroy;&lt;/p&gt;
&lt;p&gt;unit uMysqlClient.pas &lt;/p&gt;
&lt;p&gt;destructor TMysqlResult.destroy;&lt;br /&gt;
....&lt;br /&gt;
while true do&lt;br /&gt;
begin //clear the buffer&lt;br /&gt;
pkt_len:=fhandle.fnet.net_safe_read;&lt;br /&gt;
if (pkt_len = packet_error) then  break;&lt;br /&gt;
if (pkt_len = 1) and (pchar(fhandle.fnet.read_pos)[0] &lt;br /&gt;
= #254) then break;&lt;br /&gt;
end;&lt;br /&gt;
....&lt;/p&gt;
&lt;p&gt;this loop is not needed and it causes the component to &lt;br /&gt;
fetch ALL records, while the only thing we really want to &lt;br /&gt;
do is close the dataset.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 18 Jul 2003 10:52:13 -0000</pubDate><guid>https://sourceforge.net078d438a96dcdbab329e80536822dd0441ac45d7</guid></item><item><title>Connection Duplicates</title><link>https://sourceforge.net/p/directsql/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I don't know if it is a bug or not.&lt;/p&gt;
&lt;p&gt;When I connect to the database (mysqlproc demo &lt;br /&gt;
program) when the connection is successfull if I press &lt;br /&gt;
the button multiple times, it will create multiple threads &lt;br /&gt;
without disconnect the previous one.&lt;/p&gt;
&lt;p&gt;Another question, is it possible to help on the project ?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">E-Razor</dc:creator><pubDate>Wed, 09 Apr 2003 00:27:43 -0000</pubDate><guid>https://sourceforge.net510b35ad90649065b4ffabdc806dc085645ae088</guid></item><item><title>possible memory leak</title><link>https://sourceforge.net/p/directsql/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;in net_real_write in the file uMysqlNet.pas, strDispose is &lt;br /&gt;
not always called on pac, which causes a memory leak.&lt;/p&gt;
&lt;p&gt;I worked around it by adding a strdispose(pac); to the &lt;br /&gt;
end of the procedure&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 03 Feb 2003 17:04:38 -0000</pubDate><guid>https://sourceforge.net4604d95a51ce4f3a588475ab4866548eee71f56f</guid></item><item><title>query error</title><link>https://sourceforge.net/p/directsql/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Very strange behavior.&lt;br /&gt;
I have long query (UPDATE CATDATA SET MYBLOB = &lt;br /&gt;
0x176128f123f3f12f123ff12312.....   WHERE ID=1 )&lt;/p&gt;
&lt;p&gt;When I post it to remote server it gives error if query &lt;br /&gt;
sent was &amp;amp;gt; 16k. With libmysql everything ok.&lt;/p&gt;
&lt;p&gt;Anton&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 28 Aug 2002 13:17:00 -0000</pubDate><guid>https://sourceforge.net4e03af8313cfc0d01e67110da86861a182fad398</guid></item><item><title>mysql_query hangs</title><link>https://sourceforge.net/p/directsql/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Apparently a query like:&lt;br /&gt;
'update table column=&amp;amp;quot;1&amp;amp;quot; where id=5' does hang .. need &lt;br /&gt;
to check.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cristian Nicola</dc:creator><pubDate>Wed, 19 Sep 2001 08:04:51 -0000</pubDate><guid>https://sourceforge.neta4980f67ab847ec92f61c3fbbe93cc4117f23808</guid></item><item><title>Send file to server + compression = AV</title><link>https://sourceforge.net/p/directsql/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Need to find a fix in this case&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cristian Nicola</dc:creator><pubDate>Wed, 19 Sep 2001 08:03:55 -0000</pubDate><guid>https://sourceforge.neta73e2d6b7eeb1e56303dbd6bb24c7677c8d96b80</guid></item><item><title>Send file to server has problems</title><link>https://sourceforge.net/p/directsql/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I will check it today and definatelly fix it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cristian Nicola</dc:creator><pubDate>Wed, 19 Sep 2001 08:03:24 -0000</pubDate><guid>https://sourceforge.neta24e5fe6eea1cd1767addaf993e9f59575daa509</guid></item></channel></rss>