| @@ 423-431 (lines=9) @@ | ||
| 420 | return mysqli_free_result($result); |
|
| 421 | } |
|
| 422 | ||
| 423 | function mysql_field_name($result, $field) |
|
| 424 | { |
|
| 425 | if (!\Dshafik\MySQL::checkValidResult($result, __FUNCTION__)) { |
|
| 426 | // @codeCoverageIgnoreStart |
|
| 427 | return false; |
|
| 428 | // @codeCoverageIgnoreEnd |
|
| 429 | } |
|
| 430 | return \Dshafik\MySQL::mysqlFieldInfo($result, $field, 'name'); |
|
| 431 | } |
|
| 432 | ||
| 433 | function mysql_field_table($result, $field) |
|
| 434 | { |
|
| @@ 453-461 (lines=9) @@ | ||
| 450 | return \Dshafik\MySQL::mysqlFieldInfo($result, $field, 'length'); |
|
| 451 | } |
|
| 452 | ||
| 453 | function mysql_field_type($result, $field) |
|
| 454 | { |
|
| 455 | if (!\Dshafik\MySQL::checkValidResult($result, __FUNCTION__)) { |
|
| 456 | // @codeCoverageIgnoreStart |
|
| 457 | return false; |
|
| 458 | // @codeCoverageIgnoreEnd |
|
| 459 | } |
|
| 460 | return \Dshafik\MySQL::mysqlFieldInfo($result, $field, 'type'); |
|
| 461 | } |
|
| 462 | ||
| 463 | function mysql_field_flags($result, $field) |
|
| 464 | { |
|