| Age | Commit message (Collapse) | Author | Files | Lines |
|
Try to do it right this time...
# Conflicts:
# adodb-memcache.lib.inc.php
Fixes #751
|
|
Fixes #751
|
|
The conflicts resolution applied when merging the Standardized file
headers (commit e9dcce3df24912ad869d0193f0b419f2309101fc) was seriously
messed up, actually overwriting a number of changes in the master
branch.
Rather than trying to go and fix things one by one which has a high risk
of messing things further, it's easier to redo the merge from a clean
slate, so this commit reverts the following:
- "Merge branch 'hotfix/5.21' Standardized file headers",
e9dcce3df24912ad869d0193f0b419f2309101fc
- "Merge tag 'v5.21.1'",
5f437df3104159d5d659f60e31bef8d33c34995f
- "Reset version to 5.22.0-dev"
af9234a525c3255af051a330164486d73be4c63a
- "Fix incorrect resolution of merge conflicts"
a6733f61b0165b366c8d2c70d9af82edc3881951.
- "Fix syntax error in toexport.inc.php"
20b01e83cb61b6b2460f64c7d1277c5f4cc28574.
Fixes #751
|
|
|
|
|
|
Update child classes so method signature matches the parent's.
|
|
|
|
|
|
|
|
The primary key parameter was reversed . In addition, the method tried to obtain primary key information from the sqlite_master table, instead of the pragma
(cherry picked from commit 45a1d6a567727a846fe2fa218c3f77dbc77464fc)
|
|
|
|
Change web site references from http://adodb.org to https.
|
|
ADOdb automatically disallows setting of NOT NULL or DEFAULT values on
blob type fields. This was due to historic limitations on data types
that no longer exists.
This commit takes the work done in PR #118 by @obmsch and adds the
driver for SQLite.
Fixes #292
|
|
The columns list in the metaindexes funtion in the SQLite driver was returned as a CSV list, not an array
|
|
# Conflicts:
# adodb-time.inc.php
# docs/changelog.md
# drivers/adodb-mssql.inc.php
# drivers/adodb-mssqlnative.inc.php
# drivers/adodb-oci8po.inc.php
|
|
|
|
|
|
|
|
|
|
I messed up the merge at c350c007ed585a4da4dc8c62ae7954cfe13b621f. Not
sure what I did or how, but the changes from the hotfix branch got lost.
Redoing the merge to fix the problem.
|
|
|
|
The `SelectLimit` function has a potential SQL injection vulnerability
through the use of the `nrows` and `offset` parameters which are not
forced to integers.
This is a follow-up on #311, and fixes all remaining drivers that do not
use ADOConnection::SelectLimit().
Fixes #401
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Original commits squashed, message reworded. Fixed whitespace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
These new methods provide a simple shortcut to a timestamp field
formatted with the following values:
- Day as zero padded 2 digit number
- Month as zero padded 2 digit number
- Year as 4 digit number
The methods are documented in the ADOdb reference manual.
The sqlite version of these methods avoids the DST issue with sqlDate() by
directly calling the native date functions instead of adodb_date().
Fixes #225
|
|
|
|
Sqlite datahases have very limited datatypes. The metaType
function defaults to the standard version which is based on
the mysql standards. The new driver specific version provides
a metatype mapping based on the sqlite datatype affinities
|
|
|
|
Methods are added to both sqlite & sqlite3 driver.
Fixes #183
|
|
The metaForeignKeys() method was not available in the driver, so when
request was made, it always returned false.
Fixes #179
|
|
|
|
|
|
https://github.com/ADOdb/ADOdb/issues/176
|
|
|
|
|
|
Fixes #171
|
|
|
|
|
|
|
|
- running SED script
- manual adjustments for files not processed by regex
|
|
This relies on the superclass's built-in default of $this->_numOfRows
being set to -1. That causes the sqlite3 driver to rely on
ADODB_COUNTRECS.
Before this patch, we were setting _numOfRows to positive 1, which meant
that any query that checked how many rows were available in a queryset
would see literally the number 1, which was not accurate for queries that
returned 0 rows or queries that returned more rows.
In the case of sqlite3, there appears to be no efficient way to ask the
PHP sqlite3 driver how many rows come back from a query, so relying on
ADODB_COUNTRECS is the best we can do.
|
|
This is the original commit from @valioz, rebased on latest master
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Conflicts:
drivers/adodb-db2ora.inc.php
drivers/adodb-mssqlpo.inc.php
drivers/adodb-odbc_oracle.inc.php
|
|
|
|
The sqlite3 driver relies on SQLite3::query to execute the statement,
which returns an empty SQLite3Result while the ADOConnection::_Execute()
method expects true for handling of result-less queries. This causes the
query to be executed a second time when ADOdb initializes the recordset
for what it wrongly assumes to be a SELECT statement.
This also addresses the same behavior with the sqlite driver, but the
fix was not tested as I don't have a sqlite 2 setup available.
Fixes #99
|