]> granicus.if.org Git - postgresql/commitdiff
Change an *if condition*.
authorHiroshi Inoue <inoue@tpf.co.jp>
Fri, 14 Sep 2001 06:46:45 +0000 (06:46 +0000)
committerHiroshi Inoue <inoue@tpf.co.jp>
Fri, 14 Sep 2001 06:46:45 +0000 (06:46 +0000)
Hiroshi Inoue

src/interfaces/odbc/connection.c

index 27bdc51cea28e84bd5b124a715c5151676ae0659..c5d9ab6ab82896f609f4fba074f32caf99c04d7f 100644 (file)
@@ -1066,8 +1066,6 @@ CC_send_query(ConnectionClass *self, char *query, QueryInfo *qi)
                                }
                                else
                                {
-                                       char            clear = 0;
-
                                        mylog("send_query: ok - 'C' - %s\n", cmdbuffer);
 
                                        if (res == NULL)        /* allow for "show" style notices */
@@ -1273,9 +1271,9 @@ CC_send_query(ConnectionClass *self, char *query, QueryInfo *qi)
                }
        }
        /*      
-        *      If retres isn't set yet.
+        *      Break before being ready to return.
         */
-       if (!retres)
+       if (!ReadyToReturn)
        {
                if (res && QR_get_aborted(res))
                        retres = res;