seperete create_tables
This commit is contained in:
@@ -117,6 +117,7 @@ void call(int sock, sockaddr_in newSocketInfo)
|
||||
int main()
|
||||
{
|
||||
sql::init();
|
||||
sql::create_tables();
|
||||
std::thread t(checker);
|
||||
// Bind the server to a port.
|
||||
int err = TcpSocket::listent("0.0.0.0", serverPort, call);
|
||||
|
Reference in New Issue
Block a user