Commit Graph

13701 Commits

Author SHA1 Message Date
Pierre Joye
07e4ab6946 - Remove this test, it still segfaults anyway (less noise in tests :) )
Already removed in PHP_4_3 branch
2004-05-26 18:12:43 +00:00
Andi Gutmans
b5daf7078e - Use FREE_HASHTABLE instead of efree() 2004-05-26 18:00:27 +00:00
Edin Kadribasic
9cc4fb18b6 PQfreemem() is only available in 7.4 2004-05-26 17:45:03 +00:00
Wez Furlong
429bce6519 Apparently it is better to specify 500 here for unix98 bits and pieces. 2004-05-26 14:55:32 +00:00
Wez Furlong
6ef90672d8 Fix build... 2004-05-26 10:11:20 +00:00
Derick Rethans
17df3ec21b - Fixed bug #28523 (Typo in ext/sockets/sockets.c) 2004-05-26 06:53:04 +00:00
Wez Furlong
2e73bbfdc1 Allow use of scrollable cursor for ODBC 2004-05-25 18:57:50 +00:00
Wez Furlong
70bd032076 Use the correct label for the error message 2004-05-25 18:34:46 +00:00
Wez Furlong
d13d9c6047 Allow setting the cursor name for ODBC statements, so that:
UPDATE foo set .... WHERE CURRENT OF <NAME>

statements will work.
2004-05-25 18:33:51 +00:00
Wez Furlong
d2a8d5a80f get/set attributes for statements 2004-05-25 18:32:48 +00:00
Wez Furlong
4d232fb17c Add flag to control the use of the ODBC cursor emulation library.
The default (which should be safe) is to use the cursor library if it is needed.
If for some reason either the driver or the emulation is broken, you may
override this from your script.
2004-05-25 17:44:36 +00:00
Wez Furlong
7a87af3321 Some definitions for cursors.
Define a mechanism for driver-specific attributes.
Use a refcount for the stmt structure.
2004-05-25 17:43:24 +00:00
Edin Kadribasic
c7a2cf7385 Whitespace: editor in the wrong mode ;) 2004-05-25 17:38:58 +00:00
Edin Kadribasic
16a53a00ea Add transaction support 2004-05-25 17:36:22 +00:00
Brad House
7f44f8ee94 PHP_SETUP_OPENSSL is NOT SNMP_SHARED_LIBADD, it's MCVE_SHARED_LIBADD
requires AC_PROG_EGREP when you phpize
2004-05-25 17:08:42 +00:00
Ilia Alshanetsky
cf75eb8a6f Cleanup. 2004-05-25 16:49:32 +00:00
Ilia Alshanetsky
402de24fc4 One more leak down. 2004-05-25 16:40:54 +00:00
Ilia Alshanetsky
b7ecaca17f More leak fixes. 2004-05-25 16:38:28 +00:00
Edin Kadribasic
ff1cbb8460 Use binary safe function for quoting 2004-05-25 16:24:29 +00:00
Antony Dovgal
737bc357cb fix couple of memory leaks 2004-05-25 14:57:56 +00:00
Ilia Alshanetsky
0c762dff03 More possible leak fixes (Thanks Tony). 2004-05-25 14:47:22 +00:00
Ilia Alshanetsky
2685fad6b7 Fixed memory leak. 2004-05-25 14:39:26 +00:00
Ilia Alshanetsky
9280b88a8c One more memory leak. 2004-05-25 14:35:49 +00:00
Ilia Alshanetsky
d782abf416 More leak fixes. 2004-05-25 14:30:07 +00:00
Ilia Alshanetsky
ce3891347f Fixed memory leak. 2004-05-25 14:12:15 +00:00
Ilia Alshanetsky
6304e5d7cb Kill unused var. 2004-05-25 13:51:00 +00:00
Wez Furlong
1360e3478c Merge that nicer error message here too 2004-05-25 13:25:22 +00:00
Wez Furlong
7916ef2ee1 Allow sqlite to build as a shared ext under win32 2004-05-25 13:01:05 +00:00
Wez Furlong
a4f03b8086 Tidy this up a little bit for win32. 2004-05-25 12:44:35 +00:00
Wez Furlong
e6551f081d Throw exception during ctor 2004-05-25 12:03:41 +00:00
Pierre Joye
5b71225f1b - Fix #28506, negative angle returns "random arcs"
while (angle < 0) angle += 2*M_PI is used now
2004-05-24 19:52:28 +00:00
Ilia Alshanetsky
396bf39311 Fixed bug #28508 (Do not make hypot() available if not supported by libc). 2004-05-24 17:02:12 +00:00
Wez Furlong
81b3231b5d Moved pdflib extension to PECL 2004-05-24 16:41:41 +00:00
Ilia Alshanetsky
e4c5e85697 Fixed leaks on fatal errors in tidy. 2004-05-23 17:22:21 +00:00
Wez Furlong
ad99c124c4 Finally a fix for #23220: IIS does not cleanly close SSL connections.
Also enable the safe and recommended bug work around options in the SSL
context.
2004-05-23 10:36:08 +00:00
Wez Furlong
055848d83a prep for release 2004-05-22 20:58:36 +00:00
Ard Biesheuvel
8b1fca9e3a Use dummy status vector in ibase_connect()
Added fbird_ aliases for all ibase_ functions
# See comment in code for more info
# Please let me know if there are any namespace issues involved
2004-05-22 18:50:58 +00:00
Wez Furlong
d39117c234 Fix buglet in dbh closing. 2004-05-22 15:04:26 +00:00
Wez Furlong
35494bb569 Enable ODBC Connection Pooling.
Theoretically better than PHP persistent connections, since ODBC itself takes
care of resetting the connections back to a "ground" state.

Connection pooling defaults to ON, since this is generally useful.
You can turn it off by using:

pdo_odbc.connection_pooling=off

in your php.ini file.

You may configure how ODBC matches connection details to existing connections
by setting this value to "strict" (the default) or "relaxed".  You are
encouraged to read the ODBC specs before changing this value.
2004-05-22 14:51:26 +00:00
Wez Furlong
ce5e317cc5 ok MSVC, why didn't you spot *that* one?? 2004-05-22 00:38:11 +00:00
Wez Furlong
8d9c384f7f Fix doer()
Implement error handling for ODBC
2004-05-22 00:30:00 +00:00
Ilia Alshanetsky
b4ef3d186a Add self to credits. 2004-05-21 22:45:27 +00:00
George Schlossnagle
84cfbe5efe pierre's thingy 2004-05-21 22:36:52 +00:00
George Schlossnagle
e872491f80 /me learns to read 2004-05-21 22:30:58 +00:00
George Schlossnagle
88942c9834 both places 2004-05-21 22:27:30 +00:00
George Schlossnagle
553698f35d drop the dev 2004-05-21 22:27:02 +00:00
Wez Furlong
758b7f1ad4 Bump the version number 2004-05-21 22:26:45 +00:00
George Schlossnagle
4d01a5c2d1 ok, apprently we _don't_ want to count the nulls. 2004-05-21 22:24:20 +00:00
George Schlossnagle
1ee89e1bea remove debugging 2004-05-21 22:20:25 +00:00
George Schlossnagle
518cf77f32 fix fubar'd emulated bindings 2004-05-21 22:19:33 +00:00
Wez Furlong
dc57cff2a6 Prep for release 2004-05-21 21:20:00 +00:00
Timm Friebe
3a168b52e7 - Fixed expected return value from test #2
Invalid resources yield bool(false) in PHP5, NULL in PHP4
2004-05-21 21:01:21 +00:00
Timm Friebe
342d7b6968 - Removed currently leaking auto-cancel test
- Fixed expected return value from sybase_num_rows() when an
  invalid resource is passed (returns false instead of NULL)
2004-05-21 20:54:39 +00:00
Timm Friebe
df5396677d - Fixed expected return value from var_dump()
- Cleaned up SQL statement
# This bug has been fixed, but this test should be kept anyways,
# just to make sure it does not reappear
2004-05-21 20:53:01 +00:00
Timm Friebe
8eac91345b - Fixed bug #28354 2004-05-21 20:29:38 +00:00
Timm Friebe
b20be6a27b - Initial release 2004-05-21 19:45:55 +00:00
Edin Kadribasic
640bed4cf5 Prepare release 2004-05-21 19:09:43 +00:00
Wez Furlong
40ab777dc8 Update package/module 2004-05-21 17:33:58 +00:00
Wez Furlong
25049d6cf8 Add some blurb 2004-05-21 17:31:49 +00:00
Wez Furlong
9462eb6db5 Ok, so we do need to rinit here after all. 2004-05-21 17:17:55 +00:00
Wez Furlong
fbccd1438c Update to reflect recent changes in dl() 2004-05-21 17:08:36 +00:00
Wez Furlong
597124e128 Update package/module 2004-05-21 16:53:32 +00:00
Wez Furlong
500922f9a2 Update package file 2004-05-21 16:38:41 +00:00
Ilia Alshanetsky
3a5e5ca4d4 Implement ODBC doer. 2004-05-21 16:17:22 +00:00
Wez Furlong
798d437b05 Fix return type here too 2004-05-21 15:33:18 +00:00
Wez Furlong
a53edd047e Fix return type 2004-05-21 15:29:09 +00:00
Wez Furlong
5e408e4ee9 Fix setAttribute for oci.
Fix some compiler warnings
2004-05-21 15:25:22 +00:00
Dmitry Stogov
b9bb0d77a0 Fixed bug #28239 (No results returned on SOAP call, no error given) 2004-05-21 14:50:19 +00:00
Wez Furlong
d8d7dd7e14 Allow lazy fetch to work with numeric offsets.
Fix named parameters...
2004-05-21 14:31:51 +00:00
Ilia Alshanetsky
37d8a82b4d Fixed compiler warning. 2004-05-21 14:27:48 +00:00
Ard Biesheuvel
c6773a06cd Removed strcpy() call from most common case
Added test for hash index generation
2004-05-21 14:24:34 +00:00
Wez Furlong
64f0ec7bde Update for placeholder flags 2004-05-21 14:15:03 +00:00
Wez Furlong
8f5b212612 store the name length in the same manner as it is stored in zvals 2004-05-21 14:14:32 +00:00
Wez Furlong
ed83c5bee5 Tidy up placeholder flags 2004-05-21 14:09:51 +00:00
Ard Biesheuvel
27c3c301bd Added test for duplicate field names when returning rows as hashes or objects
# This change should be in 5.0.0, as it might break BC
2004-05-21 13:46:04 +00:00
Wez Furlong
bf48daa8d5 Version 1 of PDO_FETCH_LAZY 2004-05-21 13:26:58 +00:00
Ard Biesheuvel
126531a44b Make sure METADATALENGTH is defined (used by IB 7) 2004-05-21 13:14:56 +00:00
Ilia Alshanetsky
9cccfa57b6 Fixed stream leak on error. 2004-05-20 23:37:59 +00:00
Wez Furlong
221710e820 Specify that OCI returns column names in upper case by default 2004-05-20 22:29:26 +00:00
Wez Furlong
f0a001a953 Implement case folding of column names as a portability option. 2004-05-20 22:28:53 +00:00
Ilia Alshanetsky
41784bfcff Kill unused var. 2004-05-20 22:24:30 +00:00
Wez Furlong
e0ac3f66ae Implement PDO_FETCH_OBJ
# todo (after initial release) - specify a particular class, reuse existing
# objects etc.
2004-05-20 22:06:42 +00:00
Wez Furlong
4cdf143184 Fix build on win32 2004-05-20 21:50:25 +00:00
Andrey Hristov
19d0283ce8 for now removing ":public". Waiting for a decision? ":public" will require
quite a lot of phpt files changes.
2004-05-20 21:15:42 +00:00
Andrey Hristov
44de5a0e8e fixing the tests so to work with the new var_dump() (dumping private and
protected member variables)
2004-05-20 21:13:14 +00:00
Ilia Alshanetsky
43a04beb46 Make username & password parameters optional. 2004-05-20 20:25:22 +00:00
Ilia Alshanetsky
afb3979882 Fixed parameter order. 2004-05-20 20:22:07 +00:00
Ilia Alshanetsky
ebd608ba18 Added getAttribute() handler.
Fixed leak inside exec().
2004-05-20 20:04:11 +00:00
Edin Kadribasic
7f6343e60d Use native PostgreSQL connect string e.g.
$db = new PDO("pgsql:dbname=template1 user=postgres password=secret");
2004-05-20 19:58:51 +00:00
George Schlossnagle
e155ad208a sigh... need to include the null byte in hash keys 2004-05-20 19:19:04 +00:00
Ilia Alshanetsky
15fb957c61 Added MySQL getAttribute() support. 2004-05-20 19:17:32 +00:00
Wez Furlong
5023a7c61c Enable setting the different error modes via PDO::setAttribute() 2004-05-20 19:16:49 +00:00
Ilia Alshanetsky
726e188cce Fixed typo. 2004-05-20 19:14:44 +00:00
Ilia Alshanetsky
42a2b22a4a Added missing user-land constants. 2004-05-20 19:12:24 +00:00
Edin Kadribasic
9cfeb25667 We quote with ' in real databases 2004-05-20 19:09:36 +00:00
Ilia Alshanetsky
e596466a1f Added getAttribute() method. 2004-05-20 19:09:35 +00:00
George Schlossnagle
b7b7bedabd remove debug 2004-05-20 18:50:21 +00:00
George Schlossnagle
c22cb0477c off by one error 2004-05-20 18:44:12 +00:00
George Schlossnagle
3366916203 set active_query_string to null in case of failure 2004-05-20 18:29:59 +00:00
Ilia Alshanetsky
1c2b47c408 Make sure that the error string is freed. 2004-05-20 18:19:03 +00:00