Changeset 20942 for branches/version-2_11-dev/data/class/db/dbfactory
- Timestamp:
- 2011/05/19 02:29:17 (15 years ago)
- Location:
- branches/version-2_11-dev/data/class/db/dbfactory
- Files:
-
- 2 edited
-
SC_DB_DBFactory_MYSQL.php (modified) (1 diff)
-
SC_DB_DBFactory_PGSQL.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/db/dbfactory/SC_DB_DBFactory_MYSQL.php
r20850 r20942 225 225 $sql = "SHOW TABLES LIKE ". $objQuery->quote("%" . $expression . "%"); 226 226 $arrColList = $objQuery->getAll($sql); 227 $arrColList = SC_Utils_Ex::sf swaparray($arrColList, false);227 $arrColList = SC_Utils_Ex::sfSwapArray($arrColList, false); 228 228 return $arrColList[0]; 229 229 } -
branches/version-2_11-dev/data/class/db/dbfactory/SC_DB_DBFactory_PGSQL.php
r20850 r20942 219 219 . " ORDER BY 1,2;"; 220 220 $arrColList = $objQuery->getAll($sql, array("%" . $expression . "%")); 221 $arrColList = SC_Utils_Ex::sf swaparray($arrColList, false);221 $arrColList = SC_Utils_Ex::sfSwapArray($arrColList, false); 222 222 return $arrColList[0]; 223 223 }
Note: See TracChangeset
for help on using the changeset viewer.
