1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

fix (bug #10303: Misleading Last_query_cost value).

This commit is contained in:
ramil@mysql.com
2005-09-06 15:00:35 +05:00
parent c601bb87f8
commit 68acf8fdea
5 changed files with 43 additions and 0 deletions

View File

@@ -1178,6 +1178,7 @@ sql mode: 0x%lx, sort len: %lu, conncat len: %lu",
#endif /*!EMBEDDED_LIBRARY*/
thd->limit_found_rows = query->found_rows();
thd->status_var.last_query_cost= 0.0;
BLOCK_UNLOCK_RD(query_block);
DBUG_RETURN(1); // Result sent to client