Changeset 780

Show
Ignore:
Timestamp:
01/12/10 23:52:24 (2 months ago)
Author:
mclight77
Message:

Fix #431

Location:
trunk/src
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/mysqlquery.cpp

    r702 r780  
    420420                if (row[i]) 
    421421                  { 
    422                     if (sscanf(row[i], "%Ld", (long long*)_columns[i].dst) != 1) 
     422                    if (sscanf(row[i], "%lld", (long long*)_columns[i].dst) != 1) 
    423423                      ok = false; 
    424424                  } 
  • trunk/src/pgquery.cpp

    r708 r780  
    289289            break; 
    290290          case DBQuery::T_LONGLONG: 
    291             if (sscanf(val, "%Ld", (long long*)_columns[i].dst) != 1) 
     291            if (sscanf(val, "%lld", (long long*)_columns[i].dst) != 1) 
    292292              ok = false; 
    293293            break; 
  • trunk/src/samsldap.cpp

    r648 r780  
    1717 
    1818#include "samsldap.h" 
     19#include "debug.h" 
    1920 
    2021#ifdef USE_LDAP 
     
    3738  if (_connected) 
    3839    disconnect (); 
     40 
     41  DEBUG(DEBUG8, "Connecting to " << host << " as " << binddn); 
    3942 
    4043  string uri = "ldap://" + host;