diff options
Diffstat (limited to 'ext/fbsql/php_fbsql.c')
| -rw-r--r-- | ext/fbsql/php_fbsql.c | 6 |
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); |
