dbi: I need to use a $; and not a $: as stated by the docs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

dbi: I need to use a $; and not a $: as stated by the docs

Holger Freyther
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 <[hidden email]>
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  <[hidden email]>
+
+ * doc/gst.texi: Fix documentation.
+
 2011-03-07  Paolo Bonzini <[hidden email]>

  * 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
--
1.7.4


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: dbi: I need to use a $; and not a $: as stated by the docs

Paolo Bonzini-2
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<[hidden email]>
> 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<[hidden email]>
> +
> + * doc/gst.texi: Fix documentation.
> +
>   2011-03-07  Paolo Bonzini<[hidden email]>
>
>   * 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

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk