mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-11 08:30:42 +00:00
* ECPG.pgm
* testECPG.m * testMySQL.m * testSQLite.m use PRIuPTR to NSLog NSUIntegers OK Richard git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@36111 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a4ec0e036b
commit
da909810ee
5 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2013-02-11 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
* ECPG.pgm
|
||||
* testECPG.m
|
||||
* testMySQL.m
|
||||
* testSQLite.m
|
||||
use PRIuPTR to NSLog NSUIntegers
|
||||
|
||||
2013-01-31 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* SQLClient.m: Check for -disconnect being called when inside a
|
||||
|
|
2
ECPG.pgm
2
ECPG.pgm
|
@ -111,7 +111,7 @@ void SQLErrorHandler()
|
|||
const char *e1 = "Error in transaction processing";
|
||||
|
||||
sqlca.sqlcode = 0; // Reset error code
|
||||
NSLog (@"Raising an exception, %ld, %s", code, sqlca.sqlerrm.sqlerrmc);
|
||||
NSLog (@"Raising an exception, %d, %s", code, sqlca.sqlerrm.sqlerrmc);
|
||||
|
||||
if (strncmp(ptr, e0, strlen(e0)) == 0
|
||||
|| strncmp(ptr, e1, strlen(e1)) == 0)
|
||||
|
|
|
@ -109,7 +109,7 @@ main()
|
|||
|
||||
if ([records count] != 2)
|
||||
{
|
||||
NSLog(@"Expected 2 records but got %u", [records count]);
|
||||
NSLog(@"Expected 2 records but got %" PRIuPTR "", [records count]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -109,7 +109,7 @@ main()
|
|||
|
||||
if ([records count] != 2)
|
||||
{
|
||||
NSLog(@"Expected 2 records but got %u", [records count]);
|
||||
NSLog(@"Expected 2 records but got %" PRIuPTR "", [records count]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -104,7 +104,7 @@ main()
|
|||
|
||||
if ([records count] != 2)
|
||||
{
|
||||
NSLog(@"Expected 2 records but got %u", [records count]);
|
||||
NSLog(@"Expected 2 records but got %" PRIuPTR "", [records count]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue