From 13ab3d6db66bef485afda3278ed7ca6d14c735c8 Mon Sep 17 00:00:00 2001 From: pans <pans@454eff88-639b-444f-9e54-f578c98de674> Date: 星期四, 05 一月 2017 16:56:46 +0800 Subject: [PATCH] --- RtspFace/demo/src/DBuntil.h | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/RtspFace/demo/src/DBuntil.h b/RtspFace/demo/src/DBuntil.h index 9585724..c335bb6 100644 --- a/RtspFace/demo/src/DBuntil.h +++ b/RtspFace/demo/src/DBuntil.h @@ -23,12 +23,12 @@ public: DBuntil(); - DBuntil(my_db mydb); ~DBuntil(); bool db_search(person *p); bool db_register(person *p); - + bool db_init(my_db mydb); + MYSQL myCont; MYSQL_RES *result; MYSQL_ROW sql_row; @@ -37,7 +37,6 @@ bool db_add(person *per); int db_update(); bool db_select(person *per); - char sql[1024]; int res; -- Gitblit v1.8.0