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