]> granicus.if.org Git - php/commitdiff
fixing comments
authorValentin Collet <valentin@famillecollet.com>
Thu, 20 Sep 2018 13:13:36 +0000 (15:13 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Sep 2018 13:13:36 +0000 (15:13 +0200)
ext/pdo_oci/oci_statement.c

index 13a459080198abb717696caf6523b946501315f4..de4b5c36e6f97d21a75803ca8dbbd2187103c7e7 100644 (file)
@@ -834,7 +834,7 @@ static int oci_stmt_col_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_val
 
 
        if (dtype) {
-       // if there is a declared type
+       /* if there is a declared type */
                switch (dtype) {
 #ifdef SQLT_TIMESTAMP
                case SQLT_TIMESTAMP:
@@ -929,10 +929,10 @@ static int oci_stmt_col_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_val
                        add_assoc_string(return_value, "native_type", "UNKNOWN");
                }
        } else if (data_size) {
-               // if the column is the result of a function
+               /* if the column is the result of a function */
                add_assoc_string(return_value, "native_type", "UNKNOWN");
        } else {
-               // if the column is NULL
+               /* if the column is NULL */
                add_assoc_long(return_value, "oci:decl_type", 0);
                add_assoc_string(return_value, "native_type", "NULL");
        }