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
This commit is contained in:
click
2010-04-20 19:51:20 +02:00
parent e6fbcc42ce
commit 50ac994cf2
-9
View File
@@ -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