mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-15 16:11:42 +00:00
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:
parent
ed84e87806
commit
6c65810e52
2 changed files with 13 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue