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
9cf77b0b
Commit
9cf77b0b
authored
Oct 24, 2006
by
malff/marcsql@weblab.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed build break.
parent
80649572
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
sql/sql_delete.cc
sql/sql_delete.cc
+4
-3
No files found.
sql/sql_delete.cc
View file @
9cf77b0b
...
...
@@ -862,6 +862,7 @@ bool mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok)
bool
error
;
uint
closed_log_tables
=
0
,
lock_logger
=
0
;
uint
path_length
;
uint
log_type
;
DBUG_ENTER
(
"mysql_truncate"
);
bzero
((
char
*
)
&
create_info
,
sizeof
(
create_info
));
...
...
@@ -913,9 +914,9 @@ bool mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok)
DBUG_RETURN
(
TRUE
);
}
uint
log_type
=
check_if_log_table
(
table_list
->
db_length
,
table_list
->
db
,
table_list
->
table_name_length
,
table_list
->
table_name
,
1
);
log_type
=
check_if_log_table
(
table_list
->
db_length
,
table_list
->
db
,
table_list
->
table_name_length
,
table_list
->
table_name
,
1
);
/* close log tables in use */
if
(
log_type
)
{
...
...
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