List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:November 23 2004 10:29pm
Subject:Re: Segmentation fault
View as plain text  
cgifalco wrote:

> If I comment these lines
> //                    << setw(15) << res.types(i).sql_name() //line 40
> //                    << setw(20) << res.types(i).name()  //line 43

That isn't what appears on lines 40 and 43 in 1.7.23.  That makes me 
wonder, have you modified these samples?

> and if I change
>       if (res.types(0) == typeid(string)) { //line 49
> to
>       if (res.types(0).base_type() == typeid(string)) {

I don't see why that would affect anything.

Instead of calling base_type(), what happens if you call c_type() instead?
Thread
Segmentation faultcgifalco20 Nov
  • Re: Segmentation faultWarren Young21 Nov
    • Re: Segmentation faultcgifalco21 Nov
      • Re: Segmentation faultWarren Young22 Nov
        • Re: Segmentation faultcgifalco23 Nov
          • Re: Segmentation faultWarren Young23 Nov
            • Re: Segmentation faultcgifalco24 Nov