8a68788c39
Bug #7142 Show Fields from fails using Borland's dbExpress interface
...
The problem here is that columns that have an especially long type
such as an enum type with many options would be longer than 40 chars
but the type column returned from show columns always was defined
as varchar(40).
This is fixed in 5.0 using info schema.
2005-07-12 08:35:30 -06:00
50133499b5
BUG#11635 mysqldump exports TYPE instead of USING for HASH Cluster indexes
...
- Change output from SHOW CREATE TABLE to use USING instead of TYPE
2005-07-07 14:44:28 +02:00
af5f5ab3ed
Merge mysql.com:/home/jimw/my/mysql-5.0-6903
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-07-05 17:05:31 -07:00
d3905f3d0e
Name resolution context added (BUG#6443)
2005-07-01 07:05:42 +03:00
74373e7d54
WL#2286 - Compile MySQL w/YASSL support
...
Fix GCC 4.0 link failure.
Better CXX_VERSION guessing.
2005-06-22 14:08:28 +05:00
7660f609e6
WL#2286 - Compile MySQL w/YASSL support
...
Fix for yaSSL link failures with Forte Developer 7, MIPSpro Compilers, Compaq C++.
These compilers have problem with implicit template instantiation in archives
(libyassl.a, libtaocrypt.a). Instantiate templates explicitly.
Fix for yaSSL link failure on powermacg5 (gcc 3.3). When -O3 is specified gcc inlines
__cxa_pure_virtual. This is wrong behavior, __cxa_pure_virtual must never be inlined.
2005-06-19 21:46:44 +05:00
c7dde629b7
Fix for bug#9434 SHOW CREATE DATABASE information_schema
;
...
added ability to do SHOW CREATE DATABASE `information_schema`
2005-06-16 13:27:22 +05:00
a851311d77
Fix for bug#11055: information_schema: routines.sql_data_access has wrong value
2005-06-16 12:12:47 +05:00
9b166de236
Fix SHOW CREATE VIEW to handle ANSI_QUOTES mode. (Bug #6903 )
2005-06-15 16:27:41 -07:00
6674e1e12e
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-06-10 14:34:43 +02:00
8c0f0c7b2b
BUG#9998 MySQL client hangs on "USE database"
...
Use open_normal_and_derived_tables instead of open_and_lock_tables when reading metadata for a table.
Add two test cases, one for "USE database" and one for "SHOW COLUMNS FROM table"
2005-06-03 15:29:05 +02:00
a69f432115
Code cleanups during code reviews
...
Ensure we get error if INSERT IGNORE ... SELECT fails
Fixed wrong key_part->key_length usage in index_merge
2005-06-01 16:35:09 +03:00
ddf91f0689
Fix for bug#10059: SHOW TABLE STATUS FROM information_schema
; reports uppercase table names
...
information schema table names are always upper case table names
2005-05-31 13:15:23 +05:00
59db44382b
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/psergey/mysql-5.0-conf-fixes-2
2005-05-26 21:01:53 +02:00
41c8f46160
Post-review fixes: rename SHOW_DOUBLE to SHOW_DOUBLE_STATUS
2005-05-26 20:54:02 +02:00
68317fcb0c
addition of "REFERENCED_TABLE_SCHEMA",
...
"REFERENCED_TABLE_NAME", "REFERENCED_COLUMN_NAME" fields into
KEY_COLUMN_USAGE table
2005-05-20 16:39:28 +04:00
b6179919f3
Change Last_query_cost status variable from global to thread-local.
2005-05-18 05:39:10 +02:00
8df5887ad5
Bug#10246 - Parser: bad syntax for GRANT EXECUTE
...
Rename some functions
more fine-grained sp privileges
make grant/revoke sp grammar less ambigious
2005-05-17 19:54:20 +01:00
be4920cd81
Merge mysql.com:/home/jimw/my/mysql-5.0-7800
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-05-16 14:33:46 -07:00
4412ad4e11
Cleanups based on feedback from Monty.
2005-05-16 10:21:28 -07:00
efaeb069e7
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/gluh/MySQL/Devel/mysql-5.0
2005-05-10 18:35:11 +00:00
75b7fef44f
Bug#10018: use INFORMATION_SCHEMA works, but show tables in it returns error
...
additional fix after review
2005-05-10 18:34:04 +00:00
a16a207456
Fix for embedded server to compile
2005-05-07 20:25:59 +05:00
f6bf2680b2
Fix for bug#10261: INFORMATION_SCHEMA.COLUMNS, incomplete result for non root user
...
I_S table columns information is available for any user
2005-05-07 15:14:34 +00:00
d398b6eb51
Add support for slave_compressed_protocol, slave_load_tmpdir, and
...
slave_skip_errors in SHOW VARIABLES. (Bug #7800 )
2005-05-07 06:55:47 -07:00
64cbbf1463
Fix for bug #9838 : INFORMATION_SCHEMA.COLUMNS columns of granted views missing
2005-05-07 13:55:46 +00:00
81e46539b2
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mishka.local:/home/my/mysql-5.0
2005-05-07 00:26:45 +03:00
f285b4fcee
Fix for bug#8998: information_schema: Table SCHEMATA should report default collations
...
DEFAULT_COLLTION_NAME field is added to SCHEMATA table
2005-05-06 20:14:22 +00:00
5dee7cfc70
Fix for bug #10018:use INFORMATION_SCHEMA works, but show tables in it returns error
2005-05-06 19:06:10 +00:00
015cd1cd21
merge
2005-05-06 13:51:58 +03:00
a9f6aab4c9
Fixes while reviewing new code
...
Added option --count to mysqlshow (to show number of rows)
Fixed possible core dump in information schema
2005-05-06 11:39:30 +03:00
2c8e9df232
A lot of fixes to Precision math
...
Mostly about precision/decimals of the results of the operations
2005-05-05 20:06:49 +05:00
6b4e759cf7
Fix for BUG#9439:
...
Changed type of "Sub_part" column in SHOW KEYS from TINYINT to SMALLINT (as MAX_KEY_LENGTH=1024)
(this is the final cset with proper tests)
2005-04-16 23:35:39 +04:00
b622aba19f
information_schema.result, information_schema.test:
...
Added a test in connection with the fix for
bug #6106 .
view.result, view.test:
Added test cases for bugs #6106/6107.
sql_show.cc:
The addition of the case for items of the type REF_ITEM in the
function uses_only_table_name_fields became necessary after
the fix for bug #6106 .
sql_base.cc:
The problem was due to the fact that two different column
references were glued together though one of them belonged to
a subquery while another to an outer query. This caused
eventually a wrong calculation of values for the used_tables
attribute.
2005-04-13 23:06:37 -07:00
a7c6348192
Fixed errors found during review
2005-04-06 19:43:35 +03:00
6c8624f6d5
Fix for bug#9383: INFORMATION_SCHEMA.COLUMNS, JOIN, Crash, prepared statement
...
restore original 'lex->query_tables' table list after
processing of information schema table
remove unnecessary operations
2005-04-05 16:09:56 +05:00
6c8c2d22b9
Fix for bug#7214: information_schema: unauthorized user can see metadata
...
the fix for 'columns' table only
Rights check for 'routines' table is already done
(see WL2131 Access control for SHOW ... PROCEDURE|FUNCTION ...)
rename 'testtets' database to 'mysqltest' to keep number of
DBs which created by mysql-test as small as possible
2005-04-05 15:12:15 +05:00
fed0ba272a
Code optimization(discussed with Monty)
2005-04-05 14:31:46 +05:00
f1773668a8
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into eagle.intranet.mysql.r18.ru:/home/gluh/MySQL/Bugs/mysql-5.0.9344
2005-04-04 12:12:50 +05:00
1f38b5bdd1
Fix for bug #9344 INFORMATION_SCHEMA, wrong content, numeric columns
...
The columns CHARACTER_MAXIMUM_LENGTH and CHARACTER_OCTET_LENGTH
of INFORMATION_SCHEMA.COLUMNS must be NULL for numeric columns
2005-03-31 13:44:42 +05:00
332b7ed4a1
Give warnings if wrong date/time/datetime argument for STR_TO_DATE
...
Small fixes while doing review of new pushed code
More test cases for decimal
2005-03-30 16:00:31 +03:00
fe0b425e0a
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into gluh.mysql.r18.ru:/home/gluh/MySQL-BUGS/mysql-5.0.8941
2005-03-25 15:09:22 +03:00
a1e6b80b46
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
2005-03-25 13:33:28 +03:00
bbd27199b6
Bug#9317: Wrong count for tables in INFORMATION_SCHEMA(fix after review)
2005-03-25 13:31:29 +03:00
d5e448870d
Fix for bug #8941 : garbage MAX_ROWS=# from SHOW CREATE TABLE INFORMATION_SCHEMA.*
...
-skip the print of 'MAX_ROWS=#' for 'SHOW CRETAE TABLE' with information schema tables
2005-03-25 12:19:11 +03:00
5acca04c7c
merge from 4.1
2005-03-24 14:32:40 +01:00
6ec480910d
Bug #9317 : Wrong count for tables in INFORMATION_SCHEMA
...
there was no check of result of
table->file->write_row() function. When count of rows was
more than table max_rows(HEAP table) the following recodrs
were not inserted to the table
-'schema_table_store_record' function is added.
The function checks result of write_row function
and convert HEAP table to MyISAM if necessary
- Result check after write_row is added into all
I_S function which store the records to I_S tables
2005-03-24 16:32:11 +03:00
19499229ed
"After Monty's review" changes to the fix for BUG#8325 "Deadlock in replication thread stops replication":
...
s/sleep/safe_sleep (thread safe); sleep 0/1/2/3/4/5/5/5 (get slave less late);
no message on error log (deadlock is too common sometimes), a global counter
instead (SHOW STATUS LIKE 'slave_retried_transactions').
Plus a fix for libmysql/Makefile.shared
2005-03-23 19:19:36 +01:00
ad26a667e6
sql_acl.cc, sql_acl.h, sql_parse.cc
...
New privilege CREATE USER (CREATE_USER_ACL, Create_user_priv) added
grant2.test:
new tests (mostly backported from jani's patch)
system_mysql_db.result, sp.result, grant2.result, grant.result:
results updated
2005-03-22 15:54:18 +01:00
594ef41b2d
Cleanup during reviews
...
Removed some optional arguments
Fixed portability problem in federated tests
2005-03-16 16:11:01 +02:00