Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » fetch not reading into struct
Re: fetch not reading into struct [message #32666 is a reply to message #32664] Wed, 01 June 2011 08:51 Go to previous messageGo to previous message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 227
Registered: June 2011
Experienced Member
When I do that I get a compiler error (MSVC 2010):

error C2676: binary '[' : 'S_PUNCH_VIEW' does not define this operator or a conversion to a type acceptable to the predefined operator

If I switch it to sql[FIRST_NAME], I get "Assertion failed in e:\upp\uppsrc\Sql\Sql.cpp, line 287 0" at:

Value Sql::operator[](SqlId id) const {
	String s = ~id;
	for(int i = 0; i < cn->info.GetCount(); i++)
		if(cn->info[i].name == s)
			return operator[](i);
	NEVER(); // <-- here
	return Value();
}

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Creating a TIMESTAMP column in MySQL
Next Topic: Sqlite with U++
Goto Forum:
  


Current Time: Tue May 13 21:37:00 CEST 2025

Total time taken to generate the page: 0.03489 seconds