]> granicus.if.org Git - php/commitdiff
removed some comments
authorGeorg Richter <georg@php.net>
Sat, 22 Feb 2003 07:47:46 +0000 (07:47 +0000)
committerGeorg Richter <georg@php.net>
Sat, 22 Feb 2003 07:47:46 +0000 (07:47 +0000)
ext/mysqli/mysqli_api.c

index 56c4056828ee628a079883fec9cbcbc9617252aa..79d75667d6fd25d0def7561e9c6961eba83a403a 100644 (file)
@@ -148,8 +148,8 @@ PHP_FUNCTION(mysqli_bind_param)
 
                        case MYSQLI_BIND_STRING:
                                bind[ofs].buffer_type = MYSQL_TYPE_VAR_STRING;
-                               bind[ofs].buffer = NULL; // Z_STRVAL_PP(args[i]);
-                               bind[ofs].buffer_length = 0; // strlen(Z_STRVAL_PP(args[i]));
+                               bind[ofs].buffer = NULL; 
+                               bind[ofs].buffer_length = 0;
                                bind[ofs].is_null = &stmt->is_null[ofs];
                                break;
 
@@ -283,8 +283,6 @@ PHP_FUNCTION(mysqli_bind_result)
 
                        case MYSQL_TYPE_LONGLONG:
                                stmt->bind[ofs].type = IS_STRING; 
-
-                               /* TODO: change and check buflen when bug #74 is fixed */
                                stmt->bind[ofs].buflen = sizeof(my_ulonglong); 
                                stmt->bind[ofs].buffer = (char *)emalloc(stmt->bind[ofs].buflen);
                                bind[ofs].buffer_type = MYSQL_TYPE_LONGLONG;
@@ -659,9 +657,6 @@ PHP_FUNCTION(mysqli_fetch)
                                                                efree(stmt->vars[i]->value.str.val);
                                                        } 
                                                        ZVAL_STRING(stmt->vars[i], stmt->bind[i].buffer, 1); 
-                                                       /*      
-                                                       stmt->vars[i]->value.str.len = strlen(stmt->bind[i].buffer);
-                                                       stmt->vars[i]->value.str.val = stmt->bind[i].buffer; */
                                                }
                                                break;
                                        default: