summaryrefslogtreecommitdiff
path: root/sql/ha_archive.cc
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2006-01-30 13:09:08 +0100
committerunknown <knielsen@mysql.com>2006-01-30 13:09:08 +0100
commitab88a598cac2fab475f18bda52cf73a2c557ed52 (patch)
tree483aa2c9f0c81f19669e8d449a4092eee90127f9 /sql/ha_archive.cc
parent6151b93dfae6f0961cb93e3dfb98e49f52188376 (diff)
downloadmariadb-git-ab88a598cac2fab475f18bda52cf73a2c557ed52.tar.gz
Windows compile fixes in preparation for 5.1.6 beta.
VC++Files/client/mysqldump.vcproj: Add missing source file. VC++Files/mysql.sln: Fix configuration mismatch. VC++Files/sql/mysqld.vcproj: Enable row-based replication. Add missing source files. scripts/make_win_src_distribution.sh: Add copying of missing directory. sql/event.h: Fix type conflict only visible on Windows. sql/event_executor.cc: Fix non-portable thread stuff. sql/event_timed.cc: Fix type conflict only visible on Windows. sql/ha_archive.cc: Add cast needed for Windows. sql/handler.h: Fix Windows byte * <-> char * mismatch. sql/opt_range.cc: Fix Windows byte * <-> char * mismatch. sql/set_var.cc: BUG#16811 Fix Windows compilation by making the cast-away of volatile implicit (Windows linker does not like volatile <-> non-volatile mismatch, in contrast to Unix) sql/sql_partition.cc: Fix Windows byte * <-> char * mismatch.
Diffstat (limited to 'sql/ha_archive.cc')
-rw-r--r--sql/ha_archive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_archive.cc b/sql/ha_archive.cc
index 06130f31504..65049bac135 100644
--- a/sql/ha_archive.cc
+++ b/sql/ha_archive.cc
@@ -801,7 +801,7 @@ int ha_archive::write_row(byte *buf)
error:
pthread_mutex_unlock(&share->mutex);
if (read_buf)
- my_free(read_buf, MYF(0));
+ my_free((gptr) read_buf, MYF(0));
DBUG_RETURN(rc);
}