X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..f88b8e1e0e34f1e25e86468ca271a89af4872eab:/stargazer/plugins/store/mysql/mysql_store.cpp diff --git a/stargazer/plugins/store/mysql/mysql_store.cpp b/stargazer/plugins/store/mysql/mysql_store.cpp index adb3b895..a1723efd 100644 --- a/stargazer/plugins/store/mysql/mysql_store.cpp +++ b/stargazer/plugins/store/mysql/mysql_store.cpp @@ -701,7 +701,7 @@ int MYSQL_STORE::AddUser(const std::string & login) const std::string query = "INSERT INTO users SET login='" + login + "',Note='',NAS=''"; for (int i = 0; i < USERDATA_NUM; i++) - query += ",Userdata" + x2str(i) + "=''"; + query += ",Userdata" + std::to_string(i) + "=''"; if(MysqlSetQuery(query.c_str())) {