gluh@mysql.com/eagle.(none)
ac8559359c
test fix(to satisfy WIN)
2007-10-05 12:29:02 +05:00
gluh@mysql.com/eagle.(none)
d6e626a61d
Bug#30079 A check for "hidden" I_S tables is flawed
...
added check for hidden I_S tables for 'show columns|keys' commands
2007-10-04 16:20:56 +05:00
gluh@mysql.com/eagle.(none)
6b81174cde
Bug#27747 database metadata doesn't return sufficient column default info
...
added get_field_default_value() function which obtains default value from the field
(used in store_create_info() & get_schema_column_record() functions)
2007-09-20 13:54:46 +05:00
gluh@mysql.com/eagle.(none)
7a8fd4107d
Bug#27629 Possible security flaw in INFORMATION_SCHEMA and SHOW statements
...
added SUPER_ACL check for I_S.TRIGGERS
2007-08-20 11:23:08 +05:00
kostja@bodhi.(none)
3364066e29
A fix and a test case for Bug#25859 ALTER DATABASE works w/o parameters.
...
Fix the parser to make the database options not optional.
2007-07-12 01:10:29 +04:00
gluh@mysql.com/eagle.(none)
47ecabe915
Bug#28266 IS_UPDATABLE field on VIEWS table in I_S database is wrong
...
IS_UPDATABLE flag is set to 'yes' when the view has at least one updatable column and
the algorithm is not 'temporary'.
2007-06-09 16:52:37 +05:00
gluh@mysql.com/eagle.(none)
47e537b47c
Bug#24630 Subselect query crashes mysqld
...
The crash happens because second filling of the same I_S table happens in
case of subselect with order by. table->sort.io_cache previously allocated
in create_sort_index() is deleted during second filling
(function get_schema_tables_result). There are two places where
I_S table can be filled: JOIN::exec and create_sort_index().
To fix the bug we should check if the table was already filled
in one of these places and skip processing of the table in second.
2007-02-12 16:06:14 +04:00
gluh@mysql.com/eagle.(none)
d1185aaeaf
Bug#23299 Some queries against INFORMATION_SCHEMA with subqueries fail
...
additional call of file->extra() method with HA_EXTRA_NO_CACHE parameter
2007-02-01 19:12:45 +04:00
thek@kpdesk.mysql.com
94b48caf2e
Merge kpdesk.mysql.com:/home/thek/dev/bug22043/my50-bug22043
...
into kpdesk.mysql.com:/home/thek/dev/mysql-5.0-maint
2006-12-01 18:00:45 +01:00
thek@kpdesk.mysql.com
b201d4ef93
Bug#22043 MySQL don't add "USE <DATABASE>" before "DROP PROCEDURE IF EXISTS"
...
- Refactoring of duplicate code
- Modified bad test cases
- Changed expected error when operating on information_schema.
2006-12-01 12:50:57 +01:00
gluh@mysql.com/gluh.(none)
ff38409128
Bug#22413 EXPLAIN SELECT FROM view with ORDER BY yield server crash
...
disable filling of I_S tables for EXPLAIN
2006-11-21 13:45:01 +04:00
andrey@example.com
389c6a019e
Fix for bug#23037 Bug in field "Default" of query "SHOW COLUMNS FROM table"
...
To the documentor: The DEFAULT value in SHOW COLUMNS/SELECT FROM I_S.COLUMNS
was truncated to NAME_LEN (which effectively is 64) characters.
2006-10-23 13:12:30 +02:00
igor@olga.mysql.com
69856b29b2
Fixed bug #21231 : wrong results for a simple query with a
...
a non-correlated single-row subquery over information schema.
The function get_all_tables filling all information schema
tables reset lex->sql_command to SQLCOM_SHOW_FIELDS. After
this the function could evaluate partial conditions related to
some columns. If these conditions contained a subquery over
information schema it led to a wrong evaluation and a wrong
result set.
This bug was already fixed in 5.1.
This patch follows the way how it was done in 5.1 where
the value of lex->sql_command is set to SQLCOM_SHOW_FIELDS
in get_all_tables only for the calls of the function
open_normal_and_derived_tables and is restored after these
calls.
2006-07-24 19:05:46 -07:00
igor@olga.mysql.com
66ecb7df81
Fixed bug #18925 : wrong results for queries with
...
subqueries on information schema that use MIN/MAX aggregation.
Execution of some correlated subqueries may set the value
of null_row to 1 for tables used in the subquery.
If the the subquery is on information schema it causes
rejection of any row for the following executions of
the subquery in the case when an optimization filtering
by some condition is applied.
The fix restores the value of the null_row flag for
each execution of a subquery on information schema.
2006-07-22 12:44:54 -07:00
kroki@mysql.com
1bcf6b1d09
Bug#20230: routine_definition is not null
...
SHOW CREATE PROCEDURE and SHOW CREATE FUNCTION are fixed as well as
INFORMATION_SCHEMA.ROUTINES.ROUTINE_NAME.
2006-06-30 00:21:55 +04:00
gluh@eagle.intranet.mysql.r18.ru
8acb6eeb80
Bug#18035 Information Schema: Output is not Sorted
...
added 'order by' to avoid result order difference
2006-06-06 12:57:50 +05:00
gluh@eagle.intranet.mysql.r18.ru
b1892278c7
Bug#19599 duplication of information_schema column value in a CONCAT expr with user var
...
mark result string using String::mark_as_const()
which prevents CONCAT from reusing it as a buffer
for concatenation result.
2006-06-06 12:51:04 +05:00
msvensson@neptunus.(none)
0f1ae1305d
Merge bk-internal:/home/bk/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2006-05-23 17:05:37 +02:00
msvensson@neptunus.(none)
b9779e9acd
Move the requirement for "not running as root" to information_schema_chmod
2006-05-23 10:52:53 +02:00
gluh@eagle.intranet.mysql.r18.ru
457aea43fc
Bug#16681 information_schema shows forbidden VIEW details
...
show view definition to users that have the needed privilleges
2006-05-23 12:45:25 +05:00
gluh@eagle.intranet.mysql.r18.ru
a23a8780e4
Fix for bug#18177 any access to INFORMATION_SCHEMA.ROUTINES crashes
...
replaced get_field(MEM_ROOT *mem, Field *field) with
get_field(MEM_ROOT *mem, Field *field, String *res).
It allows to avoid strlen().
2006-05-12 17:34:36 +05:00
gluh@eagle.intranet.mysql.r18.ru
c8944add73
Fix for bug#19236 bad COLUMNS.CHARACTER_MAXIMUM_LENGHT and CHARACTER_OCTET_LENGTH
2006-05-12 15:09:25 +05:00
msvensson@neptunus.(none)
4c866961ed
Bug#18474 Unlistable directories yield no info from information_schema, part2
...
- Move "chmod" part of information_schema test to separate file
2006-05-04 17:47:25 +02:00
msvensson@neptunus.(none)
95cac67921
Revert use of octal numbers for chmod
2006-04-24 21:42:44 +02:00
msvensson@neptunus.(none)
c2efcc4adf
Test it it works better to set no read access for a file by using 000 instead of -r
...
Looks like the trigger.test works that way
2006-04-24 13:51:21 +02:00
msvensson@neptunus.(none)
d59a0f4840
Bug#17002 mysql-test-run as root user
...
- Add test to see if tests are running with root permissions
- Disables tests that uses chmod if that is the case
2006-04-24 10:21:09 +02:00
gluh@eagle.intranet.mysql.r18.ru
fe7ea20764
Bug#18469 make test fails on information_schema
...
move test case for bug 14290 to ctype_ucs test
2006-04-07 12:32:24 +05:00
bar@mysql.com
1c74e21809
After merge fix for Bug#12076 --with-extra-charsets has no effect
2006-04-04 15:40:42 +05:00
gluh@eagle.intranet.mysql.r18.ru
f78ae59f0f
Fix for bug#18224 VIEW on information_schema crashes the server
...
additional check for subselect
2006-03-20 14:17:47 +04:00
msvensson@neptunus.(none)
a98ede7edc
Use MYSQLTEST_VARDIR
2006-01-27 09:24:45 +01:00
gluh@eagle.intranet.mysql.r18.ru
b4f7c9bbd5
Fix for bug#15307 GROUP_CONCAT() with ORDER BY returns empty set on information_schema(2nd ver)
...
Fill schema tables with data before filesort if it's necessary
2006-01-24 16:48:19 +04:00
gluh@eagle.intranet.mysql.r18.ru
fa776a6f67
Fix for bug#15851 Unlistable directories yield no info from information_schema
...
to skip directories which are not allowed for read
2006-01-24 15:59:08 +04:00
gluh@eagle.intranet.mysql.r18.ru
8ce6f3e6ca
Fix for bug#15533 crash, information_schema, function, view
...
enable view prepared mode during getting metedata for I_S table
2006-01-03 14:25:19 +04:00
gluh@eagle.intranet.mysql.r18.ru
f9ef0df0d3
Fix for bug#14271 I_S: columns has no size for (var)binary columns
...
set character_octet_length, character_maximum_length for
binary and varbinary field types
2005-12-19 16:21:02 +04:00
gluh@eagle.intranet.mysql.r18.ru
c8631b414b
Bug#12770 DESC cannot display the info. about temporary table
...
Bug#14387 SHOW COLUMNS doesn't work on temporary tables.
Bug#15224 SHOW INDEX from temporary table doesn't work.
Restore thd->temporary_tables to be able to process
temporary tables(only for 'show index' & 'show columns').
This should be changed when processing of temporary tables for
I_S tables will be done.
2005-12-19 14:46:54 +04:00
gluh@eagle.intranet.mysql.r18.ru
1faac904f5
Fix for bug#14476 information_schema
.TABLES
.TABLE_TYPE
with empty value
...
store TABLES.TABLE_TYPE in case of error during table opening
2005-12-01 11:00:33 +04:00
gluh@eagle.intranet.mysql.r18.ru
7803d80aa4
Fix for bug#13818 SHOW CREATE VIEW / TABLE and information_schema.views fail
...
for invalid view
Permit SHOW CREATE VIEW, SHOW CREATE TABLE, and retrieval of metadata from
information_schema for invalid views
2005-11-11 13:39:46 +04:00
msvensson@neptunus.(none)
be6f7a3f82
Merge neptunus.(none):/home/msvensson/mysql/ssl_test/my50-ssl_test
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-10-28 11:00:54 +02:00
ramil@mysql.com
c06673d49b
Fix for bug #14290 : wrong CHARACTER_MAXIMUM_LENGTH value for some text fields.
2005-10-25 17:22:58 +05:00
gluh@eagle.intranet.mysql.r18.ru
e8d52711ad
fix for bug#14089 FROM list subquery always fails when
...
information_schema is current database
skip the check of I_S tables if table is derived table
2005-10-21 13:14:54 +05:00
msvensson@neptunus.(none)
7d29c2a4a1
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/ssl_test/my50-ssl_test
2005-10-12 13:59:00 +02:00
msvensson@neptunus.(none)
0ac28d3187
Always test ssl and compress
...
- Updated after review
2005-10-12 13:56:07 +02:00
monty@mysql.com
82fc54781b
Fixed problems found by valgrind
...
Fixed problems in test suite where some test failed
Fixed access to not initialized memory in federated
Fixed access to not initialized memory when using BIT fields in internal temporary tables
2005-09-22 03:23:07 +03:00
gluh@eagle.intranet.mysql.r18.ru
cc395fc0c2
Bug#9683 INFORMATION_SCH: Creation of temporary table allowed in
...
Information_schema DB
Bug#9846 Inappropriate error displayed while
dropping table from 'INFORMATION_SCHEMA'
Bug#10734 Grant of privileges other than 'select' and
'create view' should fail on schema
Bug#10708 SP's can use INFORMATION_SCHEMA as ROUTINE_SCHEMA
cumulative fix for bugs above(after review, 2nd version)
added privilege check for information schema db & tables
2005-09-13 16:07:38 +05:00
gluh@eagle.intranet.mysql.r18.ru
f077477dca
Fix for bug#12905 show fields from view behaving erratically with current database
...
use saved view db name in case of view
2005-09-07 16:11:53 +05:00
msvensson@neptunus.(none)
1026fa2fe3
Fix for spelling miss and eol junk
2005-09-01 20:02:08 +02:00
monty@mishka.mysql.com
aa18382680
Make test predictable
2005-08-25 12:03:19 +03:00
igor@rurik.mysql.com
21b63441f5
Merge rurik.mysql.com:/home/igor/mysql-5.0
...
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
2005-08-22 17:46:21 -07:00
igor@rurik.mysql.com
94166de5f3
sql_show.cc:
...
Database name was set incorrectly for any show command
that used sunqueries in its where condition.
information_schema.test, information_schema.result:
Added a test case for bug #12636 .
2005-08-22 17:32:02 -07:00
monty@mishka.local
1c1f26d5e2
Fixes during review of new pushed code
...
Fixed new bug when running a SP without a default database
2005-08-20 11:00:00 +03:00