| @@ 455-463 (lines=9) @@ | ||
| 452 | return mysqli_free_result($result); |
|
| 453 | } |
|
| 454 | ||
| 455 | function mysql_field_name($result, $field) |
|
| 456 | { |
|
| 457 | if (!\Dshafik\MySQL::checkValidResult($result, __FUNCTION__)) { |
|
| 458 | // @codeCoverageIgnoreStart |
|
| 459 | return false; |
|
| 460 | // @codeCoverageIgnoreEnd |
|
| 461 | } |
|
| 462 | return \Dshafik\MySQL::mysqlFieldInfo($result, $field, 'name'); |
|
| 463 | } |
|
| 464 | ||
| 465 | function mysql_field_table($result, $field) |
|
| 466 | { |
|
| @@ 485-493 (lines=9) @@ | ||
| 482 | return \Dshafik\MySQL::mysqlFieldInfo($result, $field, 'length'); |
|
| 483 | } |
|
| 484 | ||
| 485 | function mysql_field_type($result, $field) |
|
| 486 | { |
|
| 487 | if (!\Dshafik\MySQL::checkValidResult($result, __FUNCTION__)) { |
|
| 488 | // @codeCoverageIgnoreStart |
|
| 489 | return false; |
|
| 490 | // @codeCoverageIgnoreEnd |
|
| 491 | } |
|
| 492 | return \Dshafik\MySQL::mysqlFieldInfo($result, $field, 'type'); |
|
| 493 | } |
|
| 494 | ||
| 495 | function mysql_field_flags($result, $field) |
|
| 496 | { |
|