Changeset 9415 for temp/trunk/data/lib
- Timestamp:
- 2006/11/29 18:08:57 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/lib/slib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/slib.php
r9414 r9415 153 153 154 154 // postgresql¤Èmysql¤È¤Ç½èÍý¤òʬ¤±¤ë 155 if ( DB_TYPE== "pgsql") {155 if ($db_type == "pgsql") { 156 156 $sql = "SELECT a.attname FROM pg_class c, pg_attribute a WHERE c.relname=? AND c.oid=a.attrelid AND a.attnum > 0 ORDER BY a.attnum"; 157 157 $arrRet = $objQuery->getAll($sql, array($table_name)); 158 }else if ( DB_TYPE== "mysql") {158 }else if ($db_type == "mysql") { 159 159 $sql = "SHOW COLUMNS FROM $table_name"; 160 160 $arrRet = $objQuery->getAll($sql);
Note: See TracChangeset
for help on using the changeset viewer.
