Commit Graph

26776 Commits

Author SHA1 Message Date
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
Wez Furlong
b949bfe651 Register according to the type specified by the module.
(Helps to fix dl() bug)
2004-05-18 15:26:13 +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
0460174a0d Primitive support for probing headers for functions using a regexp 2004-05-18 09:58:45 +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
4d7b0e114d ChangeLog update 2004-05-18 00:35:47 +00:00
Sara Golemon
b094db390e Bugfix#28404 When type is double we need to access dval, not lval 2004-05-18 00:04:22 +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
Andrei Zmievski
427561446f Revert the .ini vars patch. Will have to try again next Christmas
apparently.
2004-05-17 20:09:37 +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
Andrei Zmievski
26eaab7641 Fix the apparent bug (; at the end of parse rule block). 2004-05-17 17:12:07 +00:00
Wez Furlong
79c513db96 Some pedantic fixes for gcc. 2004-05-17 17:00:35 +00:00
Derick Rethans
255a5a8a5b - Document the smtp_port setting in php.ini 2004-05-17 16:30:22 +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
Wez Furlong
3a4f33e31f As discussed with Andi, add this helper API for setting the object pointer from
within the constructor.

Please read the comment for notes about how to use it; in general, you don't
need it, so don't use it.
2004-05-17 11:27:16 +00:00
7d15d8cc3e ChangeLog update 2004-05-17 00:33:01 +00:00
Pierre Joye
9e9576ecfa - T_WHITESPACE for the 1st test... 2004-05-16 21:00:24 +00:00
Pierre Joye
a937ae4762 - PHP allows spaces before :: (parent :: foo(); )
Nota bene, requires another change to really check the syntax:
  loop back to the first non white space element and valid it (parent,
  string or var)
2004-05-16 20:55:29 +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
Pierre Joye
915e9a555e - Fix #1329, closedir on exit (kameshj at fastmail dot fm) 2004-05-16 15:43:30 +00:00
Pierre Joye
d049b24dfd - Fix #1330, unused variable 2004-05-16 15:39:07 +00:00
Pierre Joye
59727034b7 - Fix #1249 (wrong print out the wrong state with force option)
- some NL issues, sorry, commit now too
2004-05-16 15:37:13 +00:00