summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <paul@ice.snake.net>2004-03-08 14:05:07 -0600
committerunknown <paul@ice.snake.net>2004-03-08 14:05:07 -0600
commitd70d167c71122359bd525687e0e627384a73b905 (patch)
treebb7e539db77e32f3914772de356acd682f6dc3bb /sql
parent57c1a8eb38bc117fcfedc1ccb3212401b76906ca (diff)
parentfea8903b0cb85bb43502aae43fe8bd2543fccd5c (diff)
downloadmariadb-git-d70d167c71122359bd525687e0e627384a73b905.tar.gz
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_parse.cc13
1 files changed, 11 insertions, 2 deletions
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;