Skip to content

Commit 4ff2665

Browse files
committed
Use ST_Y() instead of the deprecated/removed Y() in test
1 parent 3f8d21b commit 4ff2665

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/mysqli/tests/bug74779.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if (!$link->options(MYSQLI_OPT_INT_AND_FLOAT_NATIVE, true)) {
2323
printf("[003] [%d] %s\n", $link->errno, $link->error);
2424
}
2525

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

@@ -37,6 +37,6 @@ mysqli_close($link);
3737
?>
3838
--EXPECT--
3939
array(1) {
40-
["Y(Point(56.7, 53.34))"]=>
40+
["ST_Y(Point(56.7, 53.34))"]=>
4141
float(53,34)
4242
}

0 commit comments

Comments
 (0)