| @@ 437-445 (lines=9) @@ | ||
| 434 | return mysqli_free_result($result); |
|
| 435 | } |
|
| 436 | ||
| 437 | function mysql_field_name($result, $field) |
|
| 438 | { |
|
| 439 | if (!\Dshafik\MySQL::checkValidResult($result, __FUNCTION__)) { |
|
| 440 | // @codeCoverageIgnoreStart |
|
| 441 | return false; |
|
| 442 | // @codeCoverageIgnoreEnd |
|
| 443 | } |
|
| 444 | return \Dshafik\MySQL::mysqlFieldInfo($result, $field, 'name'); |
|
| 445 | } |
|
| 446 | ||
| 447 | function mysql_field_table($result, $field) |
|
| 448 | { |
|
| @@ 467-475 (lines=9) @@ | ||
| 464 | return \Dshafik\MySQL::mysqlFieldInfo($result, $field, 'length'); |
|
| 465 | } |
|
| 466 | ||
| 467 | function mysql_field_type($result, $field) |
|
| 468 | { |
|
| 469 | if (!\Dshafik\MySQL::checkValidResult($result, __FUNCTION__)) { |
|
| 470 | // @codeCoverageIgnoreStart |
|
| 471 | return false; |
|
| 472 | // @codeCoverageIgnoreEnd |
|
| 473 | } |
|
| 474 | return \Dshafik\MySQL::mysqlFieldInfo($result, $field, 'type'); |
|
| 475 | } |
|
| 476 | ||
| 477 | function mysql_field_flags($result, $field) |
|
| 478 | { |
|