CONPY-189: Windows build fix for Visual Studio 2022

- Build parameters are now written to config_win.h instead of passing
  them as command line parameters
- Fixed several compiler warnings
This commit is contained in:
Georg Richter
2021-12-21 08:16:02 +01:00
parent aaba6e2e11
commit a839827f59
5 changed files with 14 additions and 9 deletions

View File

@ -1102,7 +1102,7 @@ MrdbCursor_execute_text(MrdbCursor *self, PyObject *args)
db= self->connection->mysql;
Py_BEGIN_ALLOW_THREADS;
rc= mysql_send_query(db, statement, statement_len);
rc= mysql_send_query(db, statement, (long)statement_len);
Py_END_ALLOW_THREADS;
if (rc)