Skip to content

Instantly share code, notes, and snippets.

View lgh88666's full-sized avatar
🎯
Focusing

cons_dragon lgh88666

🎯
Focusing
  • ChengDu
  • 06:45 (UTC +08:00)
View GitHub Profile
@lgh88666
lgh88666 / MySQLConnect.cpp
Created September 26, 2025 08:43
喷码机
#include "MySQLConnect.h"
#include <stdexcept> // ���� std::runtime_error
void MySqlConnect::freeResult()
{
if (m_result)
{
mysql_free_result(m_result);
m_result = nullptr;
m_num_fields = 0; // ������ͷ�ʱ������Ҳ����