You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-29 21:24:44 +03:00
Do not use case insensitive char for symbols lookup
These only add performance penatly at no benefit. Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
@@ -69,7 +69,7 @@ class GISGeometrycollection extends GISGeometry
|
||||
$sub_parts = $this->_explodeGeomCol($goem_col);
|
||||
|
||||
foreach ($sub_parts as $sub_part) {
|
||||
$type_pos = mb_stripos($sub_part, '(');
|
||||
$type_pos = mb_strpos($sub_part, '(');
|
||||
if ($type_pos === false) {
|
||||
continue;
|
||||
}
|
||||
@@ -131,7 +131,7 @@ class GISGeometrycollection extends GISGeometry
|
||||
$sub_parts = $this->_explodeGeomCol($goem_col);
|
||||
|
||||
foreach ($sub_parts as $sub_part) {
|
||||
$type_pos = mb_stripos($sub_part, '(');
|
||||
$type_pos = mb_strpos($sub_part, '(');
|
||||
if ($type_pos === false) {
|
||||
continue;
|
||||
}
|
||||
@@ -178,7 +178,7 @@ class GISGeometrycollection extends GISGeometry
|
||||
$sub_parts = $this->_explodeGeomCol($goem_col);
|
||||
|
||||
foreach ($sub_parts as $sub_part) {
|
||||
$type_pos = mb_stripos($sub_part, '(');
|
||||
$type_pos = mb_strpos($sub_part, '(');
|
||||
if ($type_pos === false) {
|
||||
continue;
|
||||
}
|
||||
@@ -226,7 +226,7 @@ class GISGeometrycollection extends GISGeometry
|
||||
$sub_parts = $this->_explodeGeomCol($goem_col);
|
||||
|
||||
foreach ($sub_parts as $sub_part) {
|
||||
$type_pos = mb_stripos($sub_part, '(');
|
||||
$type_pos = mb_strpos($sub_part, '(');
|
||||
if ($type_pos === false) {
|
||||
continue;
|
||||
}
|
||||
@@ -275,7 +275,7 @@ class GISGeometrycollection extends GISGeometry
|
||||
$sub_parts = $this->_explodeGeomCol($goem_col);
|
||||
|
||||
foreach ($sub_parts as $sub_part) {
|
||||
$type_pos = mb_stripos($sub_part, '(');
|
||||
$type_pos = mb_strpos($sub_part, '(');
|
||||
if ($type_pos === false) {
|
||||
continue;
|
||||
}
|
||||
@@ -398,7 +398,7 @@ class GISGeometrycollection extends GISGeometry
|
||||
|
||||
$i = 0;
|
||||
foreach ($sub_parts as $sub_part) {
|
||||
$type_pos = mb_stripos($sub_part, '(');
|
||||
$type_pos = mb_strpos($sub_part, '(');
|
||||
if ($type_pos === false) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -546,7 +546,7 @@ class GISVisualization
|
||||
|
||||
// Figure out the data type
|
||||
$ref_data = $row[$this->_settings['spatialColumn']];
|
||||
$type_pos = mb_stripos($ref_data, '(');
|
||||
$type_pos = mb_strpos($ref_data, '(');
|
||||
if ($type_pos === false) {
|
||||
continue;
|
||||
}
|
||||
@@ -635,7 +635,7 @@ class GISVisualization
|
||||
|
||||
// Figure out the data type
|
||||
$ref_data = $row[$this->_settings['spatialColumn']];
|
||||
$type_pos = mb_stripos($ref_data, '(');
|
||||
$type_pos = mb_strpos($ref_data, '(');
|
||||
if ($type_pos === false) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user