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
f50abc44
Commit
f50abc44
authored
Jan 04, 2003
by
miguel@hegel.br
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings and error VC++ compiler
parent
02810a48
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
client/mysql.cc
client/mysql.cc
+0
-1
sql/sql_test.cc
sql/sql_test.cc
+2
-1
No files found.
client/mysql.cc
View file @
f50abc44
...
...
@@ -1414,7 +1414,6 @@ static int com_server_help(String *buffer __attribute__((unused)),
server_cmd
=
cmd_buf
;
}
char
buff
[
16
],
time_buf
[
32
];
MYSQL_RES
*
result
;
ulong
timer
;
uint
error
=
0
;
...
...
sql/sql_test.cc
View file @
f50abc44
...
...
@@ -276,6 +276,7 @@ static void display_table_locks (void)
VOID
(
pthread_mutex_unlock
(
&
lock
->
mutex
));
}
VOID
(
pthread_mutex_unlock
(
&
THR_LOCK_lock
));
uint
i
;
if
(
!
saved_table_locks
.
elements
)
goto
end
;
qsort
((
gptr
)
dynamic_element
(
&
saved_table_locks
,
0
,
TABLE_LOCK_INFO
*
),
saved_table_locks
.
elements
,
sizeof
(
TABLE_LOCK_INFO
),(
qsort_cmp
)
dl_compare
);
...
...
@@ -283,7 +284,7 @@ static void display_table_locks (void)
puts
(
"
\n
Thread database.table_name Locked/Waiting Lock_type
\n
"
);
for
(
uint
i
=
0
;
i
<
saved_table_locks
.
elements
;
i
++
)
for
(
i
=
0
;
i
<
saved_table_locks
.
elements
;
i
++
)
{
TABLE_LOCK_INFO
*
dl_ptr
=
dynamic_element
(
&
saved_table_locks
,
i
,
TABLE_LOCK_INFO
*
);
printf
(
"%-8ld%-28.28s%-22s%s
\n
"
,
...
...
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