| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
When selecting from a Sybase DB using ADODB_FETCH_ASSOC mode, all returned
values will be NULL in the result set (fetch modes NUM and BOTH are ok).
Fixes Github issue #10
Signed-off-by: Damien Regad <dregad@mantisbt.org>
|
|
Minor changes to original patch (Whitespace, use // for comments)
Fixes Github issue #9
Signed-off-by: Damien Regad <dregad@mantisbt.org>
|
|
|
|
The _insertid() method introduced in postgres9 driver really belongs in
postgres8, since OID field was actually removed in 8.1.
This commit creates new postgres8 classes, moves the method from the '9'
driver to the new ADODB_postgres8 class, and makes the '9' classes
inherit from postgres8 instead of postgres7.
|
|
|
|
Reverting change from d01454c0bf608ecd6625ccd9d968d45af7adac4c which
introduced a regression.
Fixes #8
|
|
|
|
|
|
As recommended on Microsoft TechNet site
http://technet.microsoft.com/en-us/library/ms180878%28v=sql.105%29.aspx#StringLiteralDateandTimeFormats
|
|
When ADOConnection->Execute is called with a single non-array parameter
that evaluates to false, it ignores the parameter.
Fixed by doing a strict-type comparison. Note that single boolean "false"
parameter needs to be passed in as array(false).
Reported by Alejandro Vásquez
Fixes sourceforge patch #32
|
|
The method now properly resets the parameter count to 1 when $name is
false (or 0).
|
|
http://php.net/manual/en/language.basic-syntax.phptags.php
|
|
Fixes Github issue #5, pull request #6
|
|
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.
|
|
Ensures the fetched recordset does not contain any data left over from
an earlier fetch operation.
Same fix as a1e2d109b756d607fb258dcdc94aeb4a52e5b454
|
|
|
|
Fix submitted by Warwick Smith in [1].
Ensures the fetched recordset does not contain any data left over from
an earlier fetch operation.
[1] http://phplens.com/lens/lensforum/msgs.php?id=17539
|
|
|
|
compliant
|
|
Implemented a fix (source:
http://phplens.com/lens/lensforum/msgs.php?id=19079) that would address
an issue where the last insert ID would not be returned when using a
prepared statement.
|
|
The new default 'hex' for bytea_output setting, causes PHP to
incorrectly process the column's contents. As recommended in [1], we set
bytea_output to 'escape' when connecting, to ensure this works
Fixes #4
[1] https://bugs.php.net/bug.php?id=59831
|
|
|
|
|
|
Fixes #3
|
|
|
|
The change in metaTablesSQL introduced in v5.15 broke the ability to
filter tables using a mask.
Thanks to Arnt Witteveen for reporting the issue [1]
[1] http://phplens.com/lens/lensforum/msgs.php?id=19359
|
|
|
|
Contact the commit's author directly for all comments/fixes.
General
=======
- The driver is qualified to run on Server 2005, 2008 and 2012.
- At startup, the driver identifies the SQL Server version, which
allows it to invisibly take advantage of new features available in SQL
server 2012.
- It will not run on SQL Server 2000, although I'm sure it would be
easy enough to fix.
- It includes all patches to the known bugs that I can find on the
phplens forum.
- Much of the debugging has been removed, as this impeded program
debugging when used with FastCGI
- Some fixes are my own versions of those reported on the phplens
boards
drivers/adodb-mssqlnative.inc
=============================
Changed mapping of bigint from I to I8
MetaColumns()
--------------
Missing MetaColumns function, re-introduced, Produces an extended list
of 10 field attributes, including auto-increment, nullable
GenID() / CreateSequence()
--------------------------
- On Server 2008 and lower, uses the historical sequence emulation.
- On Server 2012. Uses the newly introduced Create Sequence statement.
FetchField()
------------
This follows the method used in the oracle driver and caches the
metadata at initialisation, which helps performance.
datadict/datadict-mssqlnative.inc
=================================
Missing file reintroduced, to support SQL Server format datadict
functions
perf/perf-mssqlnative.inc
=========================
Tables()
--------
Arguments to the Tables() function declared incorrectly
|
|
- Move all files in adodb5/ to root
- Remove adodb-for-php4/ directory
|