mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 08:45:33 +02:00
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
This commit is contained in:
parent
879e892d66
commit
7b72c14bbb
10 changed files with 415 additions and 260 deletions
|
|
@ -1928,7 +1928,7 @@ static void dbug_flush(CODE_STATE *state)
|
|||
{
|
||||
if (!(freopen(stack->name,"a",_db_fp_)))
|
||||
{
|
||||
(void) fprintf(stderr, ERR_OPEN, _db_process_);
|
||||
(void) fprintf(stderr, ERR_OPEN, _db_process_, stack->name);
|
||||
fflush(stderr);
|
||||
_db_fp_ = stdout;
|
||||
stack -> out_file = _db_fp_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue