Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5(EOL), 10.0(EOL), 10.1(EOL)
-
None
Description
Does not work for me on Windows 10 (don't have another windows to check)
An easy way to reproduce is to inject a crash by using debug break intrinsic, e.g in function sleep(), like below, then start mysqld.exe * as service*, then call SELECT SLEEP(1) from the client.
diff --git a/sql/item_func.cc b/sql/item_func.cc
|
index 52575a8..5c3c396 100644
|
--- a/sql/item_func.cc
|
+++ b/sql/item_func.cc
|
@@ -4610,7 +4610,7 @@ longlong Item_func_sleep::val_int()
|
mysql_cond_t cond;
|
double timeout;
|
int error;
|
-
|
+ __debugbreak();
|
DBUG_ASSERT(fixed == 1);
|
 |
timeout= args[0]->val_real();
|