| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | September 29 2008 7:08pm |
| Subject: | Re: Bug: cannot insert a Null<sql_blob> | ||
| View as plain text | |||
On Sep 28, 2008, at 7:09 PM, Russell Robinson wrote: > The offending line is this: > Null<sql_blob>, data); > > If I change it to this: > sql_blob, data) > > it compiles. Null<> is not a transparent wrapper. By adding the wrapper, you have added an additional layer of indirection: sql_blob a; Null<sql_blob> b; cout << a.length() << endl; cout << b.data.length() << endl; You're probably not accessing the members of SSQLS.data through this second "data" layer.
| Thread | ||
|---|---|---|
| • Bug: cannot insert a Null<sql_blob> | Russell Robinson | 29 Sep |
| • Re: Bug: cannot insert a Null<sql_blob> | Warren Young | 29 Sep |
