Commit 00089b81 authored by monty@mashka.mysql.fi's avatar monty@mashka.mysql.fi

Merge work:/home/bk/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0

parents fc7f7a21 4082fca2
...@@ -50157,7 +50157,8 @@ Renamed some sql variables, but old names will still work until 5.0. ...@@ -50157,7 +50157,8 @@ Renamed some sql variables, but old names will still work until 5.0.
@item @item
Removed not used variable @code{query_buffer_size}. Removed not used variable @code{query_buffer_size}.
@item @item
Fixed a bug that made the pager option in the mysql client non-functional. Fixed a bug that made the pager option in the @code{mysql} client
non-functional.
@item @item
Added full @code{AUTO_INCREMENT} support to @code{MERGE} tables. Added full @code{AUTO_INCREMENT} support to @code{MERGE} tables.
@item @item
...@@ -50181,7 +50182,7 @@ as a synonym for bitwise @code{XOR}. ...@@ -50181,7 +50182,7 @@ as a synonym for bitwise @code{XOR}.
Added function @code{IS_FREE_LOCK("lock_name")}. Added function @code{IS_FREE_LOCK("lock_name")}.
Based on code contributed by Hartmut Holzgraefe @email{hartmut@@six.de}. Based on code contributed by Hartmut Holzgraefe @email{hartmut@@six.de}.
@item @item
Removed @code{mysql_ssl_clear()}, as it was not needed. Removed @code{mysql_ssl_clear()} from C API, as it was not needed.
@item @item
@code{DECIMAL} and @code{NUMERIC} types can now read exponential numbers. @code{DECIMAL} and @code{NUMERIC} types can now read exponential numbers.
@item @item
...@@ -50200,7 +50201,7 @@ consistent dump of @code{InnoDB} tables. ...@@ -50200,7 +50201,7 @@ consistent dump of @code{InnoDB} tables.
@item @item
Fixed bug in @code{innodb_log_group_home_dir} in @code{SHOW VARIABLES}. Fixed bug in @code{innodb_log_group_home_dir} in @code{SHOW VARIABLES}.
@item @item
Fixed a bug in optimiser with merge tables when non-uniques values are Fixed a bug in optimiser with merge tables when non-unique values are
used in summing up (causing crashes). used in summing up (causing crashes).
@item @item
Fixed a bug in optimiser when a range specified makes index grouping Fixed a bug in optimiser when a range specified makes index grouping
...@@ -50235,7 +50236,7 @@ Fixed bug in @code{DROP DATABASE} with symlink. ...@@ -50235,7 +50236,7 @@ Fixed bug in @code{DROP DATABASE} with symlink.
@item @item
Fixed crash in @code{REPAIR ... USE_FRM}. Fixed crash in @code{REPAIR ... USE_FRM}.
@item @item
Fixed bug in @code{EXPLAIN} with @code{LIMIT offset != 0} Fixed bug in @code{EXPLAIN} with @code{LIMIT offset != 0}.
@item @item
Fixed bug in phrase operator @code{"..."} in boolean full-text search. Fixed bug in phrase operator @code{"..."} in boolean full-text search.
@item @item
drop database if exists a;
create database a;
use a;
create table b (c int);
insert into a.b set a.b.c = '1';
drop database a;
#
# Test of mysqld crash with fully qualified column names
#
drop database if exists a;
create database a;
use a;
create table b (c int);
insert into a.b set a.b.c = '1';
drop database a;
...@@ -1608,7 +1608,7 @@ find_field_in_tables(THD *thd,Item_field *item,TABLE_LIST *tables) ...@@ -1608,7 +1608,7 @@ find_field_in_tables(THD *thd,Item_field *item,TABLE_LIST *tables)
for (; tables ; tables=tables->next) for (; tables ; tables=tables->next)
{ {
if (!strcmp(tables->name,table_name) && if (!strcmp(tables->name,table_name) &&
(!db || !strcmp(db,tables->db))) (!db || !tables->db || !strcmp(db,tables->db)))
{ {
found_table=1; found_table=1;
Field *find=find_field_in_table(thd,tables->table,name,length, Field *find=find_field_in_table(thd,tables->table,name,length,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment