1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Small portability fixes

Docs/manual.texi:
  Portability updates, user addition and changelog for 3.23.24
mysys/thr_rwlock.c:
  Portability fix
scripts/make_binary_distribution.sh:
  Added use of sbindir
scripts/mysql_install_db.sh:
  Fixed usage of defaults files
sql/ha_myisam.cc:
  Cleanup
sql/sql_base.cc:
  Cleanup
This commit is contained in:
unknown
2000-09-07 23:58:43 +03:00
parent e7ab159a75
commit b5b6edce30
6 changed files with 15 additions and 18 deletions

View File

@ -47,7 +47,6 @@ static int send_file(THD *thd)
{
NET* net = &thd->net;
int fd = -1,bytes, error = 1;
uint packet_len;
char fname[FN_REFLEN+1];
char buf[IO_SIZE*15];
const char *errmsg = 0;
@ -61,7 +60,7 @@ static int send_file(THD *thd)
// we need net_flush here because the client will not know it needs to send
// us the file name until it has processed the load event entry
if (net_flush(net) || (packet_len = my_net_read(net)) == packet_error)
if (net_flush(net) || my_net_read(net) == packet_error)
{
errmsg = "Failed reading file name";
goto err;