sql_updates.sql updated to put semi colon at end of query

Added semi colon to end of query to make it easy to source in to other DB's
This commit is contained in:
Image 2020-03-10 11:19:17 -04:00
parent f95d9f7f11
commit d9c52bbf64

View file

@ -233,6 +233,7 @@ MYSQL_RES* Query::RunQuery2(string in_query, QUERY_TYPE type){
FILE* pFile;
pFile = fopen("sql_updates.sql", "a+");
fwrite(query.c_str(), 1, query.length(), pFile);
fwrite(";", sizeof(char), 1, pFile);
fwrite("\n", sizeof(char), 1, pFile);
fclose(pFile);
}