summaryrefslogtreecommitdiffstats
path: root/src/server/database.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/database.hpp')
-rw-r--r--src/server/database.hpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/server/database.hpp b/src/server/database.hpp
index 8be6f06..b4b731d 100644
--- a/src/server/database.hpp
+++ b/src/server/database.hpp
@@ -47,19 +47,7 @@ public:
const char *unix_socket = 0, unsigned long flags = 0);
AnswerDB *QuerySelect(const char *sql);
+ int QueryInsert(const char *sql);
};
-#endif
-
-/*
-
-надо как-то вызывать ~AnswerDB!!
-
-Answer DB *ans = server->Query("SELECT password FROM users WHERE name = '%s' ONLY ONE", strlen(..))
-DB_ROW *row = ans->GetNextRow();
-if(row)
- name = row[0];
- password = row[1];
-
-
-*/ \ No newline at end of file
+#endif \ No newline at end of file