Commit Graph

244 Commits

Author SHA1 Message Date
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
Timm Friebe
9c98b18950 - Changed output to be more verbose as to what libraries are used
- Changed check for 64-bit vs 32-bit build environment to check sizeof(int)
  instead of assuming that if libsybct64.so exists, it must be 64-bit
# Bug #53540: Correct Sybase 15.0 libraries not found by configure
2011-06-08 08:14:49 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Timm Friebe
45a2e5d447 - Add ".so" suffix to checks on libsybct[64] bundles
# See patch by royanee at yahoo dot com @ bug #45357
2010-08-31 12:27:29 +00:00
Timm Friebe
93bb957e26 - Added -DSYB_LP64 to CFLAGS on 64 bit platforms
# See http://cpansearch.perl.org/src/MEWP/DBD-Sybase-1.08/Makefile.PL:
#
# "If we are building for a 64 bit platform that also supports 32 bit
# (i.e. Solaris 8, HP-UX11, etc) then we need to make some adjustments
# [...] Tru64/DEC OSF does NOT use the SYB_LP64 define as it is ALWAYS 
# in 64 bit mode."
#
# Fixes bug #50827
2010-07-07 09:47:24 +00:00
Antony Dovgal
b193f98967 fix build 2010-06-29 10:50:58 +00:00
Timm Friebe
0f022566ae - Added test for tds_sysdep_public.h and link against -lct only then
- Added test for libsybct64 and libsybct
# The former is a fix for newer versions of FreeTDS which no longer 
# provide the tds.h - we need to distinguish in what we link against
# between FreeTDS and the official Sybase libraries, and this seems
# to do the job.
# The latter is the patch from bug #49276 (finally, and sorry)
2010-06-28 13:35: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
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +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
Jani Taskinen
4397aa9881 - More and more missing svn:ignore entries. 2009-08-02 01:48: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
15adc0ddaf - Added test for optional parameter "new" to sybase_connect() 2008-11-10 11:00:48 +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
4b96eea15f - Initial release 2008-11-09 11:38:17 +00:00
Timm Friebe
66f5639327 - Initial release 2008-11-09 10:57:09 +00:00
Timm Friebe
7dc8109ff3 - Initial release 2008-11-09 10:44:03 +00:00
Timm Friebe
2268bf47e3 - Added test for sybase_free_result() without full fetch 2008-11-09 10:29:52 +00:00
Timm Friebe
963aa85764 - Initial release
# Tests sybase_unbuffered_query() together with sybase_free_result()
2008-11-09 10:26:31 +00:00
Felipe Pena
d5ad77167a - MFH: Added connection checking on SKIPIF 2008-11-08 15:39:01 +00:00
Timm Friebe
ec17daec29 - Adjusted tests to reality
# We select 123456789.12345679, we should have this returned and not
# something 123456789.123457 (rounded)
2008-11-08 13:32:29 +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
9224d4cc6c - Made this test independent of date format 2008-11-08 13:21:30 +00:00
Timm Friebe
65c5b135d5 - Initial release 2008-11-08 13:21:01 +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
Timm Friebe
87ad2dd067 - Changed source to read host, user and password from environment
# E.g. nmake test TESTS=ext/sybase_ct PHP_SYBASE_HOST=db PHP_SYBASE_USER=sa PHP_SYBASE_PASS=***
2008-11-08 11:47:35 +00:00
Timm Friebe
847e9922d1 - Made this test independent of field types in master..sysprocesses
# char on ASE 11, varchar on ASE 15
2008-11-08 11:46:06 +00:00
Timm Friebe
d40014873f - Fixed expected warning messages
# Changed during migration to parameter parsing API
2008-11-08 11:45:03 +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
Felipe Pena
899e8d6dea - Fix check for PHP_SYBASE 2008-07-01 17:03:46 +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
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Timm Friebe
43fccbf2b9 - Changed hardcoded "tempdb" database name to a constant 2007-05-22 12:16:32 +00:00