freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] Setting `login->use_utf16` With DBLIB Using Sybdb.h
- From: Ken Collins <ken AT metaskills.net>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] Setting `login->use_utf16` With DBLIB Using Sybdb.h
- Date: Sun, 24 Apr 2016 15:58:55 -0400
So I saw the news about `use utf-16 = true` via the conf file for 0.95 and
how this is the default in 1.0 release candidate. However, I was wondering if
there is a way I can set this long in bit using either an environment
variable or some other means when compiling against sybdb.h?
- Thanks in advance,
Ken Collins
>From jan.blom AT peopleinteractive.se Sun Apr 24 18:23:09 2016
Return-Path: <jan.blom AT peopleinteractive.se>
X-Original-To: freetds AT lists.ibiblio.org
Delivered-To: freetds AT lists.ibiblio.org
Received: by lists.ibiblio.org (Postfix, from userid 20217)
id 9BF9AB69; Sun, 24 Apr 2016 18:23:09 -0400 (EDT)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
mailman1.ibiblio.org
X-Spam-Level:
X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,
DKIM_VALID, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham
version=3.3.1
Received: from emea01-am1-obe.outbound.protection.outlook.com
(mail-am1on0087.outbound.protection.outlook.com [157.56.112.87])
by lists.ibiblio.org (Postfix) with ESMTP id A695C6F1
for <freetds AT lists.ibiblio.org>; Sun, 24 Apr 2016 18:23:08 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=PEOPLEINTERACTIVE.onmicrosoft.com; s=selector1-peopleinteractive-se;
h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version;
bh=Na74iNS0bOKwUD6DOLeCRINfQ6md2e7WUxADt6rFHeU=;
b=UxGV+WsKemlAGcheOnt7k3Db8QFWwy78mot79aZMH3/oTHabGH8NVXbO/LMhhhddrUgm7Hq7vsOB+2Kr+MQHhb5H1nvp6vZA4dNqUQrTaDGxb0xt5xyB+pcsXYg46XDJDpkCKRV1NF0JOGl6kSBvqy1mBmw1sUXzGCSYvYXhf1AReceived:
from DB3PR05MB428.eurprd05.prod.outlook.com (10.141.7.20) by
DB3PR05MB428.eurprd05.prod.outlook.com (10.141.7.20) with Microsoft
SMTP Server (TLS) id 15.1.453.26; Sun, 24 Apr 2016 22:23:07 +0000
Received: from DB3PR05MB428.eurprd05.prod.outlook.com ([10.141.7.20]) by
DB3PR05MB428.eurprd05.prod.outlook.com ([10.141.7.20]) with mapi id
15.01.0453.032; Sun, 24 Apr 2016 22:23:07 +0000
From: Jan Blom <jan.blom AT peopleinteractive.se>
To: "freetds AT lists.ibiblio.org" <freetds AT lists.ibiblio.org>
Thread-Topic: osql exits with error on Linux
Thread-Index: AdGed95aJuyCcuW9TC2e0VSnMnXdKg�te: Sun, 24 Apr 2016 22:23:06
+0000
Message-ID:
<DB3PR05MB4285966061245329D593AD6EE610 AT DB3PR05MB428.eurprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: lists.ibiblio.org; dkim=none (message not signed)
header.d=none;lists.ibiblio.org; dmarc=none action=none
header.from=peopleinteractive.se;
x-originating-ip: [81.230.208.75]
x-ms-office365-filtering-correlation-id: d4040844-524b-4266-0bf1-08d36c8f02c1
x-microsoft-exchange-diagnostics: 1; DB3PR05MB428;
5:ng0wGGIWFLtZPoE12m2oaNyvHh/eVUS0ccq4k0I03OVtDaNc3T3tYOkXwFo8CVJ/Us4F65z3G7fiJGW4BPELCEXIIIfuwL+bkSTambSHL4s1qU40N7ndyLh0ADeICIxGm9t+oGHkChtPlVhElv9KIg==;
24:ta/Qp70JTVp2DMHDspHprxsalbdEZ0fjZgAsP8JWzQc79PakMOEaKgKjoty388caaT5cIr1R0ufT87W8uI2l+YX/TcPvSSmV0Gjgu5bPKxkx-microsoft-antispam:
UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB3PR05MB428;
x-microsoft-antispam-prvs:
<DB3PR05MB428A65634AC18FA96DE0381EE610 AT DB3PR05MB428.eurprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
RULEID:(102415293)(102615271)(9101521026)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);
SRVR:DB3PR05MB428; BCL:0; PCL:0; RULEID:; SRVR:DB3PR05MB428;
x-forefront-prvs: 09222B39F5
x-forefront-antispam-report: SFV:NSPM;
SFS:(10009020)(6009001)(33656002)(2900100001)(16236675004)(66066001)(77096005)(5890100001)(74482002)(15975445007)(19625215002)(87936001)(11100500001)(122556002)(558084003)(10400500002)(2501003)(5003600100002)(189998001)(107886002)(2351001)(76576001)(5004730100002)(6116002)(790700001)(50986999)(99936001)(54356999)(3660700001)(450100001)(110136002)(229853001)(92566002)(81166005)(5008740100001)(19300405004)(1096002)(86362001)(3280700002)(3846002)(9686002)(1220700001)(102836003)(19580395003)(2906002)(19609705001)(5002640100001)(586003)(74316001);
DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR05MB428;
H:DB3PR05MB428.eurprd05.prod.outlook.com; FPR:; SPF:None;
MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: multipart/mixed;
boundary="_004_DB3PR05MB4285966061245329D593AD6EE610DB3PR05MB428eurprd_"
MIME-Version: 1.0
X-OriginatorOrg: peopleinteractive.se
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2016 22:23:06.6700 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: c39bd0f9-183a-4bfd-84a1-c763183aa644
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR05MB428
X-Mailman-Approved-At: Mon, 25 Apr 2016 02:29:22 -0400
X-Content-Filtered-By: Mailman/MimeDel 2.1.20
Subject: [freetds] osql exits with error on Linux
X-BeenThere: freetds AT lists.ibiblio.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: FreeTDS Development Group <freetds.lists.ibiblio.org>
List-Unsubscribe: <http://lists.ibiblio.org/mailman/options/freetds>,
<mailto:freetds-request AT lists.ibiblio.org?subject=unsubscribe>
List-Archive: <https://lists.ibiblio.org/sympa/arc/freetds/>
List-Post: <mailto:freetds AT lists.ibiblio.org>
List-Help: <mailto:sympa AT lists.ibiblio.org?subject=HELP>
List-Subscribe: <http://lists.ibiblio.org/mailman/listinfo/freetds>,
<mailto:freetds-request AT lists.ibiblio.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Apr 2016 22:23:09 -0000
--_004_DB3PR05MB4285966061245329D593AD6EE610DB3PR05MB428eurprd_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello,
The osql script fails to execute on CentOS (tested on release 6 & 7). We need
to add "-F" to grep to avoid interpreting patterns as a reg exp. Patch
attached.
Best regards,
Jan Blom
--_004_DB3PR05MB4285966061245329D593AD6EE610DB3PR05MB428eurprd_
Content-Type: text/plain; name="osql_patch.txt"
Content-Description: osql_patch.txt
Content-Disposition: attachment; filename="osql_patch.txt"; sizeH7;
creation-date="Sun, 24 Apr 2016 22:22:32 GMT";
modification-date="Sun, 24 Apr 2016 22:22:32 GMT"
Content-Transfer-Encoding: base64
LS0tIGZyZWV0ZHMtMS4wcmMzL3NyYy9hcHBzL29zcWwJMjAxNS0wMS0yNiAyMTozMjo0MS4wMDAw
MDAwMDAgKzAxMDANCisrKyBmcmVldGRzLTEuMHJjM19wYXRjaGVkL3NyYy9hcHBzL29zcWwJMjAx
Ni0wNC0yNSAwMDowNTowNy40NTU1NTg5MDAgKzAyMDANCkBAIC0xMjAsNyArMTIwLDcgQEANCiAJ
CWNvbnRpbnVlDQogCWZpDQogDQotCWdyZXAgIlske0RTTn1dIiAkRiA+IC9kZXYvbnVsbA0KKwln
cmVwIC1GICJbJHtEU059XSIgJEYgPiAvZGV2L251bGwNCiANCiAJaWYgWyAkPyAtZXEgMCBdDQog
CXRoZW4NCkBAIC0yODYsNyArMjg2LDcgQEANCiAJCWZpDQogDQogCQllY2hvICJsb29raW5nIGZv
ciBbJHtURFNfU0VSVkVSfV0gaW4gJEYiDQotCQlncmVwICJbJHtURFNfU0VSVkVSfV0iICRGID4g
L2Rldi9udWxsDQorCQlncmVwIC1GICJbJHtURFNfU0VSVkVSfV0iICRGID4gL2Rldi9udWxsDQog
DQogCQlpZiBbICQ/IC1lcSAwIF0NCiAJCXRoZW4NCg=
--_004_DB3PR05MB4285966061245329D593AD6EE610DB3PR05MB428eurprd_--
-
[freetds] Setting `login->use_utf16` With DBLIB Using Sybdb.h,
Ken Collins, 04/24/2016
- Re: [freetds] Setting `login->use_utf16` With DBLIB Using Sybdb.h, Frediano Ziglio, 04/25/2016
Archive powered by MHonArc 2.6.24.