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
4fccf1c4
Commit
4fccf1c4
authored
Aug 26, 2004
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove default argument to mysql_truncate()
Update to new valgrind
parent
64fa4cc1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+1
-1
sql/mysql_priv.h
sql/mysql_priv.h
+1
-1
sql/sql_parse.cc
sql/sql_parse.cc
+1
-1
No files found.
mysql-test/mysql-test-run.sh
View file @
4fccf1c4
...
...
@@ -352,7 +352,7 @@ while test $# -gt 0; do
$ECHO
"You need to have the 'valgrind' program in your PATH to run mysql-test-run with option --valgrind. Valgrind's home page is http://developer.kde.org/~sewardj ."
exit
1
fi
VALGRIND
=
"
$VALGRIND
--alignment=8 --leak-check=yes --num-callers=16"
VALGRIND
=
"
$VALGRIND
--
tool=memcheck --
alignment=8 --leak-check=yes --num-callers=16"
EXTRA_MASTER_MYSQLD_OPT
=
"
$EXTRA_MASTER_MYSQLD_OPT
--skip-safemalloc --skip-bdb"
EXTRA_SLAVE_MYSQLD_OPT
=
"
$EXTRA_SLAVE_MYSQLD_OPT
--skip-safemalloc --skip-bdb"
SLEEP_TIME_AFTER_RESTART
=
10
...
...
sql/mysql_priv.h
View file @
4fccf1c4
...
...
@@ -477,7 +477,7 @@ int mysql_insert(THD *thd,TABLE_LIST *table,List<Item> &fields,
void
kill_delayed_threads
(
void
);
int
mysql_delete
(
THD
*
thd
,
TABLE_LIST
*
table
,
COND
*
conds
,
ORDER
*
order
,
ha_rows
rows
,
ulong
options
);
int
mysql_truncate
(
THD
*
thd
,
TABLE_LIST
*
table_list
,
bool
dont_send_ok
=
0
);
int
mysql_truncate
(
THD
*
thd
,
TABLE_LIST
*
table_list
,
bool
dont_send_ok
);
TABLE
*
open_ltable
(
THD
*
thd
,
TABLE_LIST
*
table_list
,
thr_lock_type
update
);
TABLE
*
open_table
(
THD
*
thd
,
const
char
*
db
,
const
char
*
table
,
const
char
*
alias
,
bool
*
refresh
);
...
...
sql/sql_parse.cc
View file @
4fccf1c4
...
...
@@ -2046,7 +2046,7 @@ mysql_execute_command(void)
send_error
(
&
thd
->
net
,
ER_LOCK_OR_ACTIVE_TRANSACTION
,
NullS
);
goto
error
;
}
res
=
mysql_truncate
(
thd
,
tables
);
res
=
mysql_truncate
(
thd
,
tables
,
0
);
break
;
case
SQLCOM_DELETE
:
{
...
...
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