Home » U++ Library support » U++ SQL » Compile error on Linux
Compile error on Linux [message #52366] |
Sun, 15 September 2019 02:52 |
zsolt
Messages: 696 Registered: December 2005 Location: Budapest, Hungary
|
Contributor |
|
|
When compiling with NOAPPSQL, an ifdef is missing from Session.cpp.
Patch [against 2019.1]:
@@ -139,10 +139,12 @@ void SqlSession::PerThread(bool b)
{
sPerThread = b;
}
#endif
+#ifndef NOAPPSQL
+
void Sql::operator=(SqlSession& s)
{
Mutex::Lock __(sDefs);
if(this == &AppCursor()) {
#ifdef _MULTITHREADED
@@ -210,6 +212,8 @@ Sql& AppCursorR()
empty = &h;
}
return *empty;
}
+#endif
+
}
This is bad in current master / trunk also.
|
|
|
|
Goto Forum:
Current Time: Fri Apr 19 10:32:58 CEST 2024
Total time taken to generate the page: 0.03041 seconds
|