diff options
author | unknown <monty@hundin.mysql.fi> | 2001-08-31 10:30:38 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-08-31 10:30:38 +0300 |
commit | 473eba04ad075380d011f8fa0890356399ce3796 (patch) | |
tree | 4db78f448359f81b669c6df9e5b0b3d10bbd8a25 | |
parent | 480276fd7bc1db8b1ae57384056d4637c916ff45 (diff) | |
download | mariadb-git-473eba04ad075380d011f8fa0890356399ce3796.tar.gz |
ix compilition for computer in a previous timezone
Build-tools/Do-compile:
Fix compilition for computer in a previous timezone
sql/net_serv.cc:
Added comment
sql/sql_parse.cc:
Cleanup
-rwxr-xr-x | Build-tools/Do-compile | 2 | ||||
-rw-r--r-- | sql/net_serv.cc | 2 | ||||
-rw-r--r-- | sql/sql_parse.cc | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile index 6f9854a0792..0bea693a441 100755 --- a/Build-tools/Do-compile +++ b/Build-tools/Do-compile @@ -111,6 +111,8 @@ safe_cd($ver); if ($opt_stage <= 1) { $opt_config_options.=" --with-low-memory" if ($opt_with_low_memory); + # Fix files if this is in another timezone than work.mysql.com + log_system("touch *"); unlink("config.cache"); log_system("$make clean") if ($opt_use_old_distribution); if ($opt_static_server) diff --git a/sql/net_serv.cc b/sql/net_serv.cc index ba0944a2516..c9bfd977e78 100644 --- a/sql/net_serv.cc +++ b/sql/net_serv.cc @@ -177,7 +177,7 @@ static my_bool net_realloc(NET *net, ulong length) void net_clear(NET *net) { #ifndef EXTRA_DEBUG - int count; + int count; // One may get 'unused' warning bool is_blocking=vio_is_blocking(net->vio); if (is_blocking) vio_blocking(net->vio, FALSE); diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 99fc0fc8fbf..816825c8cc1 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -174,7 +174,6 @@ static bool check_user(THD *thd,enum_server_command command, const char *user, */ static HASH hash_user_connections; -static DYNAMIC_ARRAY user_conn_array; extern pthread_mutex_t LOCK_user_conn; struct user_conn { |