Jump to content

Berdinard

Inactive Member
  • Posts

    66
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Berdinard

  1. Change 

     

    void CDBManager::SetLocale(const char * szLocale){
    
    
    
    
    sys_log(0, "SetLocale start  %s",szLocale );
    for (int n = 0; n < SQL_MAX_NUM; ++n)
    {
    m_mainSQL[n]->SetLocale("latin1"); 
    m_directSQL[n]->SetLocale("latin1");
    m_asyncSQL[n]->SetLocale("latin1");
    }
    sys_log(0, "End setlocale %s", szLocale);
    }

    with

     

    void CDBManager::SetLocale(const char * szLocale)
    {
    const std::string stLocale(szLocale);
    sys_log(0, "SetLocale start" );
    for (int n = 0; n < SQL_MAX_NUM; ++n)
    {
    m_mainSQL[n]->SetLocale(stLocale);
    m_directSQL[n]->SetLocale(stLocale);
    m_asyncSQL[n]->SetLocale(stLocale);
    }
    sys_log(0, "End setlocale %s", szLocale);
    }
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.