1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 11:32:11 +02:00

Use ST_Y() instead of the deprecated/removed Y() in test

This commit is contained in:
Christoph M. Becker
2021-02-05 14:53:19 +01:00
parent 3f8d21b922
commit 4ff2665509

View File

@@ -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);
}
@@ -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)
}