1
0
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:
Michal Čihař
2016-01-05 09:09:57 +01:00
parent 7973c2986e
commit ea8382efcd
2 changed files with 8 additions and 8 deletions

View File

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

View File

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