diff options
author | click <none@none> | 2010-04-20 19:51:20 +0200 |
---|---|---|
committer | click <none@none> | 2010-04-20 19:51:20 +0200 |
commit | 50ac994cf21d250c9a8a2e8f19a6d6d6ed71fba1 (patch) | |
tree | a13b583d47c657c15151d456f31b35a006db52d6 /src | |
parent | e6fbcc42cef7573a18c2f56f7081a904f62415c8 (diff) |
Revert changes done in re6b772bbb596137e7f83dabaab46fc501fb6a8f5 - reason: breaks readline-history capability on linux
This is essentially a bug in MySQLs InnoDB database storage engine where connectionhandlers does not decrement the servers threadcount
while trying to exit properly. Bugreport exists on mySQL bugtracker.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/trinitycore/CliRunnable.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/trinitycore/CliRunnable.cpp b/src/trinitycore/CliRunnable.cpp index 0fca32e355f..92923b3a6a4 100644 --- a/src/trinitycore/CliRunnable.cpp +++ b/src/trinitycore/CliRunnable.cpp @@ -393,15 +393,6 @@ void CliRunnable::run() { fflush(stdout); - // Safe exit thread - #ifdef linux - while (!kb_hit_return() && !World::IsStopped()) - // With this, we limit CLI to 10commands/second - usleep(100); - if (World::IsStopped()) - break; - #endif - char *command_str ; // = fgets(commandbuf,sizeof(commandbuf),stdin); #if PLATFORM == WINDOWS |