Commit 331acb05 authored by jan.koester's avatar jan.koester
Browse files

first buildable version

parent ab794f11
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -48,7 +48,14 @@ dbpp::SQL::~SQL()
}

dbpp::SQL& dbpp::SQL::operator<<(const SQL &sql){
    if(!_SQL.empty() && _SQL.back()=='\0')
        _SQL.pop_back();

    std::copy(sql._SQL.begin(),sql._SQL.end(),std::back_inserter(_SQL));

    if(_SQL.back()!='\0')
        _SQL.push_back('\0');

    return *this;
}