Re: msi: Initialize string pointer to NULL

2009-11-03 Thread Nathan Gallaher
Kirill, I see what you're getting at. The valgrind error comes about when we call get_column_info in streams.c. No string is allocated for table_name there, so the pointer remains uninitialized. I am unfamiliar with the streams use case, but looking at tests/db.c:test_streamtable(), I think

msi: Initialize string pointer to NULL

2009-11-01 Thread Kirill K. Smirnov
Hi Nathan, >+haystack_table_name = NULL; > r = table->ops->get_column_info( table, i, &col_name, NULL, > NULL, &haystack_table_name ); > if( r != ERROR_SUCCESS ) I'm afraid, but this patch silences valgrind only, but does not solve