help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] dbi: I need to use a $; and not a $: as stated by t


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] dbi: I need to use a $; and not a $: as stated by the docs
Date: Fri, 08 Apr 2011 10:57:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 04/07/2011 04:42 PM, Holger Hans Peter Freyther wrote:
Test case would be DBI.ConnectionInfo fromDNS: 'dbi:ABC:dbname=123;foo=456'



 From 1ff0488a03ba356418f50464580c3e355189d27b Mon Sep 17 00:00:00 2001
From: Holger Hans Peter Freyther<address@hidden>
Date: Thu, 7 Apr 2011 16:40:51 +0200
Subject: [PATCH] dbi: Fix the documentation for the parameters

---
  ChangeLog    |    4 ++++
  doc/gst.texi |    2 +-
  2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d55fb47..f4fd751 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-07  Holger Hans Peter Freyther<address@hidden>
+
+       * doc/gst.texi: Fix documentation.
+
  2011-03-07  Paolo Bonzini<address@hidden>

        * tests/pools.st: Add broken testcases.
diff --git a/doc/gst.texi b/doc/gst.texi
index 20192ee..c570523 100644
--- a/doc/gst.texi
+++ b/doc/gst.texi
@@ -2260,7 +2260,7 @@ my password is @code{mypass}.
  | connection statement result |

  connection := DBI.Connection
-    connect: 'dbi:MySQL:dbname=test:host=localhost'
+    connect: 'dbi:MySQL:dbname=test;hostname=localhost'
      user: 'doe'
      password: 'mypass').
  @end example

Applied, thanks!

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]