<?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/ruby-dbi/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/ruby-dbi/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 12 Jan 2006 19:54:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ruby-dbi/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Data in field with datatype of TINYINT is returned as string</title><link>https://sourceforge.net/p/ruby-dbi/bugs/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;DB: MySQL Ver 14.7 Distrib 4.1.15&lt;br /&gt;
Ruby: 1.8.2&lt;/p&gt;
&lt;p&gt;When I select data from a field with a datatype of&lt;br /&gt;
TINYINT, it is returned as a string, not an integer.&lt;/p&gt;
&lt;p&gt;stHandle = @dbHandle.execute("select chk from table1&lt;br /&gt;
where id = 1")&lt;br /&gt;
rows = stHandle.fetch_all&lt;br /&gt;
row = rows[0]&lt;br /&gt;
row["chk"].class&lt;/p&gt;
&lt;p&gt;This returns String&lt;/p&gt;
&lt;p&gt;If I then change the data type in the database to&lt;br /&gt;
INTEGER, that code will return FIXNUM.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 12 Jan 2006 19:54:36 -0000</pubDate><guid>https://sourceforge.net4cb42b0c7507116b64c41bc33e719b7db6cb5c13</guid></item><item><title>warning occurs while run setup.rb</title><link>https://sourceforge.net/p/ruby-dbi/bugs/22/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Warning occurs while run setup.rb, include with&lt;br /&gt;
ruby-dbi-all-0.0.21.tar.gz.&lt;/p&gt;
&lt;p&gt;====&lt;br /&gt;
ruby setup.rb config&lt;br /&gt;
setup.rb:586: warning: parenthesize argument(s) for&lt;br /&gt;
future version&lt;br /&gt;
setup.rb:720: warning: don't put space before argument&lt;br /&gt;
parentheses&lt;br /&gt;
entering config phase...&lt;br /&gt;
config done.&lt;br /&gt;
====&lt;/p&gt;
&lt;p&gt;I modified setup.rb like below, and It have worked&lt;br /&gt;
correctly.&lt;/p&gt;
&lt;p&gt;====&lt;br /&gt;
--- setup.rb.bak        2005-05-19 12:00:27.000000000 +0000&lt;br /&gt;
+++ setup.rb    2005-05-19 12:19:36.000000000 +0000&lt;br /&gt;
@@ -583,7 +583,7 @@&lt;br /&gt;
end&lt;/p&gt;
&lt;p&gt;def install_so( dir )&lt;br /&gt;
-    to = isdir(File.expand_path @config['so-dir'] +&lt;br /&gt;
'/' + dir)&lt;br /&gt;
+    to = isdir(File.expand_path(@config['so-dir']) +&lt;br /&gt;
'/' + dir)&lt;br /&gt;
find_so('.').each do |fn|&lt;br /&gt;
install fn, to, 0555&lt;br /&gt;
end&lt;br /&gt;
@@ -717,7 +717,7 @@&lt;/p&gt;
&lt;p&gt;def dir?( dname )&lt;br /&gt;
# for CORRUPTED windows stat()&lt;br /&gt;
-    File.directory? (dname[-1,1] == '/' ? dname :&lt;br /&gt;
dname + '/')&lt;br /&gt;
+    File.directory?(dname[-1,1] == '/' ? dname : dname&lt;br /&gt;
+ '/')&lt;br /&gt;
end&lt;/p&gt;
&lt;h1 id="end"&gt;end&lt;/h1&gt;
&lt;p&gt;thanks for dbi&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 19 May 2005 12:48:43 -0000</pubDate><guid>https://sourceforge.net396c3c18721d50d267a17432994857cb964f1958</guid></item><item><title>windows chmod glitch</title><link>https://sourceforge.net/p/ruby-dbi/bugs/21/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;attempted to install on windows. seems to be glitch&lt;br /&gt;
on line 655 of setup.rb (in rmf call). after the chmod, the&lt;br /&gt;
windows file is read only and then the file.unlink call for &lt;br /&gt;
file sqlsh.rb fails. probably a glitch with ruby windows &lt;br /&gt;
chmod call. changed the chmod to mode 666 &amp;amp; then it &lt;br /&gt;
worked ok in windows.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 25 Apr 2005 23:36:56 -0000</pubDate><guid>https://sourceforge.net567fac8e8c496093a43e510ae9b9325345e28ecc</guid></item><item><title>Can't have multiple processes accessing sqlite db files</title><link>https://sourceforge.net/p/ruby-dbi/bugs/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Multiple readers/one writer is supported by sqlite.&lt;br /&gt;
This works (i.e. I tested it) with the perl DBI driver.&lt;br /&gt;
However it does NOT work with the ruby DBI driver. Is&lt;br /&gt;
there a work around?&lt;/p&gt;
&lt;p&gt;My email address is: matt@kiatoa.com&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 02 Feb 2005 14:31:47 -0000</pubDate><guid>https://sourceforge.netc6b5291efd9487d2d57474ffaeb834fc34241b3c</guid></item><item><title>PG type map hard to extended</title><link>https://sourceforge.net/p/ruby-dbi/bugs/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In dbd_pg, not sure about other dbds, there is no easy&lt;br /&gt;
way to extend the type map to support non-standard data&lt;br /&gt;
types such as those provided by PostGIS.  Currently the&lt;br /&gt;
only way, I have found, is to override&lt;br /&gt;
DBI::DBD::PG::Database#load_type_map with something&lt;br /&gt;
similar to the standard implementation that includes&lt;br /&gt;
the new types.  This is sub-optimal becuase it would&lt;br /&gt;
prevent multiple extension from being used at the same&lt;br /&gt;
time and it is prone to breakage on new releases of&lt;br /&gt;
this dbd.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Williams</dc:creator><pubDate>Thu, 07 Oct 2004 16:44:02 -0000</pubDate><guid>https://sourceforge.net0fa6e3a1149fa2a7f49cf1485894deb58102c943</guid></item><item><title>PG type map hard to extended</title><link>https://sourceforge.net/p/ruby-dbi/bugs/18/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In dbd_pg, not sure about other dbds, there is no easy&lt;br /&gt;
way to extend the type map to support non-standard data&lt;br /&gt;
types such as those provided by PostGIS.  Currently the&lt;br /&gt;
only way, I have found, is to override&lt;br /&gt;
DBI::DBD::PG::Database#load_type_map with something&lt;br /&gt;
similar to the standard implementation that includes&lt;br /&gt;
the new types.  This is sub-optimal becuase it would&lt;br /&gt;
prevent multiple extension from being used at the same&lt;br /&gt;
time and it is prone to breakage on new releases of&lt;br /&gt;
this dbd.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Williams</dc:creator><pubDate>Thu, 07 Oct 2004 16:11:20 -0000</pubDate><guid>https://sourceforge.netc6c196c1167c40486523150f97563907f4f042e6</guid></item><item><title>column aliases do not work with SQLite</title><link>https://sourceforge.net/p/ruby-dbi/bugs/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;require 'dbi'&lt;br /&gt;
dbc = DBI.connect('DBI:SQLite:/tmp/test.db')&lt;br /&gt;
res = dbc.execute("SELECT column AS alias FROM table")&lt;br /&gt;
puts res.fetch_hash.inspect&lt;/p&gt;
&lt;p&gt;Output:&lt;br /&gt;
{nil=&amp;gt;"1"}&lt;/p&gt;
&lt;p&gt;sqlite-ruby alone doesn't have this problem.&lt;/p&gt;
&lt;p&gt;Ruby-DBI version: 0.0.21&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Schwarz</dc:creator><pubDate>Sun, 11 Apr 2004 14:45:56 -0000</pubDate><guid>https://sourceforge.net0b5aac19c654b1c3121d2748a4e04eb309d764c2</guid></item><item><title>Problem finding Oracle driver in 1.8.1</title><link>https://sourceforge.net/p/ruby-dbi/bugs/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ruby 1.8.1&lt;br /&gt;
Solaris 9&lt;br /&gt;
Oracle driver 0.2.11&lt;br /&gt;
ruby-dbi 0.21&lt;/p&gt;
&lt;p&gt;Using "dbi:Oracle:my_db" as the connect string, I get&lt;br /&gt;
this with DBI:&lt;/p&gt;
&lt;p&gt;&amp;gt;ruby dbitest.rb &lt;br /&gt;
/opt/lib/ruby/site_ruby/1.8/dbi/dbi.rb:490:in&lt;br /&gt;
`load_driver':  is not a class/module (TypeError)&lt;br /&gt;
from&lt;br /&gt;
/opt/lib/ruby/site_ruby/1.8/dbi/dbi.rb:392:in&lt;br /&gt;
`_get_full_driver'&lt;br /&gt;
from&lt;br /&gt;
/opt/lib/ruby/site_ruby/1.8/dbi/dbi.rb:372:in `connect'&lt;br /&gt;
from dbitest.rb:6&lt;/p&gt;
&lt;p&gt;This doesn't happen with 1.6.8, so there's some sort of&lt;br /&gt;
parsing error going on.&lt;/p&gt;
&lt;p&gt;I have also heard that this happens with mysql.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Berger</dc:creator><pubDate>Fri, 27 Feb 2004 15:03:22 -0000</pubDate><guid>https://sourceforge.netabe53959306cf5d044ca796d1cf151af68eafdc3</guid></item><item><title>sqlsh.rb require Readline broken since ruby 1.8.0</title><link>https://sourceforge.net/p/ruby-dbi/bugs/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The interactive shell sqlsh.rb requires the the Readline &lt;br /&gt;
class from irb.&lt;br /&gt;
The class is not available any more in the latests &lt;br /&gt;
distributions of irb, cf. the ruby 1.8.0 versions.&lt;br /&gt;
(1.8.0-10 installer package for Windows)&lt;/p&gt;
&lt;p&gt;The code tries to avoid some dependencies in one place:&lt;/p&gt;
&lt;p&gt;begin&lt;br /&gt;
require &amp;amp;quot;readline&amp;amp;quot;&lt;br /&gt;
$use_readline = true&lt;br /&gt;
rescue LoadError&lt;br /&gt;
$use_readline = false&lt;br /&gt;
end&lt;/p&gt;
&lt;p&gt;but fails to avoid the indirect dependency through irb&lt;/p&gt;
&lt;p&gt;require &amp;amp;quot;irb&amp;amp;quot;&lt;br /&gt;
require &amp;amp;quot;irb/completion&amp;amp;quot;&lt;/p&gt;
&lt;p&gt;$irb_completion = Readline.completion_proc&lt;/p&gt;
&lt;p&gt;A first workaround is&lt;/p&gt;
&lt;p&gt;if $use_readline &lt;br /&gt;
require &amp;amp;quot;irb/completion&amp;amp;quot; # even irb is not clean in itself&lt;br /&gt;
$irb_completion = Readline.completion_proc&lt;br /&gt;
end&lt;/p&gt;
&lt;p&gt;But things get a little bit messy then ...&lt;/p&gt;
&lt;p&gt;Congratulation to your excellent work!&lt;br /&gt;
Mittie&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dierk Koenig</dc:creator><pubDate>Sat, 27 Dec 2003 17:31:08 -0000</pubDate><guid>https://sourceforge.netaa4b7aa159c72c9bd7a341ab95c3555acc08dc7e</guid></item><item><title>&amp;quot;SELECT field/n FROM table&amp;quot; is broken in 0.0.20</title><link>https://sourceforge.net/p/ruby-dbi/bugs/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Query like this:&lt;br /&gt;
&amp;amp;quot;SELECT cost/2 FROM pricelist&amp;amp;quot;&lt;br /&gt;
gives error.  In native MySQL it works.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 14 Jun 2003 12:14:15 -0000</pubDate><guid>https://sourceforge.net2f56d4c47e07b5cfebb6a62b262aa895785f430b</guid></item></channel></rss>