@@ 565-572 (lines=8) @@ | ||
562 | { |
|
563 | $message = '<a class="pass">PASS</a> <i>(Oracle / feature level ' . $row['var_value'] . ')</i>'; |
|
564 | } |
|
565 | else |
|
566 | { |
|
567 | $error = ocierror($link->handle); |
|
568 | ||
569 | $message = (strlen($error) == 0) |
|
570 | ? '<a class="fail">FAIL</a> <i>(unknown Oracle error on query database)</i>' |
|
571 | : '<a class="fail">FAIL</a> <i>(Oracle error #' . $error['code'] . ' on fetching data - ' . $error['message'] . ')</i>'; |
|
572 | } |
|
573 | } |
|
574 | else |
|
575 | { |
|
@@ 574-581 (lines=8) @@ | ||
571 | : '<a class="fail">FAIL</a> <i>(Oracle error #' . $error['code'] . ' on fetching data - ' . $error['message'] . ')</i>'; |
|
572 | } |
|
573 | } |
|
574 | else |
|
575 | { |
|
576 | $error = ocierror($link->handle); |
|
577 | ||
578 | $message = (strlen($error) == 0) |
|
579 | ? '<a class="fail">FAIL</a> <i>(unknown Oracle error on query database)</i>' |
|
580 | : '<a class="fail">FAIL</a> <i>(Oracle error #' . $error['code'] . ' on query database - ' . $error['message'] . ')</i>'; |
|
581 | } |
|
582 | ||
583 | dbx_close($link); |
|
584 | } |