This commit is contained in:
blue-lemon0104
2026-04-07 15:45:41 +08:00
parent 0120fa9ce3
commit 46fa58f6f8
27 changed files with 527 additions and 2818 deletions

View File

@@ -25,6 +25,7 @@ using namespace util;
#ifndef NDEBUG // DEBUG
#include <fstream>
#include "en_config.h"
extern "C"
{
@@ -36,7 +37,7 @@ class CalledCounter {
public:
CalledCounter() {
char buf[64];
sprintf(buf, "/etc/encryptsql/UDFcalled_by%d.count", (int) getpid());
sprintf(buf, ENCRYPTSQL_CONFIG_DIR "/UDFcalled_by%d.count", (int) getpid());
ofstream fout(buf);
fout.close();