[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] [PATCH] postgres: Work on formatting Smalltalk type
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] [PATCH] postgres: Work on formatting Smalltalk types for PostgreSQL |
Date: |
Wed, 22 May 2013 10:09:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
Il 21/05/2013 19:53, Holger Hans Peter Freyther ha scritto:
> On Tue, May 21, 2013 at 06:06:05PM +0200, Paolo Bonzini wrote:
>> Il 21/05/2013 10:07, Holger Hans Peter Freyther ha scritto:
>
>> MySQL should take the output from FieldConverter and escape it.
>
> It doesn't do that. My argument is that FieldConverter should not
> be used to create queries by hand. So in terms Connection>>#prepare:
> MySQL should probably create some kind of SoftStatement that
> implements executeWithAll by using FieldConverter + escaping
> Strings even further?
>
Yes, that's also a possible implementation.
Paolo