yeah, i understand a little the SqlSession::PerThread set sPerThread thread__ SqlSession *sThreadSession; ... #ifdef _MULTITHREADED if(sPerThread) sThreadSession = &s; else #endif sGlobalSession = &s; return; i don`t see how each thread has a sThreadSession ?
thread__ SqlSession *sThreadSession; ... #ifdef _MULTITHREADED if(sPerThread) sThreadSession = &s; else #endif sGlobalSession = &s; return;
Report message to a moderator