Author: rfm
Date: Wed Jun 17 14:54:45 2015
New Revision: 38652

URL: http://svn.gna.org/viewcvs/gnustep?rev=38652&view=rev
Log:
tiny tidyup

Modified:
    libs/sqlclient/trunk/testPostgres.m

Modified: libs/sqlclient/trunk/testPostgres.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/sqlclient/trunk/testPostgres.m?rev=38652&r1=38651&r2=38652&view=diff
==============================================================================
--- libs/sqlclient/trunk/testPostgres.m (original)
+++ libs/sqlclient/trunk/testPostgres.m Wed Jun 17 14:54:45 2015
@@ -73,7 +73,7 @@
                                                 name: @"test"
                                                  max: 2
                                                  min: 1] autorelease];
-#if 0
+#if 1
 {
   NSAutoreleasePool     *p;
   SQLClient             *c0;
@@ -453,32 +453,13 @@
       [db begin];
       [db execute: @"create table xxx ( "
        @"id int, "
-       @"k char(40), "
-       @"char1 char(1), "
-       @"boolval BOOL, "
-       @"intval int, "
        @"when1 timestamp with time zone, "
-       @"when2 timestamp, "
-       @"b bytea,"
-        @"extra1 int[],"
-        @"extra2 varchar[],"
-        @"extra3 bytea[],"
-        @"extra4 boolean[],"
-        @"extra5 timestamp with time zone[]"
-       @")",
+       @"when2 timestamp)",
        nil];
-      [db execute: @"insert into xxx "
-       @"(id, k, char1, boolval, intval, when1, when2, b) "
+      [db execute: @"insert into xxx (id, when1, when2) "
        @"values (99,",
-       [db quote: oddChars],
-       @", ",
-       [db quote: nonLatin],
-       @",TRUE, "
-       @"1, ",
        [NSDate distantPast], @", ",
-       [NSDate distantFuture], @", ",
-       [NSData dataWithBytes: "" length: 0],
-       @")",
+       [NSDate distantFuture], @")",
        nil];
       r0 = [[db query: @"select * from xxx where id=99", nil] lastObject];
       [db execute: @"drop table xxx", nil];


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to