Test: /ext/mysql/tests/mysql_fetch_field.phpt - Version 5.6.5-dev    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
002+ Segmentation fault
002- object(stdClass)#%d (13) {
003- [%u|b%"name"]=>
004- %unicode|string%(2) "ID"
005- [%u|b%"table"]=>
006- %unicode|string%(4) "TEST"
007- [%u|b%"def"]=>
008- %unicode|string%(0) ""
009- [%u|b%"max_length"]=>
010- int(1)
011- [%u|b%"not_null"]=>
012- int(1)
013- [%u|b%"primary_key"]=>
014- int(1)
015- [%u|b%"multiple_key"]=>
016- int(0)
017- [%u|b%"unique_key"]=>
018- int(0)
019- [%u|b%"numeric"]=>
020- int(1)
021- [%u|b%"blob"]=>
022- int(0)
023- [%u|b%"type"]=>
024- %unicode|string%(3) "int"
025- [%u|b%"unsigned"]=>
026- int(0)
027- [%u|b%"zerofill"]=>
028- int(0)
029- }
030- object(stdClass)#%d (13) {
031- [%u|b%"name"]=>
032- %unicode|string%(5) "label"
033- [%u|b%"table"]=>
034- %unicode|string%(4) "TEST"
035- [%u|b%"def"]=>
036- %unicode|string%(0) ""
037- [%u|b%"max_length"]=>
038- int(1)
039- [%u|b%"not_null"]=>
040- int(0)
041- [%u|b%"primary_key"]=>
042- int(0)
043- [%u|b%"multiple_key"]=>
044- int(0)
045- [%u|b%"unique_key"]=>
046- int(0)
047- [%u|b%"numeric"]=>
048- int(0)
049- [%u|b%"blob"]=>
050- int(0)
051- [%u|b%"type"]=>
052- %unicode|string%(6) "string"
053- [%u|b%"unsigned"]=>
054- int(0)
055- [%u|b%"zerofill"]=>
056- int(0)
057- }
058- bool(false)
059-
060- Warning: mysql_fetch_field(): Bad field offset in %s on line %d
061-
062- Warning: mysql_fetch_field(): %d is not a valid MySQL result resource in %s on line %d
063- object(stdClass)#%d (13) {
064- [%u|b%"name"]=>
065- %unicode|string%(2) "id"
066- [%u|b%"table"]=>
067- %unicode|string%(4) "test"
068- [%u|b%"def"]=>
069- %unicode|string%(0) ""
070- [%u|b%"max_length"]=>
071- int(1)
072- [%u|b%"not_null"]=>
073- int(0)
074- [%u|b%"primary_key"]=>
075- int(0)
076- [%u|b%"multiple_key"]=>
077- int(0)
078- [%u|b%"unique_key"]=>
079- int(0)
080- [%u|b%"numeric"]=>
081- int(1)
082- [%u|b%"blob"]=>
083- int(0)
084- [%u|b%"type"]=>
085- %unicode|string%(3) "int"
086- [%u|b%"unsigned"]=>
087- int(0)
088- [%u|b%"zerofill"]=>
089- int(0)
090- }
091- Fetch field from mysql_list_fields result set.
092- object(stdClass)#%d (13) {
093- [%u|b%"name"]=>
094- %unicode|string%(2) "id"
095- [%u|b%"table"]=>
096- %unicode|string%(4) "test"
097- [%u|b%"def"]=>
098- %unicode|string%(1) "1"
099- [%u|b%"max_length"]=>
100- int(0)
101- [%u|b%"not_null"]=>
102- int(0)
103- [%u|b%"primary_key"]=>
104- int(0)
105- [%u|b%"multiple_key"]=>
106- int(0)
107- [%u|b%"unique_key"]=>
108- int(0)
109- [%u|b%"numeric"]=>
110- int(1)
111- [%u|b%"blob"]=>
112- int(0)
113- [%u|b%"type"]=>
114- %unicode|string%(3) "int"
115- [%u|b%"unsigned"]=>
116- int(0)
117- [%u|b%"zerofill"]=>
118- int(0)
119- }
120- done!