1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-23 18:29:15 +03:00

Fix search of INET4 with = operator

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
Co-authored-by: Richard Brinkman <richardbrinkman@no-reply.github.com>
This commit is contained in:
Liviu-Mihail Concioiu
2026-09-07 00:46:18 +02:00
parent e3e3c63f65
commit 8525d24e09

View File

@@ -167,7 +167,7 @@ final class Search
// strings to numbers and numbers to strings as necessary
// during the comparison
if (
preg_match('@char|binary|blob|text|set|date|time|year|uuid@i', $types)
preg_match('@char|binary|blob|inet4|text|set|date|time|year|uuid@i', $types)
|| mb_strpos(' ' . $func_type, 'LIKE')
) {
$quot = '\'';