- Timestamp:
- 09/09/08 21:09:47 (2 months ago)
- Location:
- lang/php/Net_TokyoTyrant/trunk
- Files:
-
- 2 modified
-
Net/TokyoTyrant.php (modified) (2 diffs)
-
tests/tmp_test.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/php/Net_TokyoTyrant/trunk/Net/TokyoTyrant.php
r17664 r19048 108 108 $result = ''; 109 109 $res = $this->_read(8); 110 return false; 110 $res = unpack('N*', $res); 111 return array($res[1], $res[2]); 111 112 } 112 113 … … 338 339 return false; 339 340 } 340 return $this->_getInt 4();341 return $this->_getInt8(); 341 342 } 342 343 -
lang/php/Net_TokyoTyrant/trunk/tests/tmp_test.php
r17626 r19048 52 52 assert($tt->put($key2, $data2)); 53 53 assert(count($tt->mget(array($key, $key2))) === 2); 54 55 54 assert(count($tt->fwmkeys('key', 2)) === 2); 56 55 assert($tt->vsize($key) === strlen($data)); … … 64 63 assert($tt->iternext() === false); 65 64 65 66 66 assert($tt->sync() === true); 67 assert(is_array($tt->size())); 68 assert(is_array($tt->rnum())); 67 69 68 70 assert($tt->copy('/tmp/test.net_tokyotyrant.db') === true);
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)