Welcome Guest, Not a member yet? Register   Sign In
Database Metadata
#1

The method field_data in mysqli_driver on line 436 :
sscanf($query[$i]->Type, '%[a-z](%d)',
                $retval[$i]->type,
                $retval[$i]->max_length
            );

return the type of decimal fields like int
it is decimal (7,2)
it return $field->type is decimal 7

and mysqli comand SHOW COLUMNS FROM 'table' return type corectly

and for enum and set is the same
Reply


Messages In This Thread
Database Metadata - by petio - 08-11-2017, 02:14 AM
RE: Database Metadata - by jarmen_kell - 08-11-2017, 06:35 AM
RE: Database Metadata - by skunkbad - 08-11-2017, 07:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB