One of our clients wrote this small piece of code as part of a larger architecture of code and noticed that for some reason, on their server, there is one line of code that gets stuck.
They are running MIPro v12.5.1 on the machine.
The code gets stuck during the COMMIT line at the end.
I tested this code on my machine, on their dev machine, and on their production server. It is only causing problems on the server and only in one case.
If I run the code on my machine (MIPro v17) or on their dev machine (MIPro v12.5.1), the code executes in any way, no problems.
On the server however, I can run it in the MapBasic window within MIPro, I can run it through the Tools menu after I add it. No problem. But when I try to double click on the MBX in the folder, it gets stuck while trying to perform the commit. This is a problem because the code is meant to be activated by other code and gets stuck.
I have attached some screenshots with my explanation and the code used.