Changeset 24888
- Timestamp:
- 11/16/08 20:04:11 (8 weeks ago)
- Location:
- development/main/includes/classes/adodb/drivers
- Files:
-
- 2 modified
-
adodb-mysqli.inc.php (modified) (3 diffs)
-
adodb-mysql.inc.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
development/main/includes/classes/adodb/drivers/adodb-mysqli.inc.php
r24395 r24888 260 260 $ok = $this->Execute(sprintf($this->_genSeqSQL,$seqname)); 261 261 if (!$ok) return false; 262 return $this->Execute(sprintf($this->_genSeq zikula.orgame,$startID-1));262 return $this->Execute(sprintf($this->_genSeq2SQL,$seqname,$startID-1)); 263 263 } 264 264 … … 278 278 $this->Execute(sprintf($this->_genSeqSQL,$seqname)); 279 279 $cnt = $this->GetOne(sprintf($this->_genSeqCountSQL,$seqname)); 280 if (!$cnt) $this->Execute(sprintf($this->_genSeq zikula.orgame,$startID-1));280 if (!$cnt) $this->Execute(sprintf($this->_genSeq2SQL,$seqname,$startID-1)); 281 281 $rs = $this->Execute($getnext); 282 282 } … … 480 480 } 481 481 482 // "Innox - Juan Carlos Gonzalez" <jgon zikula.orgnox.com.mx>482 // "Innox - Juan Carlos Gonzalez" <jgonalez#innox.com.mx> 483 483 function MetaForeignKeys( $table, $owner = FALSE, $upper = FALSE, $associative = FALSE ) 484 484 { -
development/main/includes/classes/adodb/drivers/adodb-mysql.inc.php
r24395 r24888 196 196 $ok = $this->Execute(sprintf($this->_genSeqSQL,$seqname)); 197 197 if (!$ok) return false; 198 return $this->Execute(sprintf($this->_genSeq zikula.orgame,$startID-1));198 return $this->Execute(sprintf($this->_genSeq2SQL,$seqname,$startID-1)); 199 199 } 200 200 … … 217 217 $this->Execute(sprintf($this->_genSeqSQL,$seqname)); 218 218 $cnt = $this->GetOne(sprintf($this->_genSeqCountSQL,$seqname)); 219 if (!$cnt) $this->Execute(sprintf($this->_genSeq zikula.orgame,$startID-1));219 if (!$cnt) $this->Execute(sprintf($this->_genSeq2SQL,$seqname,$startID-1)); 220 220 $rs = $this->Execute($getnext); 221 221 } … … 551 551 } 552 552 553 // "Innox - Juan Carlos Gonzalez" <jgon zikula.orgnox.com.mx>553 // "Innox - Juan Carlos Gonzalez" <jgonalez#innox.com.mx> 554 554 function MetaForeignKeys( $table, $owner = FALSE, $upper = FALSE, $associative = FALSE ) 555 555 {
