summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-01-23 02:52:26 +0200
committermonty@hundin.mysql.fi <>2002-01-23 02:52:26 +0200
commit4609e627a524b7bd5d85c44a85001157fb67b09c (patch)
treebe3a98f50b40e6cfe7dd9ac0bfb602ada79dcc02 /dbug
parentc7384b75fc1581d0924e0f7f2ad58f0a0c21e525 (diff)
downloadmariadb-git-4609e627a524b7bd5d85c44a85001157fb67b09c.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.
Diffstat (limited to 'dbug')
-rw-r--r--dbug/dbug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index 378e0369230..9e1e51d2404 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -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_;