Changeset 1420:f6c21ef02573


Ignore:
Timestamp:
01/04/10 23:39:31 (2 years ago)
Author:
niam
Branch:
default
Message:

fix compilation errors and warnings

Location:
sources
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sources/examples/db/test.cc

    r1413 r1420  
    6767            return 1; 
    6868#endif 
     69        } else { 
     70            return 1; 
    6971        } 
    7072 
  • sources/examples/db_mysql/test.cc

    r1413 r1420  
    3737    long now = tools::time::now(); 
    3838 
    39     mysql::__connection_options__ ci("test", argc>1?argv[1]:"localhost", "root", "password", "", 3306); 
    40  
    4139#ifdef MYSQL_EXT 
    4240    try { 
     41        mysql::__connection_options__ ci("test", argc>1?argv[1]:"localhost", "root", "password", "", 3306); 
     42 
    4343        mysql db(ci); 
    4444 
  • sources/src/dataBaseSqlConstructor.cc

    r1413 r1420  
    203203            dodoStringArray array; 
    204204#ifndef USE_DEQUE 
    205             array.reserve(o->size()); 
     205            array.reserve(i->size()); 
    206206#endif 
    207207 
    208208            for (;i!=j;++i) { 
    209                 array.clear(); 
    210  
    211209                o = i->begin(); 
    212210                p = i->end(); 
     
    215213                    array.push_back(o->second); 
    216214                values.push_back(array); 
     215 
     216                array.clear(); 
    217217            } 
    218218        } 
     
    233233        dodoStringArray array; 
    234234#ifndef USE_DEQUE 
    235         array.reserve(o->size()); 
     235        array.reserve(map.size()); 
    236236#endif 
    237237 
  • sources/src/ioNetworkServer.cc

    r1406 r1420  
    6161    : xexec(s), 
    6262      collectedData(this, xexec::OBJECT_IONETWORKSERVER) 
     63#else 
     64server::server(server &) 
    6365#endif 
    6466{ 
Note: See TracChangeset for help on using the changeset viewer.