summaryrefslogtreecommitdiff
path: root/mysys/my_lwrite.c
diff options
context:
space:
mode:
authorunknown <tsmith/tim@siva.hindu.god>2006-09-14 23:20:13 -0600
committerunknown <tsmith/tim@siva.hindu.god>2006-09-14 23:20:13 -0600
commitac1a030e34aa4ca29cd93679541e2f9fbeb83382 (patch)
tree7e5caf8377fbd0f5505ff2bd40395415af23304f /mysys/my_lwrite.c
parentda5e2660b7ecea8b255f8b7e4f69c61d157918d7 (diff)
parentd7a1f97c15fc5adaaf3116b8fb9ee32783498165 (diff)
downloadmariadb-git-ac1a030e34aa4ca29cd93679541e2f9fbeb83382.tar.gz
Merge siva.hindu.god:/usr/home/tim/m/bk/tmp/40
into siva.hindu.god:/usr/home/tim/m/bk/tmp/41 mysys/my_lwrite.c: Auto merged mysys/my_pread.c: Auto merged mysys/my_read.c: Auto merged mysys/my_write.c: Auto merged
Diffstat (limited to 'mysys/my_lwrite.c')
-rw-r--r--mysys/my_lwrite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/my_lwrite.c b/mysys/my_lwrite.c
index 3b9afdbd71f..02c56a69ba4 100644
--- a/mysys/my_lwrite.c
+++ b/mysys/my_lwrite.c
@@ -26,6 +26,8 @@ uint32 my_lwrite(int Filedes, const byte *Buffer, uint32 Count, myf MyFlags)
DBUG_PRINT("my",("Fd: %d Buffer: 0x%lx Count: %ld MyFlags: %d",
Filedes, Buffer, Count, MyFlags));
+ DBUG_PRINT("error", ("Deprecated my_lwrite() function should not be used."));
+
/* Temp hack to get count to int32 while write wants int */
if ((writenbytes = (uint32) write(Filedes, Buffer, (uint) Count)) != Count)
{