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
6e955625
Commit
6e955625
authored
Jul 22, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-5.0-build
into mysql.com:/home/jimw/my/mysql-5.0-clean
parents
49e56364
e15dd022
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
include/config-win.h
include/config-win.h
+1
-0
mysys/thr_lock.c
mysys/thr_lock.c
+1
-6
sql/ha_federated.cc
sql/ha_federated.cc
+0
-1
No files found.
include/config-win.h
View file @
6e955625
...
...
@@ -285,6 +285,7 @@ inline double ulonglong2double(ulonglong value)
*(((long *) T)+1) = *(((long*) &V)+1); }
#define float4get(V,M) { *((long *) &(V)) = *((long*) (M)); }
#define floatstore(T,V) memcpy((byte*)(T), (byte*)(&V), sizeof(float))
#define floatget(V,M) memcpy((byte*)(&V), (byte*)(M), sizeof(float))
#define float8get(V,M) doubleget((V),(M))
#define float4store(V,M) memcpy((byte*) V,(byte*) (&M),sizeof(float))
#define float8store(V,M) doublestore((V),(M))
...
...
mysys/thr_lock.c
View file @
6e955625
...
...
@@ -388,7 +388,6 @@ wait_for_lock(struct st_lock_list *wait, THR_LOCK_DATA *data,
{
struct
st_my_thread_var
*
thread_var
=
my_thread_var
;
pthread_cond_t
*
cond
=
&
thread_var
->
suspend
;
struct
timeval
now
;
struct
timespec
wait_timeout
;
enum
enum_thr_lock_result
result
=
THR_LOCK_ABORTED
;
my_bool
can_deadlock
=
test
(
data
->
owner
->
info
->
n_cursors
);
...
...
@@ -406,11 +405,7 @@ wait_for_lock(struct st_lock_list *wait, THR_LOCK_DATA *data,
data
->
cond
=
cond
;
if
(
can_deadlock
)
{
gettimeofday
(
&
now
,
0
);
wait_timeout
.
tv_sec
=
now
.
tv_sec
+
table_lock_wait_timeout
;
wait_timeout
.
tv_nsec
=
now
.
tv_usec
*
1000
;
}
set_timespec
(
wait_timeout
,
table_lock_wait_timeout
);
while
(
!
thread_var
->
abort
||
in_wait_list
)
{
int
rc
=
can_deadlock
?
pthread_cond_timedwait
(
cond
,
&
data
->
lock
->
mutex
,
...
...
sql/ha_federated.cc
View file @
6e955625
...
...
@@ -765,7 +765,6 @@ uint ha_federated::convert_row_to_internal_format(byte *record, MYSQL_ROW row)
(
*
field
)
->
move_field
(
-
old_ptr
);
}
DBUG_DUMP
(
"record"
,
record
,
table
->
s
->
reclength
);
DBUG_RETURN
(
0
);
}
...
...
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