Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Norm Brandinger (norm_brandinger)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Enhance MySQL prepare statment diagnostics
Enhance the diagnostics produced then the mysql_stmt_prepare() function fails.
For example, the unknown column that caused the failure is now provided.
ERROR:db_mysql:get_new_stmt_ctx: mysql_stmt_prepare() failed: Unknown column 'bad_column' in 'field list'
Updated the patch to add the enhanced diagnostic output for both prepare
statements located in the dbase.c file. The original patch only updated
the first prepare statement.
File Added: dbase.c.patch2