diff options
author | unknown <monty@hundin.mysql.fi> | 2002-01-23 02:52:26 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-01-23 02:52:26 +0200 |
commit | 7b72c14bbb857834ec81091eabc846774d35ab96 (patch) | |
tree | be3a98f50b40e6cfe7dd9ac0bfb602ada79dcc02 /sql/opt_range.cc | |
parent | 879e892d661b0236850b0c5b0adf87a1bb3d507a (diff) | |
download | mariadb-git-7b72c14bbb857834ec81091eabc846774d35ab96.tar.gz |
Increase max package length to 512M for mysql and mysqldump.
Faster 'read_first_row' (Fixes slow 'preparing' state)
Read constant tables earlier, which provides better optimzations when using tables with <=1 row.
This also fixes a complicated bug involving const tables.
Docs/manual.texi:
Changelog
client/mysql.cc:
Increase max package length to 512M
client/mysqldump.c:
Increase max package length to 512M
dbug/dbug.c:
Fixed wrong printf() format string.
mysql-test/t/innodb.test:
Test for multi-table delete
sql/handler.cc:
Faster 'read_first_row' (Fixes slow 'preparing' state)
sql/handler.h:
Faster 'read_first_row' (Fixes slow 'preparing' state)
sql/opt_range.cc:
More debug info.
sql/sql_select.cc:
Read constant tables earlier, which provides better optimzations when using tables with <=1 row.
This also fixes a complicated bug involving const tables.
sql/sql_select.h:
Read const tables earlier
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 4ac653e070c..c3f4c91b718 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -585,6 +585,9 @@ int SQL_SELECT::test_quick_select(key_map keys_to_use, table_map prev_tables, uint idx; double scan_time; DBUG_ENTER("test_quick_select"); + DBUG_PRINT("enter",("keys_to_use: %lu prev_tables: %lu const_tables: %lu", + (ulong) keys_to_use, (ulong) prev_tables, + (ulong) const_tables)); delete quick; quick=0; |