Enable MSSQL Support
pcorbett - October 10, 2007 - 17:32
| Project: | Link to content |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | stBorchert |
| Status: | closed |
Jump to:
Description
This patch adjusts the linktocontent_node module to allow MSSQL Support. Specifically, it simply adjusts the ISNULL(column) MySQL/PgSQL function to "(column) IS NULL" - which is how MSSQL deals with a ISNULL test.
| Attachment | Size |
|---|---|
| linktocontent_node-mssql.patch | 1.15 KB |

#1
Hi.
Thanks for this patch. I hope you can wait until the 5.x-2.x or 6.x-1.x release is out, because I didn't want to add features to 5.x-1.x.
The next version (including 5.x-2.x) will include some new features (like pagers for the node listing, or use of the planned hook_wysiwyg_plugin(), so copying the plugins and editing plugin_reg.php isn't neccessary anymore).
thanks again and greetings,
Stefan
#2
Not a big deal. Just trying to get some of my work on MSSQL out there for integration. Nice module, BTW.
#3
moved task to new development version
#4
Thanks! Let me know if there are any issues.
#5
IS NULLis a valid statement on MySQL, too. I cannot speak for PostGreSQL, but given the new DB layer in D7 - who cares? ;)If you change the patch to use IS NULL (without a switch), I'll probably commit it.
#6
Yeah, D7 basically "NULLs" the whole IS NULL issue, so let's leave it at that. If there is demand for this little patch, I can provide one.