Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Pierre Joye
d7819b62cc
- Fix #55301 (sybase part, take #2 ) check if malloc succeded
2011-07-28 21:16:51 +00:00
Pierre Joye
5703457cd0
- Fix #55301 (sybase part) check if malloc succeded
2011-07-28 10:58:28 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Pierre Joye
cc1c7af037
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Timm Friebe
7229afbd41
- Fix compiler warning about long vs. int in printf()
...
# See bug #55009
# Compare to _server_message_handler() a little below, where this
# is done the same way
2011-06-13 08:43:21 +00:00
Felipe Pena
950a716b12
- Possible fix for bug #55022 (memory_limit exhausted when set charset in sybase_connect)
2011-06-11 01:15:14 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Felipe Pena
80926568f1
- Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for function aliases)
2010-06-26 16:03:39 +00:00
Timm Friebe
aa71d4e2f5
- Fixed segmentation fault when reading rows
...
# Problem surfaces when using FreeTDS, ASE 12.5 and reading text fields
# with NULL values. This is essentially a workaround for a bug in Free-
# TDS which is not setting the NULL indicators correctly, but provides
# a protection against possible segfaults if any other driver ever does
# this again:-)
2010-06-16 09:34:11 +00:00
Kalle Sommer Nielsen
7ef4cdf471
Remove a couple TSRMLS_FETCH() calls around ext/main/sapi
2010-04-13 11:02:15 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Timm Friebe
12abaadf84
- Added optional parameter "new" to sybase_connect
...
# [DOC] If a second call is made to sybase_connect() with the same arguments
# no new link will be established, but instead, the link identifier of the
# already opened link will be returned. The new parameter modifies this
# behavior and makes sybase_connect() always open a new link, even if
# sybase_connect() was called before with the same parameters.
2008-11-10 10:59:44 +00:00
Timm Friebe
39bd93bc62
- Fixed sybase_close() to actually close connections
...
# Broken during parameter parsing refactoring lately, OK in PHP_5_2
2008-11-09 11:39:14 +00:00
Timm Friebe
8089d14c9a
- Fixed problems with segmentation faults when using unbuffered queries
...
# Double-freeing results caused these
2008-11-08 13:22:14 +00:00
Timm Friebe
b99923a434
- QA: Unified error messages in php_sybase_query()
2008-11-08 12:24:52 +00:00
Timm Friebe
927804e288
- Changed while loop in php_sybase_fetch_result_row() to also read rows with
...
retcode == CS_ROW_FAIL.
# Reported by Detlef Neumerkel and Frank Irnich of Sybase
2008-11-08 12:05:46 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Felipe Pena
b206bac4e9
- Added arginfo
...
- Fixed compile warning
2008-07-01 17:24:10 +00:00
Timm Friebe
4a58de4c5c
- Migrated all zend_get_parameters_ex calls to zend_parse_parameters()
...
- Fixed prototype declarations to use the type resource instead of int
- Fixed sybase_close() not to crash when no connection was previously open
2008-06-24 16:33:17 +00:00
Timm Friebe
4920a2f980
- Changed zend_get_parameters_ex -> zend_parse_parameters
...
- Simplified source in php_sybase_do_connect()
# Part 1, more to follow
2008-06-22 10:11:14 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
4cc23cf49d
Fixed bug #43074 (attempt to increment refcount outside of the macro)
2007-10-23 15:21:20 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Marcus Boerger
5447fca028
- WS/CS
2007-04-10 15:56:31 +00:00
Marcus Boerger
b15d742639
- Cleanup the cleanup
2007-04-10 15:50:34 +00:00
Timm Friebe
ca75503c8f
- Fixed segmentation fault in sybase_connect()
...
# This was introduced by changing sprintf -> spprintf and resulted
# from passing a char* to spprintf() instead of a char**
2007-03-14 11:48:49 +00:00
Stanislav Malyshev
49a7bcd60b
use safe_realloc
2007-03-06 02:10:25 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Ilia Alshanetsky
a471f75354
Simplify code by converting emalloc() + sprintf() to spprintf()
2007-02-23 00:37:36 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Uwe Schindler
d6337819ba
MFH: Fix compilation with TSRM (now correct)
2006-07-25 09:20:32 +00:00
Uwe Schindler
c1da9dbc8b
revert shitty whitespace patch (forgot to reconfigure my editor after reinstallation)
2006-07-25 09:19:38 +00:00
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
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
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