db_bridge/mysql_db.cpp
changeset 14 862d63715611
parent 12 9f0ce4eaa1ce
child 15 5a0ca1f9a2f1
equal deleted inserted replaced
13:2640a7fd96ca 14:862d63715611
    30     }
    30     }
    31 
    31 
    32     return true;
    32     return true;
    33 }
    33 }
    34 
    34 
    35 std::vector < std::vector<std::string> >MySQL_DB::query (std::string sql_string)
    35 Abstract_DB::DB_RESULT MySQL_DB::query (std::string sql_string)
    36 {
    36 {
    37     std::vector <std::string> vec;
    37     Abstract_DB::DB_ROW vec;
    38     std::vector < std::vector <std::string> >rows;
    38     Abstract_DB::DB_RESULT rows;
    39     MYSQL_ROW row;
    39     MYSQL_ROW row;
    40     int i;
    40     int i;
    41 
    41 
    42     /*
    42     /*
    43      * send SQL query
    43      * send SQL query