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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
6571f513
Commit
6571f513
authored
May 23, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#20018 Class declared inside of function causes problem with gcc 2.95.3
- Move class MY_HOOKS out of function
parent
30be7555
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
sql/sql_insert.cc
sql/sql_insert.cc
+13
-13
No files found.
sql/sql_insert.cc
View file @
6571f513
...
@@ -2674,13 +2674,8 @@ static TABLE *create_table_from_items(THD *thd, HA_CREATE_INFO *create_info,
...
@@ -2674,13 +2674,8 @@ static TABLE *create_table_from_items(THD *thd, HA_CREATE_INFO *create_info,
}
}
int
class
MY_HOOKS
:
public
TABLEOP_HOOKS
{
select_create
::
prepare
(
List
<
Item
>
&
values
,
SELECT_LEX_UNIT
*
u
)
public:
{
DBUG_ENTER
(
"select_create::prepare"
);
class
MY_HOOKS
:
public
TABLEOP_HOOKS
{
public:
MY_HOOKS
(
select_create
*
x
)
:
ptr
(
x
)
{
}
MY_HOOKS
(
select_create
*
x
)
:
ptr
(
x
)
{
}
virtual
void
do_prelock
(
TABLE
**
tables
,
uint
count
)
virtual
void
do_prelock
(
TABLE
**
tables
,
uint
count
)
{
{
...
@@ -2688,9 +2683,14 @@ select_create::prepare(List<Item> &values, SELECT_LEX_UNIT *u)
...
@@ -2688,9 +2683,14 @@ select_create::prepare(List<Item> &values, SELECT_LEX_UNIT *u)
ptr
->
binlog_show_create_table
(
tables
,
count
);
ptr
->
binlog_show_create_table
(
tables
,
count
);
}
}
private:
private:
select_create
*
ptr
;
select_create
*
ptr
;
};
};
int
select_create
::
prepare
(
List
<
Item
>
&
values
,
SELECT_LEX_UNIT
*
u
)
{
DBUG_ENTER
(
"select_create::prepare"
);
MY_HOOKS
hooks
(
this
);
MY_HOOKS
hooks
(
this
);
...
...
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