Skip Menu |
 

This queue is for tickets about the DBD-ODBC CPAN distribution.

Report information
The Basics
Id: 72805
Status: resolved
Priority: 0/
Queue: DBD-ODBC

People
Owner: Nobody in particular
Requestors: au [...] hcsd.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.31
Fixed in: 1.32_4



Subject: Tons of "HERE messages while INSERTing data
Dear DBD::ODBC developers, while INSERTing data DBD::ODBC writes tons of "HERE" messages to the console: HERE HERE HERE HERE HERE HERE ... I think this comes from dbdimp.c:3784 and may be a debugging leftover: if ((phs->param_size == 0) && (SQL_SUCCEEDED(phs->describe_param_status)) && (imp_sth->odbc_describe_parameters)) { /* SQLDescribeParam not disabled */ /* no point in believing param_size = 0 if SQLDescribeParam failed */ /* See rt 55736 */ if ((imp_dbh->driver_type == DT_SQL_SERVER_NATIVE_CLIENT) || ((strcmp(imp_dbh->odbc_dbms_name, "Microsoft SQL Server") == 0) && (phs->sql_type == SQL_WVARCHAR) && (phs->requested_type == 0))) { column_size = 0; printf("HERE\n"); } } Can you please remove this in the upcoming release? I'm using Microsoft's new Native Client for Linux (http://www.microsoft.com/download/en/details.aspx?id=28160). Database is SQL Server 2008 R2. Thank you and best regards, Stephan
From: au [...] hcsd.de
Download (untitled) / with headers
text/plain 106b
Maybe this is a duplicate of 72534 and has already been fixed. Please close this bug if you can confirm.
Download (untitled) / with headers
text/plain 336b
On Tue Nov 29 05:20:34 2011, stephan_a wrote: Show quoted text
> Maybe this is a duplicate of 72534 and has already been fixed. Please > close this bug if you can confirm.
It is a duplicate - sorry for inconvenience. Roll back to an earlier DBD::ODBC, forward to 1.32_4 or edit dbdimp.c and remove the printf. Martin -- Martin J. Evans Wetherby, UK


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.