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:
parent
f95d9f7f11
commit
d9c52bbf64
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ MYSQL_RES* Query::RunQuery2(string in_query, QUERY_TYPE type){
|
||||||
FILE* pFile;
|
FILE* pFile;
|
||||||
pFile = fopen("sql_updates.sql", "a+");
|
pFile = fopen("sql_updates.sql", "a+");
|
||||||
fwrite(query.c_str(), 1, query.length(), pFile);
|
fwrite(query.c_str(), 1, query.length(), pFile);
|
||||||
|
fwrite(";", sizeof(char), 1, pFile);
|
||||||
fwrite("\n", sizeof(char), 1, pFile);
|
fwrite("\n", sizeof(char), 1, pFile);
|
||||||
fclose(pFile);
|
fclose(pFile);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue