Skip to content

Commit

Permalink
Deprecate the DRT Windows-specific versions of ODBC. (#15560)
Browse files Browse the repository at this point in the history
* Deprecate the DRT Windows-specific versions of ODBC as ODBC is supported on all major OSes. Furthermore Database access interfaces are never appropriate in the Runtime.
* Remove deprecations and add documentation notes pointing to the non-Windows enabled bindings in etc.c.odbc.
  • Loading branch information
LightBender authored Aug 31, 2023
1 parent 243aaef commit a781e0f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions druntime/src/core/sys/windows/sql.d
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
/**
$(RED Warning:
This binding is out-of-date and does not allow use on non-Windows platforms. Use `etc.c.odbc.sql` instead.)
* Windows API header module
*
* Translated from MinGW Windows headers
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_sql.d)
*/

module core.sys.windows.sql;
version (Windows):

Expand Down
4 changes: 4 additions & 0 deletions druntime/src/core/sys/windows/sqlext.d
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
/**
$(RED Warning:
This binding is out-of-date and does not allow use on non-Windows platforms. Use `etc.c.odbc.sqlext` instead.)
* Windows API header module
*
* Translated from MinGW Windows headers
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_sqlext.d)
*/

module core.sys.windows.sqlext;
version (Windows):

Expand Down
4 changes: 4 additions & 0 deletions druntime/src/core/sys/windows/sqltypes.d
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
/**
$(RED Warning:
This binding is out-of-date and does not allow use on non-Windows platforms. Use `etc.c.odbc.sqltypes` instead.)
* Windows API header module
*
* Translated from MinGW Windows headers
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_sqltypes.d)
*/

module core.sys.windows.sqltypes;
version (Windows):

Expand Down
4 changes: 4 additions & 0 deletions druntime/src/core/sys/windows/sqlucode.d
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
/**
$(RED Warning:
This binding is out-of-date and does not allow use on non-Windows platforms. Use `etc.c.odbc.sqlucode` instead.)
* Windows API header module
*
* Translated from MinGW Windows headers
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_sqlucode.d)
*/

module core.sys.windows.sqlucode;
version (Windows):

Expand Down

0 comments on commit a781e0f

Please sign in to comment.