Commit Graph

80 Commits

Author SHA1 Message Date
Ilia Alshanetsky
6bf2ce3429 Removed non-needed code. 2003-01-22 22:07:22 +00:00
Ilia Alshanetsky
2b121d0b37 Various corrections. 2003-01-15 13:55:34 +00:00
Ilia Alshanetsky
299614ae16 Newer parameter parsing API. 2003-01-15 03:01:17 +00:00
Ilia Alshanetsky
c4088ce25b Do not 'convert' double columns to integers after the 1st row in the result
set.
2003-01-11 23:50:37 +00:00
Ilia Alshanetsky
48f2ad4703 Fixed handling of NUMERIC type, when it contains numbers that could
potentially exceed the interger limit.
2003-01-11 23:06:35 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Timm Friebe
b9fa1813b2 - Fixed three memory leaks
- Fixed segfault with sybase_unbuffered_query() and unfetched resultsets
2002-12-07 19:49:31 +00:00
Edin Kadribasic
9a275e27a5 Fixed ZTS build and removed an unused variable. 2002-11-12 22:59:11 +00:00
Timm Friebe
0d879e3323 - Added optional parameter to sybase_fetch_object() (Timm)
- Changed php_error and zend_error to php_error_docref (Timm)
- Changed sybase_query() to clean up and free unread results (Timm)
2002-11-12 13:13:12 +00:00
Timm Friebe
514b69824e @- Implemented features/changes requested in Bug #16960 (Timm):
@  . Added a new function sybase_unbuffered_query()
@  . Added a new function sybase_fetch_assoc()
@  . Added sybase_set_message_handler() which enables users to handle
@    server messages in a callback function
@  . Added an ini entry for deadlock retries - retrying deadlocks
@    can cause transaction state to break (sybct.deadlock_retry_count,
@    defaults to -1 "forever").
@  . Fixed sybase_fetch_object() not to return objects with numeric
@    members
@  . Fixed issues with identical fieldnames
@  . Made sybase_fetch_*() functions return correct datatypes
@  . Made phpinfo() section more verbose
@  . Made sybase_query() error messages more verbose
2002-11-05 08:29:57 +00:00
Andi Gutmans
c8e7db984c - Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTR 2002-03-12 20:18:01 +00:00
Derick Rethans
f3d1ae176f - Add 'appname' parameter to sybase_connect. (Patch by Christophe Sollet
<csollet@coleebris.com>)
2002-03-06 15:59:57 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Stig Bakken
689252082c * zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jeroen van Wolffelaar
21f2b9277f 3rd run in back-substitutin Z_* macro's. The val->Z_ cases are all solved now. 2001-09-26 08:35:48 +00:00
Jeroen van Wolffelaar
c033288573 Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know. 2001-09-25 21:58:48 +00:00
Joey Smith
5e21a4afad More Z_* macro changes. 2001-08-14 01:07:42 +00:00
Joey Smith
2f485a1848 More WS. 2001-08-13 19:58:07 +00:00
Joey Smith
7094200c96 WS only 2001-08-13 19:45:26 +00:00
Andi Gutmans
a5afd0e9d0 - ZE2 fixes 2001-08-13 16:40:12 +00:00
Sascha Schumann
23b9300fd1 more tsrm cleanup 2001-08-06 03:50:52 +00:00
foobar
474da88b4c more ZTS fixes. 2001-07-31 23:47:35 +00:00
Zeev Suraski
aa1772ca72 More TSRMLS_FETCH annihilation 2001-07-31 05:44:11 +00:00
Zeev Suraski
d76cf1da18 More TSRMLS_FETCH work 2001-07-31 04:53:54 +00:00
Zeev Suraski
797a079a95 More TSRMLS_FETCH work, and a bit of cleanup 2001-07-30 06:18:13 +00:00
Zeev Suraski
1c25b8dd53 Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way 2001-07-30 01:56:43 +00:00
Zeev Suraski
d87cc976e1 Redesigned thread safety mechanism - nua nua 2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4 - Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Paul Moosman
22a8e9536a I added code to up the reference count of the database connection
reference. This change fixes bug #11489 in php version 4.0.6.
I derived this fix from the my_sql module.
2001-07-23 16:10:10 +00:00
Thies C. Arntzen
0ef0f8e32b ZVAL_BOOL(v,0) -> ZVAL_FALSE(v) 2001-07-11 12:42:25 +00:00
Zeev Suraski
66d94bc655 Nuke zval_reset 2001-07-11 11:39:10 +00:00
Zeev Suraski
d70ce7be27 var_reset -> ZVAL_RESET 2001-07-11 09:39:09 +00:00
Joey Smith
08d1178d6e Be consistent across all cases. 2001-07-06 01:21:55 +00:00
Joey Smith
eaaf36b65e Make info look more like mysql's output. 2001-06-26 21:00:13 +00:00
Joey Smith
d4881848a3 Added charset support. 2001-06-26 20:56:03 +00:00
Stig Bakken
1beda9ee1e * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build) 2001-05-24 10:07:29 +00:00
Andi Gutmans
d6656c2fa3 - Commit fix by Steve Meyers 2001-05-23 04:17:54 +00:00
foobar
ba12d0b4b1 Added missing alias. PR: #9550 2001-03-11 04:13:53 +00:00
Andi Gutmans
eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
Egon Schmid
416f4b7e95 Mostly off by one. 2001-01-26 21:41:38 +00:00
Zeev Suraski
94ca2181fb Add sybase_get_last_message() from Jan Fedak <J.Fedak@sh.cvut.cz>
@- Added sybase_get_last_message() to the Sybase CT module (Jan Fedak)
2001-01-13 22:47:44 +00:00
Joey Smith
eefe6739ee Close bug #7013. 2000-12-07 02:50:46 +00:00
Zeev Suraski
6d0749a95b Fix msql_close(), pg_close() and sybase_close() (Sybase CT) 2000-11-03 02:46:49 +00:00
Andrei Zmievski
f1dcb32c9f Use zend_register_list_destructors_ex() instead. 2000-10-25 17:44:02 +00:00
Andrei Zmievski
7b4983c8f8 Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
  * Switched register_list_destructors() to use
    zend_register_list_destructors_ex() instead
  * Updated all relevant modules to provide the resource type name
    to register_list_destructors() call
  * Updated var_dump() to output resource type name instead of number

@- Made resource type names visible, e.g. var_dump() and
@  get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Joey Smith
78493a1b03 Use sybct for INI values. 2000-10-19 17:03:25 +00:00
Joey Smith
8538f86ac1 Add more missing protos and make folding style closer to mysql module. 2000-10-05 02:40:53 +00:00
Joey Smith
12aca26b5b Add protos from sybase DB Library. 2000-09-26 07:38:47 +00:00
Joey Smith
e5bb148d4e le_link and le_plink are no longer part of the sybase_globals. 2000-09-20 04:12:03 +00:00
Zeev Suraski
5d97102f8f @- Made the Sybase CT module thread safe (Zeev) 2000-09-12 20:54:36 +00:00