From fea8903b0cb85bb43502aae43fe8bd2543fccd5c Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 8 Mar 2004 17:47:42 +0300 Subject: Comment for do_command moved inside #ifndef EMBEDDED_LIBRARY. --- sql/sql_parse.cc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'sql') diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 99a8a248d24..97bae472757 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1180,9 +1180,18 @@ err: } - /* Execute one command from socket (query or simple command) */ - #ifndef EMBEDDED_LIBRARY + +/* + Read one command from socket and execute it (query or simple command). + This function is called in loop from thread function. + SYNOPSIS + do_command() + RETURN VALUE + 0 success + 1 request of thread shutdown (see dispatch_command() description) +*/ + bool do_command(THD *thd) { char *packet; -- cgit v1.2.1