You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zh...@apache.org on 2019/12/07 13:49:24 UTC
[incubator-doris] branch master updated: Fix bug of sleep (#2409)
This is an automated email from the ASF dual-hosted git repository.
zhaoc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new afd6784 Fix bug of sleep (#2409)
afd6784 is described below
commit afd6784dbbe43b8c5b605d83093427ed33b84a33
Author: 令狐少侠 <bl...@163.com>
AuthorDate: Sat Dec 7 21:49:16 2019 +0800
Fix bug of sleep (#2409)
---
be/src/exprs/utility_functions.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/exprs/utility_functions.cpp b/be/src/exprs/utility_functions.cpp
index 1c62da5..1eb2fba 100644
--- a/be/src/exprs/utility_functions.cpp
+++ b/be/src/exprs/utility_functions.cpp
@@ -36,7 +36,7 @@ BooleanVal UtilityFunctions::sleep(
if (milliseconds.is_null) {
return BooleanVal::null();
}
- usleep(milliseconds.val * 1000);
+ usleep(milliseconds.val * 1000 * 1000);
return BooleanVal(true);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org