From 154dd19dfd0970c32621c4f2c93a8054a1fd0630 Mon Sep 17 00:00:00 2001 From: sakitsuki_asahi Date: Mon, 8 Sep 2025 22:13:24 +0800 Subject: [PATCH] =?UTF-8?q?MYSQL=E8=AF=AD=E5=8F=A5=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- API/register.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/register.cpp b/API/register.cpp index 16d9b1b..dd87b3b 100644 --- a/API/register.cpp +++ b/API/register.cpp @@ -127,7 +127,7 @@ int main(){ fio.close(); cancelScheduledJob(jobid); remove((webroot+"/../videodata/tmp/"+cgi.getElement("cid")->getValue()+"-jobid").c_str()); - jobid = scheduleCommand("DELETE FROM registerdata WHERE charid = \\'"+cgi.getElement("cid")->getValue()+"\\'"); + jobid = scheduleCommand("DELETE FROM registerdata WHERE charid = '"+cgi.getElement("cid")->getValue()+"'"); fio.open(webroot+"/../videodata/tmp/"+cgi.getElement("cid")->getValue()+"-jobid",std::ios::out); fio << jobid; fio.close();