mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
fix parsing Fixed-Length Integer case 255 and parse_ok_packet()
This commit is contained in:
@@ -183,7 +183,7 @@ void mysql_callback(WFMySQLTask *task)
|
||||
fprintf(stderr, " __________ ROW END __________\n");
|
||||
}
|
||||
}
|
||||
else if (cursor.get_cursor_status() == MYSQL_PACKET_OK)
|
||||
else if (cursor.get_cursor_status() == MYSQL_STATUS_OK)
|
||||
{
|
||||
fprintf(stderr, " OK. %llu ", cursor.get_affected_rows());
|
||||
if (cursor.get_affected_rows() == 1)
|
||||
|
||||
Reference in New Issue
Block a user