Skip to content

Commit

Permalink
Use ST_Y() instead of the deprecated/removed Y() in test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Feb 5, 2021
1 parent 3f8d21b commit 4ff2665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/mysqli/tests/bug74779.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (!$link->options(MYSQLI_OPT_INT_AND_FLOAT_NATIVE, true)) {
printf("[003] [%d] %s\n", $link->errno, $link->error);
}

if (!$result = $link->query("SELECT Y(Point(56.7, 53.34))")) {
if (!$result = $link->query("SELECT ST_Y(Point(56.7, 53.34))")) {
printf("[004] [%d] %s\n", $link->errno, $link->error);
}

Expand All @@ -37,6 +37,6 @@ mysqli_close($link);
?>
--EXPECT--
array(1) {
["Y(Point(56.7, 53.34))"]=>
["ST_Y(Point(56.7, 53.34))"]=>
float(53,34)
}

0 comments on commit 4ff2665

Please sign in to comment.