Uwe Schindler
c1ddf2c2ed
Fix compilation with TSRM
2006-07-25 08:42:54 +00:00
foobar
93c0ddb2f3
MFH: fix compile failure and remove unnecessary TSRMLS_FETCH calls
2006-07-23 23:50:43 +00:00
Dmitry Stogov
1dbaae2795
Added automatic module globals management
2006-06-15 18:33:09 +00:00
Antony Dovgal
fb32c077a2
fix #37499 (CLI segmentation faults during cleanup (only with sybase-ct extension enabled))
2006-05-24 20:21:02 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Antony Dovgal
81a2bacdc4
fix #35760 (sybase_ct doesn't compile on Solaris)
2005-12-21 10:18:32 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
foobar
4e874820e9
MFH: nuke php3 legacy
2005-12-06 01:21:28 +00:00
foobar
a3af52c11e
MFH: list_entry -> zend_rsrc_list_entry
2005-12-05 23:38:04 +00:00
foobar
9477097564
MFH: Nuked EOLs from error messages
2005-08-18 13:34:41 +00:00
Frank M. Kromann
7675a85828
Fix for #32531
...
No need to alias these functions on windows or if the mssql extension is compiled. This change will allow the use of both extensions at the same time.
2005-08-06 05:42:51 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
Timm Friebe
5eb673d1cb
- Made error handler not output anything if error was not in error_reporting() mask
2005-02-06 14:08:11 +00:00
Timm Friebe
ca250d16dc
- Fixed error handler for situations in which an error
...
was raised in an include file
2005-02-06 14:06:21 +00:00
Timm Friebe
6a4d498af4
- Initial release
...
# Used for being able to run .phpt-files in a webserver environment
# Incomplete and pretty basic but serves its purpose ATM
2005-02-06 13:35:09 +00:00
Timm Friebe
57fa001979
- Prefixed all temporary names with "phpt_"
2005-02-06 12:59:03 +00:00
Timm Friebe
2a595d116e
- Initial release
...
# Works perfectly with php-cli
2005-02-06 11:58:53 +00:00
Timm Friebe
e47835b90e
- "Unified" test name
2005-02-06 11:58:18 +00:00
Dmitry Stogov
107da542ae
Skip condition was fixed.
2004-11-22 15:15:50 +00:00
Timm Friebe
8e5d8e6679
- Defaulted ini variable "sybct.deadlock_retry_count" to 0
...
# For details on why this was changed, see
# http://zend.com/lists/php-dev/200409/msg00108.html
2004-09-09 19:17:50 +00:00
Timm Friebe
7035a224b5
- Fixed packet size setting
...
# Patch by Alex Kiesel
2004-08-21 17:54:11 +00:00
Timm Friebe
a75203a278
- Fixed bug #29064 (Exact numeric/decimal/money datatypes lose precision)
...
- Fixed bug #27843 (sybase_query() triggers (spurious?) notices when
query is a stored procedure)
- Fixed multiple memory leaks with sybase_unbuffered_query()
- Changed sybase_query() to ignore store_results = false in buffering
mode, it would yield unpredictable results
- Fixed sybase_unbuffered_query() when used with store_results = false
- Changed sybase_fetch_object() to ignore second argument when passed
as NULL
- Made sybase_data_seek() error message more verbose
- Fixed memory leak in shutdown when not all rows where selected in an
unbuffered query
2004-07-29 19:32:46 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Timm Friebe
e532feb29c
- Initial release
2004-07-12 20:26:53 +00:00
Timm Friebe
cd75bd4f65
- Initial release
2004-07-11 16:57:38 +00:00
Timm Friebe
a14c66445a
- Added simple test for float exceeding the float precision
...
# See bug #29064
2004-07-11 16:57:12 +00:00
Timm Friebe
1e6ccabd5f
- Initial release
2004-07-11 16:31:32 +00:00
Timm Friebe
d6c0fdfd2f
- Initial release
2004-07-11 16:10:03 +00:00
Andi Gutmans
e5cfb1d05c
- Better stability during premature shutdown of request startup
2004-07-10 07:46:17 +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
e489d93abc
TSRM fix
2004-05-18 10:53:53 +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
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