]> granicus.if.org Git - php/commitdiff
another fix for last commit (committed from wrong tree) :(
authorGeorg Richter <georg@php.net>
Wed, 20 Apr 2005 13:24:08 +0000 (13:24 +0000)
committerGeorg Richter <georg@php.net>
Wed, 20 Apr 2005 13:24:08 +0000 (13:24 +0000)
ext/mysqli/mysqli_api.c

index cf58e6104489ebf8d522e47138e199876b39ffb4..d5735d40dade5e4ea1fc237e01511d19a3de42f9 100644 (file)
@@ -610,7 +610,7 @@ PHP_FUNCTION(mysqli_stmt_fetch)
 #ifdef MYSQL_DATA_TRUNCATED
        if (!ret || ret == MYSQL_DATA_TRUNCATED) {
 #else
-       if (!ret || ret == MYSQL_DATA_TRUNCATED) {
+       if (!ret) {
 #endif
                for (i = 0; i < stmt->result.var_cnt; i++) {
                        if (stmt->result.vars[i]->type == IS_STRING && stmt->result.vars[i]->value.str.len) {