2008-04-03 Georg Fleischmann <georg@vhf.de>

* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
([+formatValue:forAttribute:]): Fix quoting and unicode
handling.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26427 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ratmice 2008-04-03 06:24:26 +00:00
parent 5f013951da
commit 9142225ac9
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-04-03 Georg Fleischmann <georg@vhf.de>
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
([+formatValue:forAttribute:]): Fix quoting.
2008-04-01 David Ayers <ayers@fsfe.org>
* EOControl/EOKeyValueCoding.m

View file

@ -343,8 +343,11 @@ RCS_ID("$Id$")
{
switch (tempString[i])
{
case '\'':
[string insertString: @"'" atIndex: dif + i];
dif++;
break;
case '\\':
case '\'':
[string insertString: @"\\" atIndex: dif + i];
dif++;
break;