head 1.3; access; symbols pkgsrc-2025Q4:1.2.0.110 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.108 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.106 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.104 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.102 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.100 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.98 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.96 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.94 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.92 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.90 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.88 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.86 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.84 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.82 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.80 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.78 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.76 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.74 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.72 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.70 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.68 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.64 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.44 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.66 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.62 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.60 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.58 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.56 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.54 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.52 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.50 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.48 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.46 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.42 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.40 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.38 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.36 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.34 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.32 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.30 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.28 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.26 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.24 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.22 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.20 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.18 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.16 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.14 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.12 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.10 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.8 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.4 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.2 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.1.0.6 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.4 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.2; locks; strict; comment @# @; 1.3 date 2026.01.25.12.08.39; author adam; state dead; branches; next 1.2; commitid 6T2HDe87rBVmNLrG; 1.2 date 2012.04.26.12.57.51; author obache; state Exp; branches; next 1.1; 1.1 date 2011.10.14.04.14.36; author dholland; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2011.10.14.04.14.36; author tron; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2011.10.15.09.42.36; author tron; state Exp; branches; next ; desc @@ 1.3 log @py-mssql: removed; last update: 2009-04-28 @ text @$NetBSD: patch-mssqldbmodule_c,v 1.2 2012/04/26 12:57:51 obache Exp $ Fix build with latest freetds, which now provides BYTE and LPBYTE. --- mssqldbmodule.c.orig 2012-04-26 12:47:37.000000000 +0000 +++ mssqldbmodule.c @@@@ -83,9 +83,6 @@@@ typedef int Py_ssize_t; #define SQLVARCHAR SYBVARCHAR #define SQLCHAR SYBCHAR #define SQLTEXT SYBTEXT - -#define BYTE unsigned char -typedef unsigned char *LPBYTE; #endif #define TYPE_STRING 1 @ 1.2 log @Update py-mssql to 1.0.2. Based on maintainer update request per PR 46084. (let to register egg-info, set LICENSE, fix DOS style EOL of some files) Changes since 0.8.0: Tue Apr 23 23:00:00 2009 Andrzej Kukula + bugfix: fixed rare quoting bug in select_db() + feature: added 'max_conn' parameter to pymssql.connect() and _mssql.connect() which defaults to 25, thanks Daniel Watrous * nagios-plugin update - thanks Josselin Mouette : + Include a -P port option, to avoid having to passing it with the host name + Fix the encoding of the comments; utf-8 is the declared encoding of the file and must be followed + Fix a typo in the SQL syntax + Connect explicitly to the "master" database (required since 1.0.0) + Improve perfdata output. * version 1.0.2 Tue Apr 21 22:56:00 2009 Andrzej Kukula * mssqldbmodule.c: + bugfix in format_and_run_query(): query strings were sometimes overwritten with garbage due to DECREF in wrong place; thanks Igor Nazarenko + bugfix in get_result(): if a query batch contained DECLARE or possibly other T-SQL statements, no results were returned thanks Kay Schluehr + bugfix in execute_scalar(): check if there are any columns in result + bugfix: check for FAIL after each dbnextrow() + feature: Add support for bigint - #2660972; thanks Alexandr Zamaraev * pymssql.c: + bugfix in execute(): if execute is called without second argument, don't treat '%' in query string as formatting character; restored compatibility with common sense and with pymssql < 1.0.0; thanks Corey Bertram , Wes McKinney + feature: it is possible to specify 'as_dict' to pymssql.connect and rows will be returned as dictionaries instead of tuples; thanks Daniel Watrous Thu Jan 30 18:36:00 2009 Andrzej Kukula * mssqldbmodule.c: + Pyssize_t error on x64 - thanks Josselin Mouette + critical charset updates, thanks Josselin Mouette + more Py_ssize_t updates, further code cleanups + fixed some compiler warnings * pymssql.py: + execute() failed, thanks Josselin Mouette + critical charset updates, thanks Josselin Mouette + removed warnings, users don't want them and they are not 'MUST' priority in DB-API spec * nagios-plugin: introducted Nagios plugin, thanks Julien Blache and Josselin Mouette * version 1.0.1 Thu Jan 29 19:23:00 2009 Andrzej Kukula * version 1.0.0 * so many changes I'll not put them here, I'll document changes from now on. Mon Sep 25 20:18:00 2006 Andrzej Kukula * setup.py: fix for Fink (http://Fink.SF.Net) under OS X (thanks Terrence Brannon ) @ text @d1 1 a1 1 $NetBSD: patch-mssqldbmodule_c,v 1.1 2011/10/14 04:14:36 dholland Exp $ @ 1.1 log @Fix build with current freetds. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- mssqldbmodule.c~ 2006-09-22 19:44:17.000000000 +0000 d7 4 a10 4 @@@@ -67,9 +67,6 @@@@ #define SQLVARCHAR SYBVARCHAR #define SQLCHAR SYBCHAR #define SQLTEXT SYBTEXT d12 2 a13 2 - #define BYTE unsigned char - typedef unsigned char *LPBYTE; d16 1 a16 1 #define TYPE_STRING 1 @ 1.1.2.1 log @file patch-mssqldbmodule_c was added on branch pkgsrc-2011Q3 on 2011-10-15 09:42:36 +0000 @ text @d1 16 @ 1.1.2.2 log @Pullup ticket #3558 - requested by dholland databases/py-mssql: build fix Revisions pulled up: - databases/py-mssql/distinfo 1.4 - databases/py-mssql/patches/patch-mssqldbmodule_c 1.1 --- Module Name: pkgsrc Committed By: dholland Date: Fri Oct 14 04:14:36 UTC 2011 Modified Files: pkgsrc/databases/py-mssql: distinfo Added Files: pkgsrc/databases/py-mssql/patches: patch-mssqldbmodule_c Log Message: Fix build with current freetds. @ text @a0 16 $NetBSD$ Fix build with latest freetds, which now provides BYTE and LPBYTE. --- mssqldbmodule.c~ 2006-09-22 19:44:17.000000000 +0000 +++ mssqldbmodule.c @@@@ -67,9 +67,6 @@@@ #define SQLVARCHAR SYBVARCHAR #define SQLCHAR SYBCHAR #define SQLTEXT SYBTEXT - - #define BYTE unsigned char - typedef unsigned char *LPBYTE; #endif #define TYPE_STRING 1 @