From: Warren Young Date: April 30 2010 6:42am Subject: Re: create a Null field List-Archive: http://lists.mysql.com/plusplus/8931 Message-Id: <4BDA7BC4.5050102@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/29/2010 11:21 PM, Andrej van der Zee wrote: > > mysqlpp::Null db_host_id(0); > if (h) > db_host_id.data = h->_db_host_id; > else > db_host_id.is_null = true; db_host_id = h ? h->_db_host_id : mysqlpp::null;