gehe zur Dokumentation dieser Datei
17 if (!defined(
'ADODB_DIR')) die();
19 include_once(ADODB_DIR.
"/drivers/adodb-mysql.inc.php");
30 global $ADODB_EXTENSION;
if ($ADODB_EXTENSION) $this->rsPrefix .=
'ext_';
35 if ($this->transOff)
return true;
37 $this->Execute(
'SET AUTOCOMMIT=0');
38 $this->Execute(
'BEGIN');
44 if ($this->transOff)
return true;
47 if ($this->transCnt) $this->transCnt -= 1;
48 $this->Execute(
'COMMIT');
49 $this->Execute(
'SET AUTOCOMMIT=1');
55 if ($this->transOff)
return true;
56 if ($this->transCnt) $this->transCnt -= 1;
57 $this->Execute(
'ROLLBACK');
58 $this->Execute(
'SET AUTOCOMMIT=1');
65 if ($where) $where =
' where '.$where;
66 $rs = $this->Execute(
"select $col from $tables $where for update");
77 if ($mode ===
false) {
78 global $ADODB_FETCH_MODE;
79 $mode = $ADODB_FETCH_MODE;
84 case ADODB_FETCH_NUM: $this->fetchMode = MYSQL_NUM;
break;
85 case ADODB_FETCH_ASSOC:$this->fetchMode = MYSQL_ASSOC;
break;
87 case ADODB_FETCH_DEFAULT:
88 case ADODB_FETCH_BOTH:
89 default: $this->fetchMode = MYSQL_BOTH;
break;
92 $this->adodbFetchMode = $mode;
93 $this->ADORecordSet($queryID);
98 if (@$this->fields = mysql_fetch_array($this->_queryID,$this->fetchMode)) {
99 $this->_currentRow += 1;
103 $this->_currentRow += 1;
114 if ($mode ===
false) {
115 global $ADODB_FETCH_MODE;
116 $mode = $ADODB_FETCH_MODE;
120 case ADODB_FETCH_NUM: $this->fetchMode = MYSQL_NUM;
break;
121 case ADODB_FETCH_ASSOC:$this->fetchMode = MYSQL_ASSOC;
break;
123 case ADODB_FETCH_DEFAULT:
124 case ADODB_FETCH_BOTH:
126 $this->fetchMode = MYSQL_BOTH;
break;
128 $this->adodbFetchMode = $mode;
129 $this->ADORecordSet($queryID);
134 return adodb_movenext($this);
Sie sind hier: Home » MyOOS Benutzerhandbuch » ADOdb
Korrekturen, Hinweise und Ergänzungen
Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag
Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.