summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-12-18 05:19:21 +0200
committermonty@mysql.com <>2004-12-18 05:19:21 +0200
commit3fb088a075ebd3e4fe78d122911103618bd1cbe4 (patch)
treeeb62c04f31efc6c7cb435cef36a43e2e361eed1c /dbug
parentb4dc75c877b45e2eb97e5fc15fda4292e0f6f705 (diff)
downloadmariadb-git-3fb088a075ebd3e4fe78d122911103618bd1cbe4.tar.gz
Add 0x before pointers (to help with debugging)
Add support for VARCHAR with 1 or 2 length bytes Enable VARCHAR packing in MyISAM files (previous patch didn't pack data properly) Give error if we got problems in temporary tables during a SELECT Don't use new table generated by ALTER TABLE if index generation fails Fixed wrong call by range_end() (Could cause an ASSERT in debug mode)
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 d21b4e7801a..91b7e7b6c4c 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -978,7 +978,7 @@ uint length)
{
fprintf(_db_fp_, "%s: ", state->func);
}
- sprintf(dbuff,"%s: Memory: %lx Bytes: (%d)\n",
+ sprintf(dbuff,"%s: Memory: 0x%lx Bytes: (%d)\n",
keyword,(ulong) memory, length);
(void) fputs(dbuff,_db_fp_);