Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
efc27b5f
Commit
efc27b5f
authored
Oct 16, 2009
by
Konstantin Osipov
Browse files
Options
Browse Files
Download
Plain Diff
Merge with next-mr-runtime
parents
66774f41
311fe126
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
25 deletions
+25
-25
sql/sql_cache.cc
sql/sql_cache.cc
+4
-4
sql/sql_class.h
sql/sql_class.h
+21
-21
No files found.
sql/sql_cache.cc
View file @
efc27b5f
...
@@ -2114,10 +2114,10 @@ ulong Query_cache::init_cache()
...
@@ -2114,10 +2114,10 @@ ulong Query_cache::init_cache()
file system) and so should use case insensitive collation for
file system) and so should use case insensitive collation for
comparison.
comparison.
*/
*/
VOID
(
hash_init
(
&
tables
,
VOID
(
my_
hash_init
(
&
tables
,
lower_case_table_names
?
&
my_charset_bin
:
lower_case_table_names
?
&
my_charset_bin
:
files_charset_info
,
files_charset_info
,
def_table_hash_size
,
0
,
0
,
query_cache_table_get_key
,
0
,
0
));
def_table_hash_size
,
0
,
0
,
query_cache_table_get_key
,
0
,
0
));
#endif
#endif
queries_in_cache
=
0
;
queries_in_cache
=
0
;
...
...
sql/sql_class.h
View file @
efc27b5f
...
@@ -280,6 +280,27 @@ public:
...
@@ -280,6 +280,27 @@ public:
LEX_COLUMN
(
const
String
&
x
,
const
uint
&
y
)
:
column
(
x
),
rights
(
y
)
{}
LEX_COLUMN
(
const
String
&
x
,
const
uint
&
y
)
:
column
(
x
),
rights
(
y
)
{}
};
};
/**
Query_cache_tls -- query cache thread local data.
*/
struct
Query_cache_block
;
struct
Query_cache_tls
{
/*
'first_query_block' should be accessed only via query cache
functions and methods to maintain proper locking.
*/
Query_cache_block
*
first_query_block
;
void
set_first_query_block
(
Query_cache_block
*
first_query_block_arg
)
{
first_query_block
=
first_query_block_arg
;
}
Query_cache_tls
()
:
first_query_block
(
NULL
)
{}
};
/* SIGNAL / RESIGNAL / GET DIAGNOSTICS */
/* SIGNAL / RESIGNAL / GET DIAGNOSTICS */
/**
/**
...
@@ -315,27 +336,6 @@ typedef enum enum_diag_condition_item_name
...
@@ -315,27 +336,6 @@ typedef enum enum_diag_condition_item_name
*/
*/
extern
const
LEX_STRING
Diag_condition_item_names
[];
extern
const
LEX_STRING
Diag_condition_item_names
[];
/**
Query_cache_tls -- query cache thread local data.
*/
class
Query_cache_block
;
struct
Query_cache_tls
{
/*
'first_query_block' should be accessed only via query cache
functions and methods to maintain proper locking.
*/
Query_cache_block
*
first_query_block
;
void
set_first_query_block
(
Query_cache_block
*
first_query_block_arg
)
{
first_query_block
=
first_query_block_arg
;
}
Query_cache_tls
()
:
first_query_block
(
NULL
)
{}
};
#include "sql_lex.h"
/* Must be here */
#include "sql_lex.h"
/* Must be here */
class
Delayed_insert
;
class
Delayed_insert
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment