summaryrefslogtreecommitdiff
path: root/ext/fbsql/php_fbsql.c
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2008-08-03 12:12:45 +0000
committerJani Taskinen <jani@php.net>2008-08-03 12:12:45 +0000
commitc9c53d7bcd6291400808e48c4b9690a0414034df (patch)
tree2f9340c5983748d92bb59eafa3f4184293503db9 /ext/fbsql/php_fbsql.c
parent82d833a94c2c756fb2d8fee5942c584f2f1293fe (diff)
downloadphp-git-c9c53d7bcd6291400808e48c4b9690a0414034df.tar.gz
- Nuketh C++ comments from C files.
Diffstat (limited to 'ext/fbsql/php_fbsql.c')
-rw-r--r--ext/fbsql/php_fbsql.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c
index b961146157..05b849132f 100644
--- a/ext/fbsql/php_fbsql.c
+++ b/ext/fbsql/php_fbsql.c
@@ -903,13 +903,13 @@ static void php_fbsql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
{
FBCMetaData *md;
phpLink = (PHPFBLink*)lep->ptr;
- // Check if connection still there.
+ /* Check if connection still there. */
md = fbcdcRollback(phpLink->connection);
if ( !mdOk(phpLink, md, "Rollback;") ) {
if (FB_SQL_G(generateWarnings)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "FrontBase link is not connected, ty to reconnect");
}
- // Make sure select_db will reconnect.
+ /* Make sure select_db will reconnect. */
fbcmdRelease(md);
fbcdcClose(phpLink->connection);
fbcdcRelease(phpLink->connection);
@@ -2993,7 +2993,7 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng
if (FB_SQL_G(showTimestampDecimals)) {
phpfbestrdup(v, length, value);
}
- // Copy only YYYY-MM-DD HH:MM:SS
+ /* Copy only YYYY-MM-DD HH:MM:SS */
else {
int stringLength = strlen(v);
stringLength = min(stringLength, 19);