diff options
author | unknown <paul@ice.snake.net> | 2004-03-08 14:05:07 -0600 |
---|---|---|
committer | unknown <paul@ice.snake.net> | 2004-03-08 14:05:07 -0600 |
commit | d70d167c71122359bd525687e0e627384a73b905 (patch) | |
tree | bb7e539db77e32f3914772de356acd682f6dc3bb /sql | |
parent | 57c1a8eb38bc117fcfedc1ccb3212401b76906ca (diff) | |
parent | fea8903b0cb85bb43502aae43fe8bd2543fccd5c (diff) | |
download | mariadb-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.cc | 13 |
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; |