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 » Sql(SqlSession& session) problem
Re: Sql(SqlSession& session) problem (SOLVED) [message #40321 is a reply to message #40320] Thu, 18 July 2013 18:37 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
Hello, Danny.
pfsdanny wrote on Thu, 18 July 2013 15:24

After rewrite the code, it works. So the following code that is ok in 4193 does not work in 5485.
Toggle source code


You are right, that after 4296 revision your previous code doesn't work, because of "Sql, SqlSession: operator= and copy constructors now private".

I think, you could rewrite your code as follows:
Toggle source code

where you will have DBData structure to avoid the need to copy each variable to c_db::copyFm method and no need to assign MySqlSession contents.

[Updated on: Thu, 18 July 2013 18:40]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [BUG] Memory leak in MySql package
Next Topic: MS SQL Server CE Assistance
Goto Forum:
  


Current Time: Sat Jun 07 13:34:36 CEST 2025

Total time taken to generate the page: 0.03811 seconds