summaryrefslogtreecommitdiff
path: root/adodb-datadict.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2026-06-02Fix LOCALTIMESTAMP/CURRENT_TIMESTAMP schema default handling for Firebird 4+Lester Caine1-8/+10
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>
2025-03-23Fulfill SQLite PRIMARY KEY AUTOINCREMENT requirementsDamien Regad1-3/+17
- 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
2024-05-26PHPDocDamien Regad1-3/+5
2024-05-26Fix undefined variable noticesDamien Regad1-5/+8
Fixes #1010
2024-05-26oci8: fix warning in qStr() with NULL on PHP 8.1Damien Regad1-2/+6
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.
2023-03-12Fix PHP 8.2 deprecation warnings + PHPDoc fixesDamien Regad1-0/+6
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)
2022-09-06Call driver-specific column change methods in alterTableSql()Mark Newnham1-34/+17
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>
2022-01-16Fix reported errors in generated documentationDamien Regad1-2/+2
2021-08-22Fix Whitespace, coding guidelines, PHPDocDamien Regad1-12/+12
2021-08-17Redo Merge branch 'hotfix/5.21' Standardized file headersDamien Regad1-18/+21
Try to do it right this time... # Conflicts: # adodb-memcache.lib.inc.php Fixes #751
2021-08-17Reset version to avoid merge conflictsDamien Regad1-1/+1
Fixes #751
2021-08-17Revert changes since Standardized file headers mergeDamien Regad1-29/+44
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
2021-08-14Standard file header: /Damien Regad1-18/+21
2021-03-11WhitespaceDamien Regad1-11/+11
2021-03-11Fix PHPStorm static analysis warningsDamien Regad1-0/+3
- SQL syntax - unused variables - duplicated code - Whitespace - Variables and return types in PHPDoc
2021-03-08Bump version to 5.21.1-devDamien Regad1-1/+1
2021-02-27Bump version to 5.21.0v5.21.0Damien Regad1-1/+1
2021-02-02Bump version to 5.21.0-rc.1v5.21.0-rc.1Damien Regad1-1/+1
2020-12-20Bump version to 5.21.0-beta.1v5.21.0-beta.1Damien Regad1-1/+1
2020-01-05Replace call to _array_change_key_case see #587Mark Newnham1-1/+2
2020-01-05camelCase function names - adodb-datadict.phppeterdd1-98/+98
Fixes #425
2019-12-30Extend Control of BLOB data dictionary featureMartin Schleußer1-2/+2
Add 'XL' to the blob checks in _GenFields. See #292
2019-12-30Provides Control of BLOB data dictionary featureMark Newnham1-6/+29
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
2019-11-12Codespell assisted typo cleaningJean-Michel Vourgère1-5/+5
2017-11-25Replace each() with foreach for PHP7.2 compatibilityMarina Glancy1-1/+1
2016-01-31A user-defined default Metatype is now availableMark Newnham1-1/+1
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
2016-01-31addColumnSql now supports ENUM data typesMark Newnham1-3/+29
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
2016-01-31Added optional argument to datadict/_getsize()Mark Newnham1-1/+1
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
2016-01-02Update version 5.21.0-dev release year to 2016Damien Regad1-1/+1
2015-12-27Update version to avoid merge conflictsDamien Regad1-1/+1
2015-11-28Bump version to 5.21devDamien Regad1-1/+1
2015-11-28Bump version to 5.20.0v5.20.0Damien Regad1-1/+1
2015-11-26Adjust header comment blocksDamien Regad1-1/+3
- running SED script - manual adjustments for files not processed by regex
2014-04-30Bump version to 5.20devDamien Regad1-1/+1
2014-04-23Bump version to 5.19v5.19Damien Regad1-1/+1
2014-02-24Remove closing php tagDamien Regad1-1/+0
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-01-21Bump version to 5.19devDamien Regad1-1/+1
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.
2013-08-05Reorg: ADOdb5 (master) branchDamien Regad1-0/+1032
- Move all files in adodb5/ to root - Remove adodb-for-php4/ directory