I noticed that this same tests causes an assertion failure in MySQL, in net_end_statement() file: protocol.cc, line 416 (in MySQL 5.1.35):
case Diagnostics_area::DA_EMPTY: default: DBUG_ASSERT(0); net_send_ok(thd, thd->server_status, thd->total_warn_count, 0, 0, NULL); break; }
I noticed that this same tests causes an assertion failure in MySQL, in net_end_statement() file: protocol.cc, line 416 (in MySQL 5.1.35):
case Diagnostics_ area::DA_ EMPTY: send_ok( thd, thd->server_status, thd->total_ warn_count,
default:
DBUG_ASSERT(0);
net_
0, 0, NULL);
break;
}