]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/mysql/mysql_store.cpp
Use std::jthread and C++17.
[stg.git] / projects / stargazer / plugins / store / mysql / mysql_store.cpp
index c441a7081ae658d96f3b4428774bc925e583ebdb..a4ee430930b95b9b4a9602ea3747edcb7ce12252 100644 (file)
@@ -265,7 +265,7 @@ if (!(result=mysql_list_tables(sock,str.c_str() )))
     errorStr = "Couldn't get tables list With error:\n";
     errorStr += mysql_error(sock);
     mysql_close(sock);
-    return -1;
+    return false;
 }
 
 my_ulonglong num_rows =  mysql_num_rows(result);