diff options
| author | Damien Regad <dregad@mantisbt.org> | 2023-04-30 01:00:55 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2023-04-30 01:00:55 +0200 |
| commit | ae2438b731d24bf0bb159a738599b9266120e96e (patch) | |
| tree | 356f49f75db5090487707348eea1307dc8e5bcdf /adodb.inc.php | |
| parent | aef9e9459712c9da90e9d83f1f4e7b8f21245a56 (diff) | |
| download | adodb-ae2438b731d24bf0bb159a738599b9266120e96e.tar.gz adodb-ae2438b731d24bf0bb159a738599b9266120e96e.tar.bz2 adodb-ae2438b731d24bf0bb159a738599b9266120e96e.zip | |
Define ADOConnection::_query() method
- Update child classes to be consistent with this declaration.
- Remove unnecessary, non-PHPDoc comments
- Consistent parameter names
Fixes #966
Diffstat (limited to 'adodb.inc.php')
| -rw-r--r-- | adodb.inc.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/adodb.inc.php b/adodb.inc.php index e7d86719..73bef1ef 100644 --- a/adodb.inc.php +++ b/adodb.inc.php @@ -1666,6 +1666,18 @@ if (!defined('_ADODB_LAYER')) { return $rs; } + /** + * Execute a query. + * + * @param string|array $sql Query to execute. + * @param array $inputarr An optional array of parameters. + * + * @return mixed|bool Query identifier or true if execution successful, false if failed. + */ + function _query($sql, $inputarr = false) { + return false; + } + function CreateSequence($seqname='adodbseq',$startID=1) { if (empty($this->_genSeqSQL)) { return false; |
