Fix typo in documentation.

Add test for multibyte unicode character in char(1) field.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@21257 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-05-25 13:27:08 +00:00
parent ed84e87806
commit 6c65810e52
2 changed files with 13 additions and 1 deletions

View file

@ -135,7 +135,7 @@
The gnustep-base package must have been built and installed.
</item>
<item>
You must hace sourced the GNUstep.sh script (from gnustep-make) to set
You must have sourced the GNUstep.sh script (from gnustep-make) to set
up environment variables needed for building this.
</item>
<item>

View file

@ -213,6 +213,18 @@ main()
[NSData dataWithBytes: "" length: 0],
@")",
nil];
[db execute: @"insert into xxx "
@"(k, char1, boolval, intval, when1, when2, b) "
@"values ("
@"'hello', ",
[db quote: [[NSString stringWithCString: "\"\\U2A11\""] propertyList]],
@",TRUE, "
@"1, ",
[NSDate date], @", ",
[NSDate date], @", ",
[NSData dataWithBytes: "" length: 0],
@")",
nil];
[db commit];
records = [db query: @"select * from xxx", nil];