houxiao
2017-01-04 58da7275a659c26b6a1fd9ec07e76f4cf521375e
RtspFace/demo/src/db/main.cpp
@@ -12,8 +12,8 @@
   my_db mydb={"root","Basic@2017","localhost","demo",3306};
   
   DBuntil dbu = DBuntil(mydb);
   person p={,"test"};
   if(dbu.db_add(i,p)){
   person p={0,"test"};
   if(dbu.db_register(i,&p)){
      cout<<"add succeed"<<endl;
   }else
      cout<<"add false"<<endl;