diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2005-07-25 13:16:14 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2005-07-25 13:16:14 +0000 |
commit | c019d23ed4baa935f41c3f8dcee5a7963b148313 (patch) | |
tree | 412f6563406f2fa4ac5ee10c4de91b1a620284ce /databases/py-mssql | |
parent | e22bf5e63a130fc191f2bb21a598d1988faee38c (diff) | |
download | ports-c019d23ed4baa935f41c3f8dcee5a7963b148313.tar.gz ports-c019d23ed4baa935f41c3f8dcee5a7963b148313.zip |
Notes
Diffstat (limited to 'databases/py-mssql')
-rw-r--r-- | databases/py-mssql/files/patch-mssqldbmodule.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/databases/py-mssql/files/patch-mssqldbmodule.c b/databases/py-mssql/files/patch-mssqldbmodule.c deleted file mode 100644 index 946f3e5c6f7c..000000000000 --- a/databases/py-mssql/files/patch-mssqldbmodule.c +++ /dev/null @@ -1,42 +0,0 @@ ---- mssqldbmodule.c.orig Thu May 5 17:32:37 2005 -+++ mssqldbmodule.c Thu May 5 17:43:36 2005 -@@ -18,9 +18,9 @@ - #include <sqlfront.h>
- #include <sqldb.h> // DB-LIB header file (should always be included)
- #else
-- #include <sybfront.h>
-- #include <sybdb.h> // DB-LIB header file (should always be included)
-- #include <dblib.h> // DB-LIB header file (should always be included)
-+ #include <tds.h>
-+ #define _FREETDS_LIBRARY_SOURCE 1
-+ #include <sybdb.h>
-
- #define SQLNUMERIC SYBNUMERIC
- #define SQLDECIMAL SYBDECIMAL
-@@ -115,7 +115,7 @@ - DBUSMALLINT line;
-
- {
-- sprintf(_mssql_query_message,"SQL Server message %ld, state %d, severity %d:\n\t%s\n", msgno, msgstate, severity, msgtext);
-+ sprintf(_mssql_query_message,"SQL Server message %ld, state %d, severity %d:\n\t%s\n", (long)msgno, msgstate, severity, msgtext);
- return(0);
- }
-
-@@ -203,7 +203,7 @@ - dberrhandle(err_handler);
- dbmsghandle(msg_handler);
- // Set port
-- tds_set_port(login->tds_login, port);
-+ //tds_set_port(login->tds_login, port);
- #endif
-
-
-@@ -757,7 +757,7 @@ - DBDATEREC di;
- char strdi[25]={0,};
- dbdatecrack(dbproc, &di, (DBDATETIME*)data);
--#ifdef MS_WIN32
-+#if 1
- sprintf(strdi, "%02d-%02d-%02d %02d:%02d:%02d",
- di.year,
- di.month+1,
|