summaryrefslogtreecommitdiff
path: root/sql/violite.c
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.fi>2001-05-19 10:14:05 +0300
committerunknown <monty@donna.mysql.fi>2001-05-19 10:14:05 +0300
commitee896803fe2ee3f315766a460a41e9c3dd547173 (patch)
tree21a24d4b07e9788ad18df827c968af3df277a505 /sql/violite.c
parent5ee5f0dbb8b0b96050cd6f7eaf9819a51ffc01d5 (diff)
downloadmariadb-git-ee896803fe2ee3f315766a460a41e9c3dd547173.tar.gz
Force close of sockets on HPUX 10.20
Support option lines longer than 256 chars. Close the slow log at shutdown. Always allow debug options to mysqld. Change some DBUG_PRINT tags. Docs/manual.texi: Small cleanups configure.in: Force close of sockets on HPUX 10.20 mysql-test/t/merge.test: Remove used tables mysys/default.c: Support option lines longer than 256 chars. mysys/mf_keycache.c: Split check_keycache tags sql/mysqld.cc: Move things to 'cleanup'. Close the slow log at shutdown. Always allow debug options sql/violite.c: Change the error tag to vio_error
Diffstat (limited to 'sql/violite.c')
-rw-r--r--sql/violite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/violite.c b/sql/violite.c
index ec08e0a103f..902110ff072 100644
--- a/sql/violite.c
+++ b/sql/violite.c
@@ -179,7 +179,7 @@ int vio_read(Vio * vio, gptr buf, int size)
#ifndef DBUG_OFF
if (r < 0)
{
- DBUG_PRINT("error", ("Got error %d during read",errno));
+ DBUG_PRINT("vio_error", ("Got error %d during read",errno));
}
#endif /* DBUG_OFF */
DBUG_PRINT("exit", ("%d", r));
@@ -207,7 +207,7 @@ int vio_write(Vio * vio, const gptr buf, int size)
#ifndef DBUG_OFF
if (r < 0)
{
- DBUG_PRINT("error", ("Got error on write: %d",errno));
+ DBUG_PRINT("vio_error", ("Got error on write: %d",errno));
}
#endif /* DBUG_OFF */
DBUG_PRINT("exit", ("%d", r));
@@ -346,7 +346,7 @@ int vio_close(Vio * vio)
}
if (r)
{
- DBUG_PRINT("error", ("close() failed, error: %d",errno));
+ DBUG_PRINT("vio_error", ("close() failed, error: %d",errno));
/* FIXME: error handling (not critical for MySQL) */
}
vio->type= VIO_CLOSED;