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 #40320 is a reply to message #40317] Thu, 18 July 2013 15:24 Go to previous messageGo to previous message
pfsdanny is currently offline  pfsdanny
Messages: 26
Registered: December 2011
Location: Hong Kong
Promising Member
After rewrite the code, it works. So the following code that is ok in 4193 does not work in 5485.


class c_db : public MySqlSession{
public:
typedef c_db CLASSNAME;
String username;
String password;
String database;
String host;
String collate;
String lockId;
int port;
bool connect(bool prompt=true);
void disconnect();

void copyFm(c_db db); <<--- this line cause error !
void copyFm(String xhost, String xdatabase, String xusername, String xpassword, String xcollate, int sport); <<-- change to this one and no problems !

bool getlock(String name);
bool releaselock();
c_db();
~c_db();
};
 
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: Sun Jun 08 01:03:23 CEST 2025

Total time taken to generate the page: 0.12771 seconds