28.04.2013, 14:45
Just switched from an old R7 to R17. Server now crashes when tries to perform an insert query on a non-existing table.
I don't know if it's a bug or made by design to prevent data loss (which I doubt is the case), but I'm here to report it doesn't give me any notice about an error. Logging is set to log only errors and warnings and the log file is empty. Also OnQueryError doesn't get triggered.
I saw the problem when I enabled debug logging, the last line in the log was "Executing query INSERT INTO ..." so I realized what was the problem.
server_log.txt says the following:
I don't know if it's a bug or made by design to prevent data loss (which I doubt is the case), but I'm here to report it doesn't give me any notice about an error. Logging is set to log only errors and warnings and the log file is empty. Also OnQueryError doesn't get triggered.
I saw the problem when I enabled debug logging, the last line in the log was "Executing query INSERT INTO ..." so I realized what was the problem.
server_log.txt says the following:
Code:
[28/04/2013 - 16:53:00] [debug] Server crashed due to an unknown error [28/04/2013 - 16:53:00] [debug] System backtrace: [28/04/2013 - 16:53:00] [debug] #0 7164732f in ?? () from C:\Windows\system32\MSVCR100.dll [28/04/2013 - 16:53:00] [debug] #1 71647368 in ?? () from C:\Windows\system32\MSVCR100.dll [28/04/2013 - 16:53:00] [debug] #2 71d9888f in ?? () from E:\...\plugins\mysql-r17.DLL [28/04/2013 - 16:53:00] [debug] #3 71d9b7bb in ?? () from E:\...\plugins\mysql-r17.DLL [28/04/2013 - 16:53:00] [debug] #4 75dd33aa in ?? () from C:\Windows\syswow64\kernel32.dll [28/04/2013 - 16:53:00] [debug] #5 77489ef2 in ?? () from C:\Windows\SysWOW64\ntdll.dll [28/04/2013 - 16:53:00] [debug] #6 77489ec5 in ?? () from C:\Windows\SysWOW64\ntdll.dll