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
595d087e
Commit
595d087e
authored
Jun 14, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
a1844441
c417a276
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
sql/sql_class.h
sql/sql_class.h
+5
-3
sql/sql_delete.cc
sql/sql_delete.cc
+2
-1
No files found.
sql/sql_class.h
View file @
595d087e
...
@@ -603,12 +603,14 @@ public:
...
@@ -603,12 +603,14 @@ public:
byte
*
dup_checking
;
byte
*
dup_checking
;
THD
*
thd
;
THD
*
thd
;
ha_rows
deleted
;
ha_rows
deleted
;
int
num_of_tables
,
error
;
uint
num_of_tables
;
int
error
;
thr_lock_type
lock_option
;
thr_lock_type
lock_option
;
bool
do_delete
;
bool
do_delete
;
public:
public:
multi_delete
(
TABLE_LIST
*
dt
,
thr_lock_type
o
,
uint
n
)
multi_delete
(
TABLE_LIST
*
dt
,
thr_lock_type
lock_option_arg
,
uint
n
)
:
delete_tables
(
dt
),
deleted
(
0
),
num_of_tables
(
n
),
error
(
0
),
lock_option
(
o
)
:
delete_tables
(
dt
),
deleted
(
0
),
num_of_tables
(
n
),
error
(
0
),
lock_option
(
lock_option_arg
)
{
{
thd
=
current_thd
;
do_delete
=
false
;
thd
=
current_thd
;
do_delete
=
false
;
}
}
...
...
sql/sql_delete.cc
View file @
595d087e
...
@@ -809,7 +809,8 @@ int multi_delete::do_deletes (bool from_send_error)
...
@@ -809,7 +809,8 @@ int multi_delete::do_deletes (bool from_send_error)
#ifdef SINISAS_STRIP
#ifdef SINISAS_STRIP
delete
select
;
delete
select
;
#endif
#endif
if
(
error
=
-
1
)
error
=
0
;
if
(
error
==
-
1
)
error
=
0
;
#if 0
#if 0
}
}
#endif
#endif
...
...
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