| Age | Commit message (Collapse) | Author | Files | Lines |
|
CURRENT_TIMESTAMP returns TIMESTAMP WITH TIME ZONE in Firebird 4+, which
PHP PDO cannot handle without a valid session timezone, causing SQLSTATE 22009.
- adodb-firebird.inc.php: sysTimeStamp changed to LOCALTIMESTAMP so DEFTIMESTAMP
generates a timezone-naive default (propagates to pdo_firebird via adodb-pdo.inc.php)
- adodb-datadict.inc.php: extend space-padding escape hatch to D/T columns so SQL
keywords can be passed through verbatim as DEFAULT values
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- Extend _CreateSuffix() with two additional parameters.
- Adjust _createSuffix function name.
- Add PHPDoc block
- Fix spaces
Fixes #1055
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Changes from PR:
- Original commits squashed
- Removed space after `&` for byref params
- Updated Changelog
|
|
|
|
Fixes #1010
|
|
This is a follow-up commit on 1501ccd07868d626a51802d14ed41ed05a3532ad,
as the original fix for #999 (see PR #1005) did not fully address the
problem. Another PHP deprecated warning is thrown:
strlen(): Passing null to parameter 1 ($string) of type string is
deprecated.
Fixes #1012
Backported from commit 8d88183538ae08b86c30af5b0f3280c2accd71c3.
|
|
Cherry picked from commits feadc3df1fdb199bbef50eb404f81b7d78f94c79 and
5e41924806e5f310d30e203100f0c97cd5e93893.
# Conflicts:
# adodb.inc.php
Creation of dynamic property
- ADORecordset_sqlite3::$adodbFetchMode in adodb-sqlite3.inc.php (#911)
- ADOFieldObject::$scale in adodb-sqlite3.inc.php (#912)
Partially-supported callable
- in adodb-pdo-inc.php (#928)
|
|
alterTableSql() uses core methods instead of driver-specific ones.
Change method used to create SQL statements.
Fixes #865, #383
Signed-off-by: Damien Regad <dregad@mantisbt.org>
|
|
|
|
|
|
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
|
|
|
|
|
|
- SQL syntax
- unused variables
- duplicated code
- Whitespace
- Variables and return types in PHPDoc
|
|
|
|
|
|
|
|
|
|
|
|
Fixes #425
|
|
Add 'XL' to the blob checks in _GenFields.
See #292
|
|
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 user can now define a constant ADODB_DEFAULT_METATYPE. This
overrides the original default value of 'N' and allows the user to
control how a field of unknown metaType is presented. The constant
controls the behavior of the returned value from the method MetaType().
Fixes #165
|
|
addColumnSql (and methods that call it, such as createTableSql), now
correctly parse the ENUM data type and associated VALUE lists, if the
underlying database supports it. actively supported databases known to
support it are mysql, postgres, oracle, db2.
The statement will fail if the database does not support it (e.g. mssql,
sqlite)
Fixes #26
|
|
The private method datadict/_getSize() now has a new, optional 5th
argument that allows the passing of additional information for
processing data types
See issue #26
|
|
|
|
|
|
|
|
|
|
- running SED script
- manual adjustments for files not processed by regex
|
|
|
|
|
|
http://php.net/manual/en/language.basic-syntax.phptags.php
|
|
Bumped 'dev' version allows users who rely on source code downloaded
from the git repository rather than an official release tarball to
reliably determine that they are running a development version of the
library.
|
|
- Move all files in adodb5/ to root
- Remove adodb-for-php4/ directory
|