Commit Graph

259 Commits

Author SHA1 Message Date
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Frank M. Kromann
5ccfa591b7 Fix #33694 invalid sql or timeouts makes it impossible to reuse persistent connections 2006-04-04 18:49:12 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Frank M. Kromann
a7d2ac4189 Fix #35730 Use correct character encoding with FreeTDS 2005-12-21 22:43:06 +00:00
Ilia Alshanetsky
085ff7f19b Fixed build of mssql extension. 2005-12-06 18:47:14 +00:00
foobar
635e2bb028 MFH 2005-12-06 01:25:16 +00:00
foobar
a3af52c11e MFH: list_entry -> zend_rsrc_list_entry 2005-12-05 23:38:04 +00:00
Frank M. Kromann
6ed54ddc79 MFH: Fix #33201 Crash when fetching some data types 2005-11-18 21:23:20 +00:00
Frank M. Kromann
ae75d4350d MFH: Fix #32009 crash when mssql_bind() is called more than once 2005-11-18 20:40:52 +00:00
Frank M. Kromann
da2d7e7229 MFH: Fix #33153 Crash in mssql_next_result(). 2005-11-18 19:14:32 +00:00
Frank M. Kromann
fe306ed1a6 Change max_procs from 25 to library default. This will make FreeTDS connections work a bit better 2005-11-14 23:14:25 +00:00
foobar
d4a1506d52 Fix bad MFH 2005-11-06 02:59:18 +00:00
Frank M. Kromann
623a2021ab MFH: Fix #35037. Selecting a uniqueidentifier would return unknown data type when used with freetds. 2005-11-01 18:15:44 +00:00
foobar
ad28ef81c0 MFH: copypastetypofix 2005-10-10 10:28:53 +00:00
foobar
d41c6dc6d6 MFH 2005-10-10 09:50:35 +00:00
Frank M. Kromann
635d65ab4e MFB: Fix for #34369
Add extra parameter to mssql_connect to force a new connection
2005-09-05 05:04:31 +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
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +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
Joe Orton
d17ccbdeee Use PHP_LIBDIR. 2005-04-01 11:12:45 +00:00
Frank M. Kromann
28dbc778d8 FreeTDS does not have support for DBTEXTLIMIT 2005-02-25 23:24:18 +00:00
Frank M. Kromann
736ff0319a Set the MSSQL_VERSION to FreeTDS when that lib is used 2005-01-18 22:39:01 +00:00
Frank M. Kromann
4b4cde0702 Rename php_freetds.dll to php_dblib.dll (still using the freetds libs).
Allow the build of both versions in the same process
2005-01-18 22:38:24 +00:00
Frank M. Kromann
14821bb8cf use the static dblib.lib to avoid the need for extra dll's 2005-01-18 06:42:08 +00:00
Frank M. Kromann
008d859df9 add --with-freetds option to win32 build.
TODO make it work when both mssql and freetds is included or bail out with an error
2005-01-18 06:32:11 +00:00
Frank M. Kromann
01b426c452 make the mssql extension work with freetds on win32 2005-01-18 06:29:45 +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
Frank M. Kromann
49f88bc05a Fix logic for file checking. Bug #31019 2004-12-08 18:57:48 +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
Frank M. Kromann
82cd4789a7 Fix #30860 configure fails when tds is compiled as shared 2004-11-22 19:41:43 +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
Frank M. Kromann
a1cf684b55 Fif for #28047. Set correct debug options for debug_ts build 2004-08-30 19:01:58 +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
Frank M. Kromann
f05924db37 Fix build on win32 2004-06-07 18:03:51 +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
9909a36992 Fix #28007. Compile fails when the SHORT type is undefined (older versions of FreeTDS) 2004-04-20 23:37:08 +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
Frank M. Kromann
3e7a8e08eb Fix for #26589. Crash when selecting many columns of type Money 2004-03-19 18:45:07 +00:00
Frank M. Kromann
05158095ce Fix for #27594. Comuted columns does not return a column source 2004-03-15 19:41:48 +00:00
foobar
e3c437d378 register_list_destructors -> zend_register_list_destructors_ex 2004-02-18 20:22:40 +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
ad84dfa937 Build adjustments. 2003-12-03 14:29:45 +00:00
Frank M. Kromann
1dd6e3ab61 Adding missing defines and lib/include paths 2003-12-03 06:50:19 +00:00
Frank M. Kromann
305d2a3948 oops. this should be with and not enable 2003-12-03 00:22:40 +00:00
Frank M. Kromann
de96d34adb Adding mssql config file for the new build system 2003-12-03 00:17:04 +00:00
Frank M. Kromann
a7e2f95247 set freed pointer to null to avoid reuse 2003-12-02 18:38:30 +00:00
Frank M. Kromann
02ea233faa MFB: Fix for bug #25817
Check for a return value from a stored procedure right after fetching rows
Replace code with some Z_ macros
2003-11-17 20:56:53 +00:00
Ilia Alshanetsky
fff7c6098b Fixed bug #25777 (Do not rtrim() of text fields fetched from mssql) 2003-10-15 03:31:29 +00:00
Ilia Alshanetsky
9c82b1fa75 Fixed compiler warnings. 2003-08-31 20:45:51 +00:00
Zeev Suraski
8767205afa Fix Win32 linkage problems 2003-08-31 12:41:53 +00:00
Andrey Hristov
b2eb454171 format string fixes 2003-08-28 21:00:24 +00:00
Ilia Alshanetsky
06da1b95db Fixed typo. 2003-08-18 11:18:41 +00:00
Ilia Alshanetsky
93bcd55eaf emalloc -> safe_emalloc 2003-08-12 00:58:52 +00:00
Zeev Suraski
538d58dd5f Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +00:00
Ilia Alshanetsky
3a9e5400c6 Removed unused variables. 2003-07-23 16:54:34 +00:00
Ilia Alshanetsky
1a1826903b Fixed bug #24752 (Unhandled "uniqueidentifier" field type)
Original Patch By: s.sonnenberg[at]coolspot.de
2003-07-23 16:53:26 +00:00
Frank M. Kromann
d77e8393cd Change fetch functions and protos so they make more sense.
fetch_row or fetch_assoc should  not take the optional parameter
2003-07-03 16:53:04 +00:00
Frank M. Kromann
60d161a382 Updating email address 2003-06-14 03:35:16 +00:00
Andrey Hristov
864f217e20 proto fixes 2003-06-12 10:08:26 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Frank M. Kromann
03c56a5a1f Fix for bug 23402. Crash when mssql?bind was used incorrectly 2003-05-21 00:08:10 +00:00
Frank M. Kromann
c843ec8c6c Fixing bit support. Bug #23324 2003-04-30 21:52:37 +00:00
foobar
4a244a3889 No c++ comments 2003-03-14 17:49:44 +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
Frank M. Kromann
08b788dd44 Bug #20426. Convert SMALLDATETIME correct 2003-02-11 01:24:07 +00:00
Derick Rethans
f35f5f56c4 - Whitespace fixes 2003-02-09 12:15:05 +00:00
Frank M. Kromann
da56457eec cleanup variable initializations 2003-02-09 09:39:53 +00:00
Frank M. Kromann
9c161984a8 Fixing coredump when no php.ini file is used 2003-02-09 08:33:40 +00:00
Frank M. Kromann
eca4eb4522 MFB 2003-02-09 07:50:56 +00:00
Frank M. Kromann
62d42c2425 Bug #21707 problem with real 2003-02-09 07:18:02 +00:00
Ilia Alshanetsky
453368afdf Removed pointless checks. 2003-01-30 02:33:16 +00:00
Ilia Alshanetsky
aebb39b014 Changed php_error to php_error_docref.
Thanks to Marcus Börger for writing a script that significantly simplifies
this process.
2003-01-18 21:31:11 +00:00
Ilia Alshanetsky
e2868b5788 Removed pointless memory allocation checks. 2003-01-18 19:41:56 +00:00
Frank M. Kromann
874cddd4ae Release skiped results. This will free memory on the server.
Make mssql_execute work for stored procedures with and without returning result sets
2003-01-12 06:28:41 +00:00
Frank M. Kromann
16cda12728 Fixing copy and paste errors 2003-01-10 19:33:31 +00:00
Frank M. Kromann
c2e7158712 Avoid warnings when running stored procedures returning multiple results
before setting output and return values.
Additional results can be skipped by the optional parameter to mssql_execute
2003-01-10 19:23:36 +00:00
Frank M. Kromann
8e0535bcd5 Adding extended checks for where FreeTDS is installed 2003-01-09 22:35:16 +00:00
Frank M. Kromann
b33fe2b2c6 Use the correct link when checking for more results on stored procedures 2003-01-09 08:19:41 +00:00
Frank M. Kromann
6660f8ae4e Restire BC for mssql_execute(). This will not break the new feature for handling
multiple results from a single stired procedure.
Adding mssql_free_statement()
2003-01-09 08:00:07 +00:00
Frank M. Kromann
392e5013b4 changed from LVAL to RESVAL macro 2003-01-09 02:44:44 +00:00
Frank M. Kromann
7cd7cad1b5 Changed global data type to avoid problems with initialization 2003-01-08 23:19:54 +00:00
Frank M. Kromann
1638ddd4c2 Making the mssql extension work when build as a shared object 2003-01-07 05:19:48 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Derick Rethans
e76d0043da - Align mssql comment and clarify DBA handler selection 2002-12-30 08:55:21 +00:00
Frank M. Kromann
e93a1a92ec Fixing WIn32 build after adding support for FreeTDS 2002-12-16 22:44:08 +00:00