Commit Graph

239 Commits

Author SHA1 Message Date
Felipe Pena
ddff1c485d - Fixed param type (%l -> %ld) 2009-05-26 12:35:38 +00:00
Felipe Pena
b1cc4234ab - Fix compile warning && nuke unused variables 2009-05-26 12:26:49 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Kalle Sommer Nielsen
bbe59046e0 Fixed #37209 (mssql_execute with non fatal errors) 2009-02-23 21:20:47 +00:00
Felipe Pena
798f7b7088 - Fixed bug #47087 (Second parameter of mssql_fetch_array() is ignored) 2009-01-20 20:02:37 +00:00
Felipe Pena
b4e7e9a3e7 - Removed WRONG_PARAM_COUNT usage 2009-01-08 00:11:57 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Pierre Joye
821c00eb43 - fix build 2008-12-14 16:19:43 +00:00
Ilia Alshanetsky
9a727a1b2b MFB: simplify code 2008-12-14 15:35:51 +00:00
Pierre Joye
adae8ea195 - MFB: fix build 2008-12-11 15:33:18 +00:00
Ilia Alshanetsky
2c16adedf7 MFB: Fixed bug #46798 (Crash in mssql extension when retrieving a NULL value
inside a binary or image column type)
2008-12-10 20:53:58 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Kalle Sommer Nielsen
470a843f8f * Fix gcov warnings about parameters not initialized (Thanks for noticing Felipe!)
* Changed int to be long in mssql_num_fields
2008-10-09 18:33:25 +00:00
Kalle Sommer Nielsen
e659b7d6c1 * is_output and is_null parameters are now booleans instead of int in mssql_bind
* Added missing conditional from old parameter parsing
2008-10-06 21:50:18 +00:00
Kalle Sommer Nielsen
0acb6c09bc New parameter parsing API (with lots of help from Felipe) 2008-10-05 04:55:33 +00:00
Felipe Pena
13833ec079 - Fixed bug #44991 (Compile Failure With freetds0.82) (patch by jklowden at freetds dot org) 2008-10-04 12:54:32 +00:00
Felipe Pena
e9e01d4950 - MFB: zend_arg_defs.c is unnecessary now 2008-07-05 20:10:41 +00:00
Felipe Pena
5d2b1e7eb7 MFB: - Added arginfo 2008-06-29 15:21:42 +00:00
Ilia Alshanetsky
1aab3a9b41 MFB: Revert patch for bug #44325 2008-03-05 23:52:56 +00:00
Ilia Alshanetsky
b48faec1c8 MFB: Fixed bug #44325 (mssql_bind not correctly bind empty strings as
parameter value)
2008-03-04 19:39:33 +00:00
Nuno Lopes
1dc0e94e0f MFB: remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:18:29 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Ilia Alshanetsky
21a455a454 MFB: Fixed bug #4294 (Move *timeout initialization from RINIT to connect
time)
2007-10-22 22:42:54 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
foobar
f0f44a3652 - Fix some configure --help texts 2007-07-03 17:24:39 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Frank M. Kromann
4874397501 MFB: #39213
Fix for '' returned as ' '.
This only works with FreeTDS as microsofts library returns a length of 1 for an empty string!
2007-02-04 21:24:28 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Frank M. Kromann
476f0a2ae1 MFP51: Fix #33694 invalid sql or timeouts makes it impossible to reuse persistent connections 2006-04-04 18:49:44 +00:00
Pierre Joye
bb1ec86f9d - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Frank M. Kromann
8560728ae0 Fix #35730 Use correct character encoding with FreeTDS 2005-12-21 22:44:04 +00:00
foobar
acf2ab661a nuke php3 legacy 2005-12-06 01:26:39 +00:00
foobar
34ad5ab731 - list_entry -> zend_rsrc_list_entry 2005-12-05 23:31:09 +00:00
Frank M. Kromann
5907e1f08a Fix #33201 Crash when fetching some data types 2005-11-18 21:22:50 +00:00
Frank M. Kromann
87e899e4a4 Fix #33963. mssql_bind fails on input parameters 2005-11-18 20:48:22 +00:00
Frank M. Kromann
cc9225f8dc Fix #32009 crash when mssql_bind() is called more than once 2005-11-18 20:40:28 +00:00
Frank M. Kromann
14889ccfbd Fix #33153 Crash in mssql_next_result(). 2005-11-18 19:13:35 +00:00
Frank M. Kromann
0eaec9871c MFB: Change max_procs from 25 to library default. This will make FreeTDS connections work a bit better 2005-11-14 23:14:54 +00:00
Frank M. Kromann
cb34f4e3d3 Fix #35037. Selecting a uniqueidentifier would return unknown data type when used with freetds. 2005-11-01 18:14:52 +00:00
foobar
9f8c7e0850 Fix copypastetypo 2005-10-10 10:28:21 +00:00
foobar
3cce2dc2ee Fix copypastetypo 2005-10-10 10:27:27 +00:00
foobar
2d5f21c2fb - Fix build for distros where the header files are under */include/freetds/ 2005-10-10 09:50:24 +00:00
Frank M. Kromann
6e6def1e77 MFB: Fix for #34369
Add extra parameter to mssql_connect to force a new connection
2005-09-05 05:05:34 +00:00
Frank M. Kromann
1a7524d7c6 Make sure this works for multiple results as well 2005-08-08 23:09:06 +00:00
Frank M. Kromann
0030ec7f4e Remove debug code and optimize a bit 2005-08-08 22:55:56 +00:00
Frank M. Kromann
030542c238 Fix #32010. Leak in mssql_fetch_batch(). 2005-08-08 21:32:18 +00:00