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
60333fbe
Commit
60333fbe
authored
Apr 12, 2010
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A post-fix patch for WL#4877/WL#5030:
Fix tons of warnings about mismatch struct and class usage.
parent
bbf97ab1
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
20 additions
and
20 deletions
+20
-20
sql/events.h
sql/events.h
+1
-1
sql/lock.h
sql/lock.h
+3
-3
sql/mysqld.h
sql/mysqld.h
+1
-1
sql/rpl_filter.h
sql/rpl_filter.h
+1
-1
sql/sp.h
sql/sp.h
+1
-1
sql/sql_base.h
sql/sql_base.h
+3
-3
sql/sql_cache.h
sql/sql_cache.h
+1
-1
sql/sql_delete.h
sql/sql_delete.h
+1
-1
sql/sql_derived.h
sql/sql_derived.h
+1
-1
sql/sql_handler.h
sql/sql_handler.h
+1
-1
sql/sql_parse.h
sql/sql_parse.h
+1
-1
sql/sql_profile.h
sql/sql_profile.h
+1
-1
sql/sql_table.h
sql/sql_table.h
+1
-1
sql/sql_update.h
sql/sql_update.h
+1
-1
sql/table.h
sql/table.h
+2
-2
No files found.
sql/events.h
View file @
60333fbe
...
@@ -39,7 +39,7 @@ class Event_db_repository;
...
@@ -39,7 +39,7 @@ class Event_db_repository;
class
Event_parse_data
;
class
Event_parse_data
;
class
Event_queue
;
class
Event_queue
;
class
Event_scheduler
;
class
Event_scheduler
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
THD
;
class
THD
;
typedef
class
Item
COND
;
typedef
class
Item
COND
;
typedef
struct
charset_info_st
CHARSET_INFO
;
typedef
struct
charset_info_st
CHARSET_INFO
;
...
...
sql/lock.h
View file @
60333fbe
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
#include "thr_lock.h"
/* thr_lock_type */
#include "thr_lock.h"
/* thr_lock_type */
// Forward declarations
// Forward declarations
class
TABLE
;
struct
TABLE
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
THD
;
class
THD
;
typedef
struct
st_mysql_lock
MYSQL_LOCK
;
typedef
struct
st_mysql_lock
MYSQL_LOCK
;
...
@@ -55,7 +55,7 @@ typedef struct st_mysql_lock MYSQL_LOCK;
...
@@ -55,7 +55,7 @@ typedef struct st_mysql_lock MYSQL_LOCK;
#include "thr_lock.h"
/* thr_lock_type */
#include "thr_lock.h"
/* thr_lock_type */
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
THD
;
class
THD
;
struct
TABLE
;
struct
TABLE
;
typedef
struct
st_mysql_lock
MYSQL_LOCK
;
typedef
struct
st_mysql_lock
MYSQL_LOCK
;
...
...
sql/mysqld.h
View file @
60333fbe
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include "sql_list.h"
/* I_List */
#include "sql_list.h"
/* I_List */
class
THD
;
class
THD
;
class
handlerton
;
struct
handlerton
;
class
Time_zone
;
class
Time_zone
;
class
scheduler_functions
;
class
scheduler_functions
;
...
...
sql/rpl_filter.h
View file @
60333fbe
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "hash.h"
/* HASH */
#include "hash.h"
/* HASH */
class
String
;
class
String
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
typedef
struct
st_dynamic_array
DYNAMIC_ARRAY
;
typedef
struct
st_dynamic_array
DYNAMIC_ARRAY
;
typedef
struct
st_table_rule_ent
typedef
struct
st_table_rule_ent
...
...
sql/sp.h
View file @
60333fbe
...
@@ -29,7 +29,7 @@ class THD;
...
@@ -29,7 +29,7 @@ class THD;
class
sp_cache
;
class
sp_cache
;
class
sp_head
;
class
sp_head
;
class
sp_name
;
class
sp_name
;
class
st_sp_chistics
;
struct
st_sp_chistics
;
struct
LEX
;
struct
LEX
;
struct
TABLE
;
struct
TABLE
;
struct
TABLE_LIST
;
struct
TABLE_LIST
;
...
...
sql/sql_base.h
View file @
60333fbe
...
@@ -23,13 +23,13 @@
...
@@ -23,13 +23,13 @@
#include "mysqld.h"
/* key_map */
#include "mysqld.h"
/* key_map */
class
Item_ident
;
class
Item_ident
;
class
Name_resolution_context
;
struct
Name_resolution_context
;
class
Open_table_context
;
class
Open_table_context
;
class
Open_tables_state
;
class
Open_tables_state
;
class
Prelocking_strategy
;
class
Prelocking_strategy
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
THD
;
class
THD
;
class
handlerton
;
struct
handlerton
;
struct
TABLE
;
struct
TABLE
;
typedef
class
st_select_lex
SELECT_LEX
;
typedef
class
st_select_lex
SELECT_LEX
;
...
...
sql/sql_cache.h
View file @
60333fbe
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "my_base.h"
/* ha_rows */
#include "my_base.h"
/* ha_rows */
class
MY_LOCALE
;
class
MY_LOCALE
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
Time_zone
;
class
Time_zone
;
struct
LEX
;
struct
LEX
;
struct
TABLE
;
struct
TABLE
;
...
...
sql/sql_delete.h
View file @
60333fbe
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include "my_base.h"
/* ha_rows */
#include "my_base.h"
/* ha_rows */
class
THD
;
class
THD
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
Item
;
class
Item
;
typedef
class
Item
COND
;
typedef
class
Item
COND
;
...
...
sql/sql_derived.h
View file @
60333fbe
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#ifndef SQL_DERIVED_INCLUDED
#ifndef SQL_DERIVED_INCLUDED
#define SQL_DERIVED_INCLUDED
#define SQL_DERIVED_INCLUDED
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
THD
;
class
THD
;
struct
LEX
;
struct
LEX
;
...
...
sql/sql_handler.h
View file @
60333fbe
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "sql_list.h"
/* List */
#include "sql_list.h"
/* List */
class
THD
;
class
THD
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
bool
mysql_ha_open
(
THD
*
thd
,
TABLE_LIST
*
tables
,
bool
reopen
);
bool
mysql_ha_open
(
THD
*
thd
,
TABLE_LIST
*
tables
,
bool
reopen
);
bool
mysql_ha_close
(
THD
*
thd
,
TABLE_LIST
*
tables
);
bool
mysql_ha_close
(
THD
*
thd
,
TABLE_LIST
*
tables
);
...
...
sql/sql_parse.h
View file @
60333fbe
...
@@ -23,7 +23,7 @@ class Comp_creator;
...
@@ -23,7 +23,7 @@ class Comp_creator;
class
Item
;
class
Item
;
class
Object_creation_ctx
;
class
Object_creation_ctx
;
class
Parser_state
;
class
Parser_state
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
THD
;
class
THD
;
class
Table_ident
;
class
Table_ident
;
struct
LEX
;
struct
LEX
;
...
...
sql/sql_profile.h
View file @
60333fbe
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#define _SQL_PROFILE_H
#define _SQL_PROFILE_H
class
Item
;
class
Item
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
THD
;
class
THD
;
typedef
struct
st_field_info
ST_FIELD_INFO
;
typedef
struct
st_field_info
ST_FIELD_INFO
;
typedef
struct
st_schema_table
ST_SCHEMA_TABLE
;
typedef
struct
st_schema_table
ST_SCHEMA_TABLE
;
...
...
sql/sql_table.h
View file @
60333fbe
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
class
Alter_info
;
class
Alter_info
;
class
Alter_info
;
class
Alter_info
;
class
Create_field
;
class
Create_field
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
THD
;
class
THD
;
struct
TABLE
;
struct
TABLE
;
struct
handlerton
;
struct
handlerton
;
...
...
sql/sql_update.h
View file @
60333fbe
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include "sql_class.h"
/* enum_duplicates */
#include "sql_class.h"
/* enum_duplicates */
class
Item
;
class
Item
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
THD
;
class
THD
;
typedef
class
st_select_lex
SELECT_LEX
;
typedef
class
st_select_lex
SELECT_LEX
;
...
...
sql/table.h
View file @
60333fbe
...
@@ -39,10 +39,10 @@ class st_select_lex;
...
@@ -39,10 +39,10 @@ class st_select_lex;
class
partition_info
;
class
partition_info
;
class
COND_EQUAL
;
class
COND_EQUAL
;
class
Security_context
;
class
Security_context
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
ACL_internal_schema_access
;
class
ACL_internal_schema_access
;
class
ACL_internal_table_access
;
class
ACL_internal_table_access
;
class
TABLE_LIST
;
struct
TABLE_LIST
;
class
Field
;
class
Field
;
/*
/*
...
...
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