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
Uwe Schindler
fb25210072
set Sybase default APPNAME to ("PHP " PHP_VERSION)
2004-04-16 16:27:19 +00:00
Timm Friebe
104f2b5ff4
- Fixed bug #26407 (Result set fetching broken around transactions)
2004-02-15 10:53:45 +00:00
Timm Friebe
e0c7f10ef5
- Changed initialization of function arguments to message handler
...
# Hopefully fixes bug #27157 (Compile Failure on Solaris 8), user does
# not know how to use patch and therefore couldn't verify this works.
2004-02-15 10:37:09 +00:00
Timm Friebe
b3a55e95de
- Removed pointless call to error_reporting()
2004-02-10 20:39:08 +00:00
Timm Friebe
fbc3eda353
- Initial release
2004-02-09 00:32:39 +00:00
Timm Friebe
a8bd293005
- Changed error_reporting setting to E_ALL so we get the notices
2004-02-09 00:14:24 +00:00
Timm Friebe
06ab4e69db
- Made server name and credentials contain something obviously incorrect.
...
- Made charset parameter default to "iso_1" (fixed "Sybase: Unable to
update character set." warnings which were failing all tests when the
official Sybase libraries were used - FreeTDS ignores this).
2004-02-08 23:58:46 +00:00
Timm Friebe
426c34b355
- Initial release
2004-01-25 20:04:24 +00:00
Timm Friebe
64ef58f483
- Added test for case when incorrect argument type is
...
passed to sybase_set_message_handler()
2004-01-25 20:04:08 +00:00
Timm Friebe
35409efd9a
@- Added ability to define a message handler not only globally, but also
...
@ per connection (Timm)
@- Made sybct.login_timeout changeable at runtime (Timm)
@- Added ini option sybct.packet_size which lets you control the packet
@ size (Timm)
2004-01-25 20:03:10 +00:00
Timm Friebe
e36cfeb0a9
- Added test on char type
2004-01-24 15:18:52 +00:00
Timm Friebe
c5df5b7507
- Initial release
2004-01-24 02:54:33 +00:00
Timm Friebe
96b80f86a1
- Initial release
2004-01-24 02:42:26 +00:00
Timm Friebe
095e82fe28
- Initial release
2004-01-24 02:18:13 +00:00
Timm Friebe
4cb85d4bc1
@- Fixed bug #22403 "PHP crashes when executing a sql procedure without
...
@ parameters" (Timm)
@- Fixed memory leak in sybase_set_message_handler() (Timm)
# Fixed bug with large numerics correctly (initial fix in r. 1.76 failed
# for MAX_LONG + 1, for example)
2004-01-24 02:17:42 +00:00
Timm Friebe
348abec29d
- Fixed compiler warnings (int format, long int arg)
2004-01-18 16:01:02 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Wez Furlong
51c342efae
Make these build with new win32 build system.
2003-12-19 17:00:14 +00:00
foobar
2811f9293d
MFB
2003-08-28 16:19:08 +00:00
Ilia Alshanetsky
93bcd55eaf
emalloc -> safe_emalloc
2003-08-12 00:58:52 +00:00
foobar
71dedd2dd4
Fixed bug #24231 : ext/sybase_ct could not be build as shared
2003-06-18 18:28:47 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
foobar
6443ce1fc5
Fix the bad logic..
2003-03-17 15:56:17 +00:00
foobar
ce4bf275c9
Prevent using both --with-sybase and --with-sybase-ct in same build
2003-03-13 17:27:28 +00:00
foobar
3c9155e0cb
Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
...
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
Ilia Alshanetsky
453368afdf
Removed pointless checks.
2003-01-30 02:33:16 +00:00
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
2bcca9e315
#- Added myself here
2002-11-05 08:30:57 +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
jim winstead
d3400b2b5f
the 'setup' script was removed more than two years ago.
...
these can be safely removed from the 4.2 branch, too.
2002-03-16 00:21:40 +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
Sascha Schumann
5cba3a99c2
extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed
2002-03-12 16:44:00 +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
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Brian Bruns
8a33c1cace
Detect FreeTDS to work around different library sets
2001-11-30 22:12:31 +00:00
foobar
f1397d5339
Unified the configure messages.
2001-11-30 19:00:13 +00:00
foobar
0b2af004c1
Fixed bug: #13782
2001-10-23 10:31:56 +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
foobar
032b263129
Fixes commit / link problems with certain compilers.
...
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB
# if you need to pass extra libs/libpaths to the test.
2001-09-05 13:18:09 +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
foobar
d87e59a1a3
Make it possible to build this extension as shared module.
2001-06-22 15:52:25 +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
8a26918ed1
Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
...
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +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
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
2000-11-20 10:33:33 +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
Joey Smith
618bfebfaf
Remove CVS conflict. Zeev, I assume you wanted context inside the globals?
2000-09-15 20:54:42 +00:00
Zeev Suraski
5d97102f8f
@- Made the Sybase CT module thread safe (Zeev)
2000-09-12 20:54:36 +00:00
Joey Smith
f020f3eaa5
Fix compile warnings.
2000-09-10 05:35:03 +00:00
Joey Smith
1a092713d0
@- Updated sybase_ct module and its sybase_query to use high performance API.
...
(sybase_query) Use high performance API in sybase_query. Will work on the others later.
2000-09-10 05:24:30 +00:00
Joey Smith
98cb18a7d7
Use new Zend API stuff.
2000-09-10 05:13:56 +00:00
Daniel Beulshausen
b6f0d041f9
deleted a few unnecceasary defines and added the Release_TS_Inline path to the libpath
2000-08-24 17:48:30 +00:00
Daniel Beulshausen
b422c552d7
projectfile to build the sybase_ct extension
2000-08-22 15:15:10 +00:00
Joey Smith
9d6d8bf1fa
@- Fix #4591 . Register the appname as PHP 4.0, not 3.0
...
@ Credit to andrew@digitalpulp.com . (Joey)
sybase.globals was still using PHP 3.0 as the appname.
2000-07-24 19:12:32 +00:00
David Croft
83513d9580
Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
...
Added a few RCS $Id$ tags.
# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
2000-07-24 01:40:02 +00:00
Joey Smith
be6c3d8b62
INI stuff labelled sybase.* should be sybct.*.
...
Thanks to dean.bennett@home.com .
2000-07-21 19:58:38 +00:00
Sterling Hughes
0690bca499
fix 5705
...
.
2000-07-20 17:15:25 +00:00
Sascha Schumann
16017f6d78
Change header protection macros to conform to standard.
...
Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"
All identifiers that begin with an underscore and either an uppercase
letter or another underscore are always reserved for any use by the
implementation.
2000-07-02 23:46:51 +00:00
Joey Smith
d47e4b8617
Fix for bug #3983
2000-06-24 09:01:51 +00:00
Andi Gutmans
a9d4cf9023
- Nuke COMPILE_DL. Modules that need to be compiled as dll's in Windows
...
- need to define both COMPILE_DL_MODULE and HAVE_MODULE=1
2000-06-10 08:48:01 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Sascha Schumann
4686a3b50e
Use #ifdef COMPILE_DL_EXTNAME solely.
2000-05-23 09:33:51 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Sascha Schumann
fe50664d4d
#if COMPILE_DL
...
becomes
#if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
2000-05-02 00:44:35 +00:00
Sascha Schumann
0d383d9373
Replace the various get_module() functions with a uniform
...
ZEND_GET_MODULE(name) macro.
2000-05-02 00:30:36 +00:00
Sascha Schumann
7613e064f8
Remove trailing empty lines
2000-05-01 22:38:42 +00:00
Sascha Schumann
0d36199cf9
Large test commit IV
2000-05-01 22:04:52 +00:00
Sascha Schumann
de2cea47c0
Large commit test III
2000-05-01 22:00:09 +00:00
Sascha Schumann
a481fddfb3
Improved in-tree shared libraries build system
...
The following new/revived shared modules are available now:
... MySQL (*)
... PCRE (*)
... Session
... SWF
(*) capable of using bundled library or external library
All changes:
The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now.
This effectively means that all extensions have to use dynlib.
ext/mysql/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/pcre/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/ext_skel was changed to reflect that more modules should be
compileable as shared module.
ext/Makefile.in has been simplified enormously.
Dependencies are now stored in the build tree.
Empty dependencies are not generated by buildconf anymore. They
are now dynamically created during the build process.
Implicit rules for .S were removed.
The NO_RECURSION feature was removed.
"libs.mk" has been added to all cvsignore files in ext.
2000-05-01 02:42:55 +00:00
Sascha Schumann
953fe189da
Overall UNIX build system improvements:
...
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
(fixes Tru64 support)
* VPATH does not contain variables anymore
(fixes UnixWare support)
2000-04-30 03:20:09 +00:00
Colin Viebrock
a7c8bfb9fb
phpinfo() prettying
2000-04-06 21:07:44 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Zeev Suraski
bf5cb890b0
- Convert 'PHP3' to 'PHP'
...
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Zeev Suraski
c12aa454ff
Compile fixes
2000-02-05 15:44:20 +00:00
Zeev Suraski
3a816341f9
Cleanup patches
2000-02-05 15:16:12 +00:00
Thies C. Arntzen
bf4d20aaa8
just add a remark. zend_hash_apply can & will cause problems here unless
2000-01-15 13:39:19 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Sascha Schumann
cf5a5fb1dd
Whoops, defining them to empty values generates many parse errors.
...
Defaulting to 1.
1999-12-30 04:52:19 +00:00
Sascha Schumann
2c99bef442
Get rid of config.h.stub. Note that you should embed a comment about
...
what the respective define does into the AC_DEFINE macro. I.e.
AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa
Integration of -ng changes. Changes:
...
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
(libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +00:00
Andi Gutmans
3bf1b04cb4
- Move more stuff to ALLOC_ZVAL(). We need to add those FREE_ZVAL()'s now.
1999-12-24 17:39:27 +00:00
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
...
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
1999-12-04 19:19:57 +00:00
Zeev Suraski
1f41ddfe7f
Optimize a bit
1999-11-19 13:06:12 +00:00
Zeev Suraski
049b74b88f
Fix a bug in sybase_fetch_hash()
1999-11-19 13:00:57 +00:00
Sascha Schumann
3dc7757a99
Remove the extra INCLUDES line from most automake Mafiles. This is not
...
necessary, because we can change the value of INCLUDES globally in one
place (configure.in).
Also add two defines in thread-safe mode
(_REENTRANT and POSIX_PTHREAD_SEMANTICS)
1999-11-13 12:41:09 +00:00
Jakub Skopal
ce8e31be71
"sybase" is definitelly six characters long :-)
1999-11-08 20:57:59 +00:00
Thies C. Arntzen
7dfbf440ef
(php sybase_close) fixed obvious bug.
1999-10-12 15:00:10 +00:00
Thies C. Arntzen
86bb3fa0c0
new improved resource-API (i hope everything still compiles)
1999-10-12 14:53:15 +00:00
Sascha Schumann
232afa4816
* archive-based convenience libraries completely replaced
...
with libtool components
* SAPI targets can enable thread-safe mode and define
shared/static/program build target
* all configure scripts use the same config.cache
* phplibdir is $(top_builddir)/modules to avoid
permission problems
* sapi/*/Makefile.inc are gone
* runpath handling cleaned up
* top-level Makefile.in obsoleted through Makefile.am
* --enable-versioning uses libtool's cleaner and more
portable -export-symbols feature
1999-10-04 15:18:26 +00:00
Zeev Suraski
83a5bfdd04
This should make the Sybase CT module compile again (untested)
1999-09-24 14:11:53 +00:00
Zeev Suraski
c12d4bc7d4
*** empty log message ***
1999-09-04 13:18:59 +00:00
Zeev Suraski
6d4ab7372d
Add resource support to the Sybase CT module
1999-09-04 13:03:09 +00:00
Zeev Suraski
5fbe27828b
Separate Sybase-CT from Sybase, and fix build process for Sybase-CT
1999-08-13 00:14:17 +00:00