FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » MYSQLI_GROUP_FLAG and MYSQLI_NUM_FLAG are both 32768
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: MYSQLI_GROUP_FLAG and MYSQLI_NUM_FLAG are both 32768 [message #179363 is a reply to message #179358] Fri, 12 October 2012 15:56 Go to previous messageGo to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma:
Senior Member
Am 12.10.2012 16:55, schrieb Jabber:
> Here is var_dump of "id" field:
>
> Object (
> | name = String(2) "id"
> | orgname = String(2) "id"
> | table = String(4) "info_table"
> | orgtable = String(4) "info_table"
> | def = String(0) ""
> | db = String(4) "gpro"
> | catalog = String(3) "def"
> | max_length = Integer(1) 2
> | length = Integer(1) 4
> | charsetnr = Integer(2) 63
> | flags = Integer(5) 49667
> | type = Integer(1) 2
> | decimals = Integer(1) 0
> )
>
> I've tried all mysqli flag constants (see http://php.net/manual/en/mysqli.constants.php) by bitwise operator ( $id & CONSTANT ),
> these are the flag constants returned not zero:
> MYSQLI_NOT_NULL_FLAG
> MYSQLI_PRI_KEY_FLAG
> MYSQLI_AUTO_INCREMENT_FLAG
> MYSQLI_PART_KEY_FLAG
> MYSQLI_NUM_FLAG
> MYSQLI_GROUP_FLAG
>
> "id" fields of smallint type.

I found out this function maps directly to the C interface and a structure
MYSQL_FIELD I did not find, see
http://dev.mysql.com/doc/refman/5.5/en/mysql-fetch-fields.html

Maybe you find more interpretation in the C docs. So far we know that your findings
are correct.

/Str.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: dll load problem
Next Topic: Curl chmod file transfer problem...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 20:57:03 GMT 2024

Total time taken to generate the page: 0.04763 seconds