Ilia Alshanetsky
b5f8bd8e9e
Simplify config via the use of mysql_config.
...
Fixed errno naming conflict.
2004-05-19 15:12:05 +00:00
Ilia Alshanetsky
c11d6ca38b
Copy the headers
2004-05-19 14:27:32 +00:00
Edin Kadribasic
bbcf09a833
Typo
2004-05-19 14:23:59 +00:00
Edin Kadribasic
e8abbca3a6
Fix configure
2004-05-19 14:02:36 +00:00
Wez Furlong
fd6b885a19
Revise $dbh->exec().
...
The driver doer() method should populate dbh->affected_rows if it can determine its value.
2004-05-19 13:55:41 +00:00
Wez Furlong
6cd27ff8be
Add $dbh->exec() method.
...
Rename $dbh->beginWork() to $dbh->beginTransaction().
2004-05-19 13:43:07 +00:00
Ilia Alshanetsky
a0b3e87003
Abort if driver cannot be registered.
2004-05-19 13:34:40 +00:00
Edin Kadribasic
7a214b66ae
Cosmetics
2004-05-19 13:28:05 +00:00
Ilia Alshanetsky
741e31bdf3
Removed unused vars.
2004-05-19 13:27:54 +00:00
Wez Furlong
777484b561
update prototype
2004-05-19 12:40:50 +00:00
Wez Furlong
f7de5001e2
Update prototype
2004-05-19 12:40:31 +00:00
Wez Furlong
8759648192
Update prepare() prototype.
...
Attempt to hunt down the cause of a build warning under win32 by adjust the
name of the error function.
2004-05-19 12:40:11 +00:00
Wez Furlong
4116d9fb0e
Expand the prepare() prototype to accept additional options.
2004-05-19 12:37:31 +00:00
Sebastian Bergmann
681ded13bc
ZTS fix.
2004-05-19 09:23:15 +00:00
Marcus Boerger
29cfd6d24f
- Remove unused blocks
2004-05-19 08:56:50 +00:00
Marcus Boerger
d94136fc30
- Remove unused blocks
2004-05-19 08:45:46 +00:00
Ilia Alshanetsky
65e1741d2d
Fixed possible memory leak.
2004-05-18 23:26:53 +00:00
Ilia Alshanetsky
46eb5401e7
Better header detection.
2004-05-18 23:07:22 +00:00
Ilia Alshanetsky
aecad9e37b
Fixed build.
2004-05-18 22:45:53 +00:00
Ilia Alshanetsky
cb1239a338
Allow static builds.
2004-05-18 22:31:13 +00:00
George Schlossnagle
f02fb4ada4
should be a strcmp, not a strncmp, thanks, wez
2004-05-18 20:57:19 +00:00
Marcus Boerger
6882000c53
- Make start and length parameter to Limititerator::__construct optional
2004-05-18 20:39:35 +00:00
George Schlossnagle
8233053d24
was leaking query_string's
2004-05-18 20:33:30 +00:00
George Schlossnagle
5f4cfcb009
support the read-only property 'queryString'
2004-05-18 20:26:24 +00:00
George Schlossnagle
2e4c3ea35f
forgotten off the last commit
2004-05-18 19:30:43 +00:00
Wez Furlong
c4ca0f3378
Give user a nice message when PDO isn't initialized prior to a driver.
2004-05-18 19:30:22 +00:00
Wez Furlong
b54a4dfeeb
Minor tweaks
2004-05-18 19:25:45 +00:00
Wez Furlong
bdd4b84c29
typo..
2004-05-18 19:25:23 +00:00
Wez Furlong
df69bf6c06
mySQL, not Oracle ;)
2004-05-18 19:06:47 +00:00
Wez Furlong
9ec5c3526e
Add to win32 build
2004-05-18 19:03:27 +00:00
Ilia Alshanetsky
caed65f547
Fixed search path for MySQL.
2004-05-18 18:42:36 +00:00
George Schlossnagle
71728cc2b2
initial import of mysql 3.x pdo driver
2004-05-18 18:01:52 +00:00
Stanislav Malyshev
da26db3054
Z_TYPE_P is for zvals
2004-05-18 16:13:57 +00:00
Wez Furlong
17d009c3b4
Update generated parser
2004-05-18 15:58:17 +00:00
Wez Furlong
e37b622d3f
Add parser to win32 build
2004-05-18 15:58:00 +00:00
Wez Furlong
2a9fa24458
Tweaks for win32
2004-05-18 15:57:46 +00:00
George Schlossnagle
85e3a1bc3b
for those without re2c
2004-05-18 15:38:25 +00:00
Wez Furlong
f76725902b
Fix dl() and extension=
2004-05-18 15:26:32 +00:00
George Schlossnagle
70f06be16a
license/copyright block
2004-05-18 15:22:58 +00:00
George Schlossnagle
a97e1a6646
handle binding/quoting of queries for drivers with emulated prepares
2004-05-18 15:19:31 +00:00
Ilia Alshanetsky
3e0cbfb077
Fixed command line escaping routines for win32.
2004-05-18 13:43:24 +00:00
Edin Kadribasic
b1efed9dde
Move declarations to the begining of function.
...
This allows it to actually compile on windows.
2004-05-18 12:32:05 +00:00
Edin Kadribasic
e489d93abc
TSRM fix
2004-05-18 10:53:53 +00:00
Edin Kadribasic
3b64493a3d
No length parameter -> estrdup()
2004-05-18 10:49:06 +00:00
Wez Furlong
3455498219
Probe for some functions; allows pdo_oci to build on the snap machine again.
2004-05-18 10:00:01 +00:00
Wez Furlong
c9f736ab6e
Skeleton for emulated prepare()
2004-05-18 08:59:27 +00:00
Wez Furlong
5a9864ed2b
Update to match new prototype
2004-05-18 08:47:10 +00:00
Wez Furlong
940c896e15
Quoting here leads to problems with databases that really support bound parameters.
...
We should do this conditionally based on the emulate_prepare flag.
2004-05-18 08:45:28 +00:00
George Schlossnagle
2e36e9d06d
only rewrite tmp if quoter returns true
2004-05-18 05:34:52 +00:00
George Schlossnagle
636cc3e1dc
auto-quote values before binding them in at execute time
2004-05-18 05:31:01 +00:00
George Schlossnagle
7d40971563
use new prototype
2004-05-18 05:01:16 +00:00
George Schlossnagle
2e281baab9
we need the source string length for binary safe string handling
2004-05-18 05:00:52 +00:00
Wez Furlong
12acb64696
package.xml
2004-05-18 00:45:58 +00:00
Wez Furlong
2653f34210
Skeleton package file
2004-05-18 00:40:01 +00:00
Wez Furlong
d4c5556b8b
Let is build under unix.
...
Tested against IBM DB2 and unixODBC.
Could work with others.
2004-05-17 22:20:11 +00:00
George Schlossnagle
fd73439882
include guard
2004-05-17 21:12:30 +00:00
Ilia Alshanetsky
0a38683b14
Correct output.
2004-05-17 20:58:57 +00:00
Sara Golemon
cceecdbcdb
BugFix# 27982: Provide error message when trying to overwrite an existant file without overwrite context option.
2004-05-17 20:31:59 +00:00
Wez Furlong
cf4127b6b9
Allow PDO OCI to build under unix.
...
Don't build by default under win32.
2004-05-17 18:17:39 +00:00
Wez Furlong
dd84731577
Allow PDO to build as a self-contained extension.
...
Install headers so that other self-contained extensions may them.
2004-05-17 18:13:03 +00:00
Wez Furlong
79c513db96
Some pedantic fixes for gcc.
2004-05-17 17:00:35 +00:00
Wez Furlong
d6c4dee168
ODBC (v3 ish) driver for PDO.
...
Will not build under unix yet.
2004-05-17 15:43:01 +00:00
Wez Furlong
1b1ced539b
OCI driver for PDO, supporting bound input and output parameters.
...
Will not build under unix yet.
2004-05-17 15:42:33 +00:00
Wez Furlong
684be9cf36
Hello PDO.
...
Still more to come. Give it a couple of days before starting to write drivers
for the other databases; a few things might change, so I'd like to coordinate
that, but in a couple of days.
2004-05-17 15:41:51 +00:00
Timm Friebe
77c75e786b
- Fixed test for LONG_MIN / LONG_MAX for 64-bit platforms
2004-05-16 20:33:44 +00:00
Timm Friebe
425ae98916
- Fixed auto-conversion from long to double when LONG_MAX /
...
LONG_MIN where overflown
2004-05-16 20:30:35 +00:00
Timm Friebe
7bbe13ac4d
- Initial release
2004-05-16 20:28:31 +00:00
Ilia Alshanetsky
bb88a86240
Do not allocate error buffer at the start of every request.
2004-05-16 15:34:53 +00:00
Marcus Boerger
ed5ce047db
- Add new test
2004-05-16 14:48:45 +00:00
Ilia Alshanetsky
fbd3e0da40
Added missing safe_mode & open_basedir checks.
2004-05-16 14:38:19 +00:00
Marcus Boerger
251b627684
- Fix printf with floats
2004-05-16 14:01:45 +00:00
Wez Furlong
6d7346f4b9
;
2004-05-16 12:10:35 +00:00
Wez Furlong
57cf4805a9
Add config.w32 template to ext_skel
2004-05-16 11:49:35 +00:00
Rob Richards
9e3956b313
constructors throw DOMException
...
add DOM_PHP_ERR DomException code
validate tagnames in constructors
use C style comments
update TODO
2004-05-16 10:30:16 +00:00
Brad House
92c72cb8d8
update config.m4 for libmonetra 4.0 compatability.
...
Library no longer has MCVE_ symbols, the header file has #define\'s to
convert MCVE_ -> M_ to reflect the Monetra name change from MCVE.
More updates to follow.
2004-05-16 02:59:34 +00:00
Ilia Alshanetsky
5b4dc50c01
Fixed possible memory leak inside popen().
2004-05-14 16:12:03 +00:00
Ilia Alshanetsky
d24465ba8a
Fixed bug #28386 (wordwrap() wraps lines 1 character too soon).
2004-05-13 17:44:23 +00:00
Stanislav Malyshev
0821f8f7d9
add sqlite_exec()
2004-05-13 14:19:10 +00:00
Ilia Alshanetsky
f7f966f96f
Skip session tests if session.save_path is not writable.
2004-05-13 12:53:47 +00:00
Ilia Alshanetsky
d6ba95c618
Fixed various possible memory leaks.
2004-05-12 20:17:19 +00:00
Ilia Alshanetsky
ca5c6a1e91
Fixed bug #28374 (Possible unterminated loop inside
...
_php_pgsql_trim_message()).
2004-05-12 16:49:47 +00:00
Ard Biesheuvel
8428d0088c
Fixed a couple of inconsistencies in param binding
...
# Previously, empty strings were either rejected (for scaled integers)
# or silently converted to 0 (unscaled integers & floats). Also, in some
# cases, null zvals were converted to empty strings, which were
# consequently rejected as unconvertible values.
# In the new situation, empty strings will be handled as NULLs for
# fields that cannot distinguish between the two (numeric/date/time).
# Additionally, all range and value checking is now carried out by the
# database, so there is a consistent interface for error handling.
2004-05-12 15:16:51 +00:00
Ard Biesheuvel
afc9cb151b
Dropped support for ancient Interbase versions (< 6)
...
# This has no consequences for Firebird, as its initial release was based on IB 6
2004-05-12 14:29:42 +00:00
Ard Biesheuvel
b4939dfa9a
Made ibase_timefmt() check its args more thoroughly and nuked a pointless malloc()
2004-05-12 13:14:55 +00:00
Ard Biesheuvel
ecfd014357
Made ibase_gen_id() bail out on incorrect args
2004-05-12 13:07:35 +00:00
Marcus Boerger
40a9fd5f76
- Touch
2004-05-12 10:19:06 +00:00
Marcus Boerger
05a9f544a7
- Move hash table destruction to proper location
2004-05-12 10:17:12 +00:00
Marcus Boerger
2d6770f0e6
- Added missing UNREGISTER_INI_ENTRIES
2004-05-12 10:15:48 +00:00
Ilia Alshanetsky
bd92164eff
Make vprintf() and printf() return the length of the string printed.
...
Make fprintf() and vfprints() return the correct length of the string
printed.
2004-05-11 19:51:46 +00:00
Ilia Alshanetsky
69b712410b
Reset opt_name to NULL to ensure it's not re-used if numeric keys can be
...
found inside the options array.
2004-05-11 15:59:07 +00:00
Ilia Alshanetsky
1842676706
Fixed bug #28355 (glob() does not return error on Linux when it does not
...
have permission to open the directory).
2004-05-11 13:34:19 +00:00
Ilia Alshanetsky
97d91c7656
Fixed crash inside cpdf_place_inline_image() when working with truecolor
...
images.
2004-05-10 22:13:08 +00:00
Rob Richards
d3b364fdc7
add chregu as maintainer
...
prep for next release
2004-05-10 20:46:32 +00:00
Christian Stocker
7f9a606b62
Adding next() method
2004-05-10 20:39:04 +00:00
Marcus Boerger
68c22fba72
- Documentation update
...
- Checkin doxygen config file
# A patched version of doxygen is needed, hopefully 1.3.8 will contain it
2004-05-10 17:26:03 +00:00
Rob Richards
dbe02eff78
check for dom support
...
remove comment
2004-05-10 14:38:32 +00:00
Christian Stocker
33cd5e9b43
- added expand support (see http://www.xmlsoft.org/xmlreader.html#Mixing for the details behind
...
that)
CVS: ----------------------------------------------------------------------
2004-05-10 13:31:14 +00:00
Marcus Boerger
b0d27f9e85
- Decouple NAN and INF
2004-05-10 07:23:38 +00:00
Ilia Alshanetsky
9a50bd2de1
Missing part of the upgrade patch.
2004-05-10 02:18:49 +00:00
Marcus Boerger
3988ee2df9
- Fix problems with c mode
2004-05-10 01:42:43 +00:00