Changeset 7996 for temp/trunk/data/class
- Timestamp:
- 2006/11/09 13:27:05 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/class/SC_Query.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_Query.php
r7995 r7996 413 413 function get_auto_increment($table_name){ 414 414 // ¥í¥Ã¥¯¤¹¤ë 415 //$this->BEGIN();415 $this->BEGIN(); 416 416 417 417 // ¼¡¤ÎIncrement¤ò¼èÆÀ 418 //$arrRet = $this->query("SHOW TABLE STATUS LIKE ?", array($table_name)); 419 $arrRet = $this->getAll("SELECT * FROM dtb_payment"); 420 sfprintr($arrRet); 418 $arrRet = $this->getAll("SHOW TABLE STATUS LIKE ?", array($table_name)); 421 419 $auto_inc_no = $arrRet["Auto_increment"]; 422 420 … … 425 423 426 424 // ²ò½ü¤¹¤ë 427 //$this->COMMIT();425 $this->COMMIT(); 428 426 429 427 sfprintr($auto_inc_no);
Note: See TracChangeset
for help on using the changeset viewer.
