From a522a9f76f1b415c03764b5322a47ccd49fa6ec8 Mon Sep 17 00:00:00 2001 From: Kiritow <1362050620@qq.com> Date: Tue, 12 Sep 2017 13:48:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'2.1.cpp'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2.1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2.1.cpp b/2.1.cpp index 71385a1..db8ca21 100644 --- a/2.1.cpp +++ b/2.1.cpp @@ -32,12 +32,12 @@ int main() }); conn.exec("use bigdata5",nullptr); - conn.exec("select job_city,salary from lagou_job",[&](MySQLResult& res) + conn.exec("select job_city,salary from pages",[&](MySQLResult& res) { res.stepRow([&](char** val,unsigned long* len) { string city(val[0]); - cash_pack pk=ParseCash(val[1]); + cash_pack pk=ParseCashX(val[1]); mp[Trim(city)].push_back(pk); }); });