com php-src: fixing comments: ext/pdo_oci/oci_statement.c
| From: | Remi Collet | Date: | Thu, 20 Sep 2018 13:13:36 +0000 |
| Subject: | com php-src: fixing comments: ext/pdo_oci/oci_statement.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-103287@lists.php.net to get a copy of this message | ||
Commit: b9944452b75ec352e629a7856e81400c4b933b9f
Author: Valentin Collet <valentin@famillecollet.com> Thu, 20 Sep 2018 15:13:36
+0200
Committer: GitHub <noreply@github.com> Thu, 20 Sep 2018 15:13:36 +0200
Parents: 61ae69e0624fc6f8485e86bf943636d22776b5eb
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b9944452b75ec352e629a7856e81400c4b933b9f
Log:
fixing comments
Changed paths:
M ext/pdo_oci/oci_statement.c
Diff:
diff --git a/ext/pdo_oci/oci_statement.c b/ext/pdo_oci/oci_statement.c
index 13a4590..de4b5c3 100644
--- a/ext/pdo_oci/oci_statement.c
+++ b/ext/pdo_oci/oci_statement.c
@@ -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");
}