Changeset 5797 for temp/trunk
- Timestamp:
- 2006/09/25 17:46:58 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/system/bkup.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/system/bkup.php
r5796 r5797 279 279 $ret = ""; 280 280 281 if(DB_TYPE == "pgsql"){ 282 $match = "auto_increment"; 283 }else if(DB_TYPE == "mysql"){ 284 $match = 'nextval(\''; 285 } 286 281 287 foreach($arrColList['col_def'] as $key => $val){ 282 if (substr($val,0,9) == 'nextval(\'') {288 if (substr($val,0,9) == $match) { 283 289 $col = $arrColList['col_name'][$key]; 284 290 $autoVal = lfGetAutoIncrementVal($table_name, $col); … … 332 338 $ret = $arrData['Auto_increment']; 333 339 } 334 335 sfprintr($ret);336 340 return $ret; 337 341 }
Note: See TracChangeset
for help on using the changeset viewer.
