summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-06-17 15:07:46 +0300
committerunknown <monty@hundin.mysql.fi>2002-06-17 15:07:46 +0300
commit20fbf5b3f8bf8ea3af9edadf012bbf866951e9b3 (patch)
tree1df510cd5dfdba5d6d53b7a3e90c432078cfc0e4
parenta1583056718c443e6c7feb0dead456b6567c045c (diff)
downloadmariadb-git-20fbf5b3f8bf8ea3af9edadf012bbf866951e9b3.tar.gz
Fixed problem with innodb_log_group_home_dir and SHOW VARIABLES
Docs/manual.texi: Updated TODO for 4.0 sql/mysqld.cc: Cleanup sql/opt_range.cc: Cleanup
-rw-r--r--Docs/manual.texi33
-rw-r--r--sql/ha_innodb.cc4
-rw-r--r--sql/mysqld.cc3
-rw-r--r--sql/opt_range.cc3
4 files changed, 21 insertions, 22 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi
index 4f2ef5c2432..9ecd29ecb70 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -3705,26 +3705,9 @@ list valid only if you are reading it from the MySQL web site
@item
Allow users to change startup options without taking down the server.
@item
-Better command-line argument handling.
-@item
-New key cache, which will give better performance when using many threads.
-@item
-New table definition file format (@file{.frm} files). This will enable us
-to not run out of bits when adding more table options. One will still
-be able to use the old @file{.frm} file format with 4.0. All newly created
-tables will, however, use the new format.
-
-The new file format will enable us to add new column types, more options
-for keys, and possibly to store and retrieve @code{FOREIGN KEY} definitions.
-@item
-@code{SHOW COLUMNS FROM table_name} (used by @code{mysql} client to allow
-expansions of column names) should not open the table, only the
-definition file. This will require less memory and be much faster.
-@item
@code{SET SQL_DEFAULT_TABLE_TYPE=[MyISAM | INNODB | BDB | HEAP]}.
@end itemize
-
@node TODO MySQL 4.1, TODO future, TODO MySQL 4.0, TODO
@subsection Things That Should be in 4.1
@@ -3741,6 +3724,18 @@ Subqueries.
SELECT id FROM t WHERE grp IN (SELECT grp FROM g WHERE u > 100);
@end example
@item
+New table definition file format (@file{.frm} files). This will enable us
+to not run out of bits when adding more table options. One will still
+be able to use the old @file{.frm} file format with 4.0. All newly created
+tables will, however, use the new format.
+
+The new file format will enable us to add new column types, more options
+for keys, and possibly to store and retrieve @code{FOREIGN KEY} definitions.
+@item
+@code{SHOW COLUMNS FROM table_name} (used by @code{mysql} client to allow
+expansions of column names) should not open the table, only the
+definition file. This will require less memory and be much faster.
+@item
Foreign keys for @code{MyISAM} tables, including cascading delete.
@item
Fail-safe replication.
@@ -4056,8 +4051,6 @@ Implement function: @code{get_changed_tables(timeout,table1,table2,...)}.
Change reading through tables to use memmap when possible. Now only
compressed tables use memmap.
@item
-Add a new @code{SHOW} privilege for @code{SHOW} commands.
-@item
Make the automatic timestamp code nicer. Add timestamps to the update
log with @code{SET TIMESTAMP=#;}.
@item
@@ -49458,6 +49451,8 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
@itemize @bullet
@item
+Fixed bug in @code{innodb_log_group_home_dir} in @code{SHOW VARIABLES}.
+@item
Fixed a bug in optimiser with merge tables when non-uniques values are
used in summing up (causing crashes).
@item
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc
index 48a4513cd2a..2199547334a 100644
--- a/sql/ha_innodb.cc
+++ b/sql/ha_innodb.cc
@@ -356,6 +356,8 @@ ha_innobase::update_thd(
/*************************************************************************
Opens an InnoDB database. */
+char current_lib[3]; // Set if using current lib
+
bool
innobase_init(void)
/*===============*/
@@ -363,7 +365,7 @@ innobase_init(void)
{
int err;
bool ret;
- char current_lib[3], *default_path;
+ char *default_path;
DBUG_ENTER("innobase_init");
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 38b0014e085..b6481d4e787 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -2411,7 +2411,8 @@ static void create_new_thread(THD *thd)
inline void kill_broken_server()
{
/* hack to get around signals ignored in syscalls for problem OS's */
- if (unix_sock == INVALID_SOCKET || (!opt_disable_networking && ip_sock ==INVALID_SOCKET))
+ if (unix_sock == INVALID_SOCKET ||
+ (!opt_disable_networking && ip_sock == INVALID_SOCKET))
{
select_thread_in_use = 0;
kill_server((void*)MYSQL_KILL_SIGNAL); /* never returns */
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 6692a55c2ef..5a359cc4239 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -1291,7 +1291,8 @@ and_all_keys(SEL_ARG *key1,SEL_ARG *key2,uint clone_flag)
}
if (key1->type == SEL_ARG::MAYBE_KEY)
{
- key1->right=key1->left= &null_element; key1->next=key1->prev=0;
+ key1->right= key1->left= &null_element;
+ key1->next= key1->prev= 0;
}
for (next=key1->first(); next ; next=next->next)
{