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
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
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
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
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
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Frank M. Kromann
7bf2fe5296
Fix for #32682 . Error on module shutdown when called from activescript
2005-04-12 17:45:30 +00:00
Frank M. Kromann
28dbc778d8
FreeTDS does not have support for DBTEXTLIMIT
2005-02-25 23:24:18 +00:00
Frank M. Kromann
d56b42bec4
make the mssql extension work with freetds on win32
2005-01-18 06:09:48 +00:00
Frank M. Kromann
4f8973fcdc
Fix #31120 and #31135 . mssql_query returns false on successfill inserts and stored procedures
2004-12-16 21:47:23 +00:00
Ilia Alshanetsky
2980ab0cdc
MFB: revert
2004-12-06 19:46:23 +00:00
Ilia Alshanetsky
e99526eb7e
Fixed bug #30962 (mssql returns space for NULL columns).
2004-12-03 02:26:04 +00:00
Ilia Alshanetsky
a04722b1b0
MFB: fixed build.
2004-11-15 23:37:05 +00:00
Frank M. Kromann
4893e3c505
Adding most of the changes suggested in #30280 . Mostly fix's for possible leaks.
2004-11-15 22:45:29 +00:00
Frank M. Kromann
81c8d3132b
Fix compilation
2004-09-28 18:38:29 +00:00
Ilia Alshanetsky
183126535c
Fixed bug #30224 (Sybase date strings are sometimes not null terminated).
2004-09-28 14:07:23 +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
Andi Gutmans
e5cfb1d05c
- Better stability during premature shutdown of request startup
2004-07-10 07:46:17 +00:00
Frank M. Kromann
2067ce4079
Fix for #28512 . Allocate enough space to store data
2004-06-30 19:46:57 +00:00
Sara Golemon
ceb73ca019
MFB BugFix# 28626 You can't #ifdef check a typedef. Just give it another name since it's only used once anyway.
2004-06-04 01:03:38 +00:00
Frank M. Kromann
c5f8871734
Fix problem getting return value from stored procedure when it returns multiple results
2004-04-20 23:30:51 +00:00
Frank M. Kromann
b4f64e7f7b
Fix for #27764 . Get return value from a stored procedure not returning any result sets
2004-03-30 17:54:10 +00:00
Frank M. Kromann
87779f127a
Fix for #27743 . Make sure Money types are converted and returned correct
2004-03-29 18:32:27 +00:00