summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-12-12 04:34:56 +0200
committerunknown <monty@donna.mysql.com>2000-12-12 04:34:56 +0200
commit28ad76e22c799a933006e8cad31a7389e85106eb (patch)
tree3c78736b50f99b9b8ac968afb833752f201a482a /sql/log_event.h
parent7847639270269bc6aebeed36e68ddfec0cf6c145 (diff)
downloadmariadb-git-28ad76e22c799a933006e8cad31a7389e85106eb.tar.gz
Fixed delete in tables with hidden primary key
Remove not used BDB logs on shutdown Don't give warnings for repair on slaves Fixed transaction log files Docs/manual.texi: Updated 'known bugs' include/my_sys.h: Added define for checking number of bytes left in the IO_CACHE mysql-test/mysql-test-run: Small bug fixes mysys/mf_iocache2.c: Use new define sql/filesort.cc: Temporary fix for FULLTEXT index sql/ha_berkeley.cc: Fix for delete in tables with hidden primary key Remove not used BDB logs on shutdown sql/ha_myisam.cc: Don't give warnings for repair on slaves sql/hostname.cc: Portability fix sql/log.cc: Fix transaction log files sql/log_event.h: portability fix sql/slave.cc: Don't give warnings for repair on slaves sql/sql_class.h: Cleanup sql/sql_parse.cc: Fixed typo
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 9c97a1a121c..6dde2932014 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -72,7 +72,7 @@ public:
static void operator delete(void *ptr, size_t size)
{
- my_free((byte*)ptr, MYF(MY_WME|MY_ALLOW_ZERO_PTR));
+ my_free((gptr) ptr, MYF(MY_WME|MY_ALLOW_ZERO_PTR));
}
int write(IO_CACHE* file);