mysql efforts...

This commit is contained in:
Brad Arant committed 2024-09-18 16:52:08 -07:00
1 parent 3ba81a7d0a
commit 7453db9bd9
12 files changed
+120 -13

No files matched your search

+14 -2
View File
@@ -1,10 +1,11 @@
#ifndef __mysql_h__
#define __mysql_h__
#ifndef ____mysql_h__
#define ____mysql_h__
#include "Tag.h"
#include "ZString.h"
#include "MString.h"
#include <sstream>
#include <mysql/mysql.h>
namespace jet {
@@ -12,7 +13,18 @@ namespace jet {
public:
__mysql(coreutils::ZString &in, coreutils::MString &parent, Global &global);
~__mysql();
void query(coreutils::MString query);
private:
MYSQL *mysql;
MYSQL_RES *result;
MYSQL_ROW row;
unsigned long *fieldLength;
unsigned int qFields;
coreutils::MString sessionId;
};
}