Fix it's and its to be correct.
authorBruce Momjian <bruce@momjian.us>
Wed, 5 Jan 2000 18:23:53 +0000 (18:23 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 5 Jan 2000 18:23:53 +0000 (18:23 +0000)
convert.c
drvconn.c
info.c
parse.c
pgtypes.c
results.c
statement.c

index 4355fdf6f55cbe5145f5528d1401e7dec2bb0814..09d27d3e0475406cac178b3718d448dabafcf9fd 100644 (file)
--- a/convert.c
+++ b/convert.c
@@ -347,7 +347,7 @@ char tempBuf[TEXT_FIELD_SIZE+5];
 
     } else {
 
-       /*  for SQL_C_CHAR, its probably ok to leave currency symbols in.  But
+       /*  for SQL_C_CHAR, it's probably ok to leave currency symbols in.  But
            to convert to numeric types, it is necessary to get rid of those.
        */
        if (field_type == PG_TYPE_MONEY)
@@ -626,7 +626,7 @@ int lobj_fd, retval;
                memcpy(&new_statement[npos], esc, strlen(esc));
                npos += strlen(esc);
            }
-           else {      /* its not a valid literal so just copy */
+           else {      /* it's not a valid literal so just copy */
                *end = '}'; 
                new_statement[npos++] = old_statement[opos];
                continue;
@@ -680,7 +680,7 @@ int lobj_fd, retval;
            continue;
        }
 
-       /*  If no buffer, and its not null, then what the hell is it? 
+       /*  If no buffer, and it's not null, then what the hell is it? 
            Just leave it alone then.
        */
        if ( ! buffer) {
index c9a98cc037e2bacfc9667829793c916f16d18669..261874772ed40f9544c55ef743099bd879f18d08 100644 (file)
--- a/drvconn.c
+++ b/drvconn.c
@@ -157,7 +157,7 @@ dialog:
    }
 
    /*  Password is not a required parameter unless authentication asks for it.
-       For now, I think its better to just let the application ask over and over until
+       For now, I think it's better to just let the application ask over and over until
        a password is entered (the user can always hit Cancel to get out)
    */
    if( ci->username[0] == '\0' ||
diff --git a/info.c b/info.c
index 84092b98afa2bdcaf54dbcc2492ef9b34312446b..8f630710da029ae0043e75934a009c63f6611d86 100644 (file)
--- a/info.c
+++ b/info.c
@@ -1373,8 +1373,8 @@ ConnInfo *ci;
 
 
    /*  Only show oid if option AND there are other columns AND 
-       its not being called by SQLStatistics .
-       Always show OID if its a system table
+       it's not being called by SQLStatistics .
+       Always show OID if it's a system table
    */
 
    if (result != SQL_ERROR && ! stmt->internal) {
diff --git a/parse.c b/parse.c
index 78abaf30f06232d22515e093ff6fd5425a42ff46..3920116c5ca5bf8596545848175832a3ddd53255 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -447,7 +447,7 @@ RETCODE result;
                continue;
            }
 
-           /*  otherwise, its probably an expression */
+           /*  otherwise, it's probably an expression */
            in_expr = TRUE;
            fi[stmt->nfld-1]->expr = TRUE;
            fi[stmt->nfld-1]->name[0] = '\0';
@@ -523,7 +523,7 @@ RETCODE result;
            continue;
        } 
 
-       /*  its a dot, resolve to table or alias */
+       /*  it's a dot, resolve to table or alias */
        else if (fi[i]->dot[0]) {
            for (k = 0; k < stmt->ntab; k++) {
                if ( ! stricmp(ti[k]->name, fi[i]->dot)) {
index b3a9d94b1a6bf3888745ec1342650a6a70f0f4c9..5c02c4c21a371177da6194bd7d37bbd883e9de2a 100644 (file)
--- a/pgtypes.c
+++ b/pgtypes.c
@@ -224,7 +224,7 @@ Int2 pgtype_to_sqltype(StatementClass *stmt, Int4 type)
    default:                
 
        /*  first, check to see if 'type' is in list.  If not, look up with query.
-           Add oid, name to list.  If its already in list, just return.
+           Add oid, name to list.  If it's already in list, just return.
        */
        if (type == stmt->hdbc->lobj_type)  /* hack until permanent type is available */
            return SQL_LONGVARBINARY;
index ece49dd8b08fb9ffa405fa06afb784251c3c4d42..47291127d1e182b809efc60b7058ae708a5fad22 100644 (file)
--- a/results.c
+++ b/results.c
@@ -692,7 +692,7 @@ mylog("SQLGetData: enter, stmt=%u\n", stmt);
            mylog("     value = '%s'\n", value);
        }
    }
-   else { /* its a SOCKET result (backend data) */
+   else { /* it's a SOCKET result (backend data) */
        if (stmt->currTuple == -1 || ! res || ! res->tupleField) {
            stmt->errormsg = "Not positioned on a valid row for GetData.";
            stmt->errornumber = STMT_INVALID_CURSOR_STATE_ERROR;
index a5fc1488a621c9908259b7e7a7e42cdaba54602a..da716001299174bef5c2e9950926e6751f636409 100644 (file)
@@ -783,7 +783,7 @@ QueryInfo qi;
    self->status = STMT_EXECUTING;
 
 
-   //  If its a SELECT statement, use a cursor.
+   //  If it's a SELECT statement, use a cursor.
    //  Note that the declare cursor has already been prepended to the statement
    //  in copy_statement...
    if (self->statement_type == STMT_TYPE_SELECT) {
@@ -822,7 +822,7 @@ QueryInfo qi;
        
    }
    else  { // not a SELECT statement so don't use a cursor          
-       mylog("      its NOT a select statement: stmt=%u\n", self);
+       mylog("      it's NOT a select statement: stmt=%u\n", self);
        self->result = CC_send_query(conn, self->stmt_with_params, NULL);
        
        //  If we are in autocommit, we must send the commit.