monty@mysql.com
a7c6348192
Fixed errors found during review
2005-04-06 19:43:35 +03:00
gluh@eagle.intranet.mysql.r18.ru
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
gluh@eagle.intranet.mysql.r18.ru
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
gluh@eagle.intranet.mysql.r18.ru
fed0ba272a
Code optimization(discussed with Monty)
2005-04-05 14:31:46 +05:00
gluh@eagle.intranet.mysql.r18.ru
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
gluh@eagle.intranet.mysql.r18.ru
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
monty@mysql.com
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
gluh@gluh.mysql.r18.ru
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
gluh@gluh.mysql.r18.ru
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
gluh@gluh.mysql.r18.ru
bbd27199b6
Bug#9317: Wrong count for tables in INFORMATION_SCHEMA(fix after review)
2005-03-25 13:31:29 +03:00
gluh@gluh.mysql.r18.ru
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
gbichot@quadita2.mysql.com
5acca04c7c
merge from 4.1
2005-03-24 14:32:40 +01:00
gluh@gluh.mysql.r18.ru
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
gbichot@quadita2.mysql.com
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
mysqldev@mysql.com
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
monty@mysql.com
594ef41b2d
Cleanup during reviews
...
Removed some optional arguments
Fixed portability problem in federated tests
2005-03-16 16:11:01 +02:00
monty@mysql.com
1a9e05dd3f
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2005-03-16 01:30:28 +02:00
reggie@mdk10.(none)
3bfcc5dd75
Merge mdk10.(none):/home/reggie/bk/mysql-4.1
...
into mdk10.(none):/home/reggie/bk/mysql-5.0
2005-03-15 16:28:47 -06:00
reggie@mdk10.(none)
6c00af77a0
Bug #6660 mysqldump creates bad pathnames on Windows
...
sql_show.cc:
changed strdup to thd->memdup per Serg's advice
2005-03-15 16:24:37 -06:00
reggie@mdk10.(none)
aa395b3a45
Merge mdk10.(none):/home/reggie/bk/mysql-4.1
...
into mdk10.(none):/home/reggie/bk/mysql-5.0
2005-03-15 11:42:31 -06:00
reggie@mdk10.(none)
887f2a53fe
Bug #6660 mysqldump creates bad pathnames on Windows
...
This is a modifiction of my previous patch after receiving feedback. This is a better way to fix the problem. With this patch, data directory and index directory will use only forward slashes (/) when on Windows.
mysqldump.c:
Removed fixPaths routine. Was improper fix for bug #6660
sql_show.cc:
Changed append_directory to convert backslashes to foward slashes when on Windows.
2005-03-15 11:33:06 -06:00
monty@mysql.com
dd4db08438
Code cleanups during review of pushed code
2005-03-15 16:07:28 +02:00
gluh@gluh.mysql.r18.ru
df2b38913f
WL2131: Access control for SHOW ... PROCEDURE|FUNCTION ...
2005-03-05 14:35:32 +03:00
gluh@gluh.mysql.r18.ru
104072f154
Fix for bug #8164 : subquery with INFORMATION_SCHEMA.COLUMNS, 100 % CPU
2005-03-03 19:20:16 +03:00
monty@mysql.com
0a6b7aedb2
Remove compiler warnings and remove not used variables
...
(Found during build process)
2005-02-25 16:53:22 +02:00
monty@mysql.com
cd78e701a5
Show all generated warnings in SHOW ERROR
...
Previously we only stored the first given error (the error sent to the client)
2005-02-24 23:33:42 +02:00
gluh@gluh.mysql.r18.ru
3e9bf3af34
Fix for bug #7217 : information_schema: columns are varbinary() instead of timestamp &
...
bug #7215 : information_schema: columns are longtext instead of varchar
2005-02-23 15:15:36 +03:00
gluh@gluh.mysql.r18.ru
4ea9835455
Fix for bug #7476 : crash on SELECT * FROM INFORMATION_SCHEMA.TABLES(after review)
2005-02-22 14:42:44 +03:00
marko@hundin.mysql.fi
9d785cd513
Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into hundin.mysql.fi:/home/marko/mysql-5.0
2005-02-11 20:59:19 +02:00
hf@deer.(none)
96558f6ad3
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into deer.(none):/home/hf/work/mysql-5.0.clean
2005-02-09 02:54:08 +04:00
hf@deer.(none)
b94a482ee9
Precision Math implementation
2005-02-09 02:50:45 +04:00
pem@mysql.comhem.se
2c26ebe359
WL#2130: Table locking for stored FUNCTIONs
...
Collect all tables and SPs refered by a statement, and open all tables
with an implicit LOCK TABLES. Do find things refered by triggers and views,
we open them first (and then repeat this until nothing new is found), before
doing the actual lock tables.
2005-02-08 20:52:50 +01:00
marko@hundin.mysql.fi
7dbb93d9fc
InnoDB: Make SHOW TABLE STATUS report Row_format=Compact and
...
Row_format=Redundant
2005-02-08 13:35:10 +02:00
gluh@gluh.mysql.r18.ru
be5532d36a
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0
2005-02-03 20:46:53 +03:00
monty@mysql.com
b233ddba8e
After merge fixes
2005-02-03 18:00:50 +02:00
gluh@gluh.mysql.r18.ru
526dbfda22
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0
2005-01-28 19:37:04 +03:00
gluh@gluh.mysql.r18.ru
0434ecced3
A fix: 'information_schema' test with ps-protocol option fails
...
table_list->schema_table_name may be 0 in this case and 'strcasecmp' is
not necessary in this case.
2005-01-28 19:08:27 +03:00
gluh@gluh.mysql.r18.ru
6afbb3d627
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0
2005-01-27 20:01:37 +03:00
gluh@gluh.mysql.r18.ru
ac14d40dde
A fix: information_schema test fails on Mac OSX
2005-01-27 13:16:51 +03:00
gluh@gluh.mysql.r18.ru
efeeb3c2e6
Fix after review for
...
ChangeSet
1.1803 05/01/24
Additional fix for WL#1629: SHOW with WHERE(discussed with PeterG)
2005-01-27 11:06:44 +03:00
gluh@gluh.mysql.r18.ru
e492c1b44e
Additional fix for WL#1629: SHOW with WHERE(discussed with PeterG)
...
- Do not allow a column list as part of SHOW WITH WHERE task.
- The WHERE clause must accept field names which are
valid in SHOW, not INFORMATION_SCHEMA names.
2005-01-24 18:44:54 +03:00
timour@mysql.com
e19c6a856d
Manual merge of the fix for BUG#4285 from 4.1
2005-01-21 17:41:11 +02:00
timour@mysql.com
b266ad2c24
Merge mysql.com:/home/timka/mysql/src/4.1-bug-4285
...
into mysql.com:/home/timka/mysql/src/4.1-dbg
2005-01-21 16:47:51 +02:00
bar@mysql.com
10c4977878
sql_show.cc:
...
#7943 : Wrong prefix lengths reported on UTF-8 columns
after merge fix.
2005-01-21 17:00:14 +04:00
bar@mysql.com
2f6e0864ad
Bug#7943: Wrong prefix lengths reported on UTF-8 columns
...
SHOW KEYS FROM t1 now displays number of characters in Sub_part,
not number of bytes, to be compatible with SHOW CREATE TABLE.
2005-01-21 16:49:20 +04:00
timour@mysql.com
7fb0de20f3
Final patch for BUG#4285.
...
This patch collects all previous patches into one.
The main problem was due to that there is are two variables -
dflt_key_cache and sql_key_cache with have more or less duplicate
function. The reson for the bug was that the default value in the key
cache hash was set to dflt_key_cache, then sql_key_cache was set to a
new key cache object, and then dflt_key_cache was set to sql_key_cache
which was different from the dflt_key_cache_var. After sending SIGHUP,
the server was using the original default value for the key cache hash,
which was different from the actual key cache object used for the
default key cache.
2005-01-19 12:55:54 +02:00
gluh@gluh.mysql.r18.ru
16a2f9d204
bug #7981 : SHOW GLOBAL STATUS crashes server(fix after review)
2005-01-18 19:47:39 +03:00
gluh@gluh.mysql.r18.ru
c965dc34cd
Fix for bug #7981 : SHOW GLOBAL STATUS crashes server
2005-01-18 17:37:45 +03:00
jimw@mysql.com
80c56602d3
Merge
2005-01-13 09:31:54 -08:00
jimw@mysql.com
7e1f47022c
Merge jwinstead2@wwwtst1.mysql.com:mysql-4.1-7235
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-01-13 09:24:07 -08:00