diff options
author | monty@mashka.mysql.fi <> | 2003-02-12 21:55:37 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-02-12 21:55:37 +0200 |
commit | e327393e9d2f8df0e2239464bb96a3eafd9de03b (patch) | |
tree | 3ac37e452f15c8f05e9d1f338a6050281f838048 /sql/sql_cache.cc | |
parent | 15aee374560aa905995b1c5af8ac91bc2c0638c2 (diff) | |
download | mariadb-git-e327393e9d2f8df0e2239464bb96a3eafd9de03b.tar.gz |
Fixed a lot of wrong memory references as reported by valgrind
Portability fixes
Added new client function: mysql_get_server_version()
New server help code (From Victor Vagin)
Fixed wrong usage of binary()
Disabled RTREE usage for now.
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 9a4ce1b81a4..90fd61ebeb7 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -857,6 +857,7 @@ end: DBUG_VOID_RETURN; } + /* Check if the query is in the cache. If it was cached, send it to the user. @@ -867,8 +868,6 @@ end: -1 The query was cached but we didn't have rights to use it. No error is sent to the client yet. */ - - int Query_cache::send_result_to_client(THD *thd, char *sql, uint query_length) |