diff options
author | unknown <monty@hundin.mysql.fi> | 2002-08-08 16:41:04 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-08-08 16:41:04 +0300 |
commit | 028cfaba9ba0fcbba30511e6951daab6a1829f20 (patch) | |
tree | 8abd660ca8962e8c1a9aa58dbabd22e3c2e6f163 /sql/sql_base.cc | |
parent | 267b80834ad524c0d72976bc71e5b5bc9815ea1a (diff) | |
download | mariadb-git-028cfaba9ba0fcbba30511e6951daab6a1829f20.tar.gz |
Fix after merge
Updated WEEK() and DATE information in the manual.
Docs/manual.texi:
Updated WEEK() information.
Added more information of how MySQL stores dates.
libmysql/Makefile.am:
Fix after merge
libmysqld/lib_vio.c:
Use new vio_blocking()
mysql-test/r/group_by.result:
Update results after merge
sql/ha_innodb.cc:
Fix after merge
sql/lex.h:
Fix after merge
sql/slave.cc:
Added missing include file
sql/sql_base.cc:
Added function comments
vio/test-ssl.c:
Fix after merge
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r-- | sql/sql_base.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 0f540a3a4fd..fddc2080764 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -108,6 +108,24 @@ static void check_unused(void) #define check_unused() #endif +/* + Create a list for all open tables matching SQL expression + + SYNOPSIS + list_open_tables() + thd Thread THD + wild SQL like expression + + NOTES + One gets only a list of tables for which one has any kind of privilege. + db and table names are allocated in result struct, so one doesn't need + a lock on LOCK_open when traversing the return list. + + RETURN VALUES + NULL Error (Probably OOM) + # Pointer to list of names of open tables. +*/ + OPEN_TABLE_LIST *list_open_tables(THD *thd, const char *wild) { int result = 0; |