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
6b4967e3
Commit
6b4967e3
authored
Nov 19, 2000
by
tim@work.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/d1/users/tim/src/mysql
parents
5f5e3c2d
c89eee10
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+6
-0
client/thread_test.c
client/thread_test.c
+5
-4
sql/ha_berkeley.cc
sql/ha_berkeley.cc
+3
-2
No files found.
BitKeeper/etc/logging_ok
View file @
6b4967e3
jani@prima.mysql.com
jani@prima.mysql.com
jcole@tetra.bedford.progress.com
jcole@tetra.spaceapes.com
monty@donna.mysql.com
monty@donna.mysql.com
monty@narttu.mysql.fi
monty@narttu.mysql.fi
mwagner@evoq.home.mwagner.org
mwagner@work.mysql.com
mwagner@work.mysql.com
sasha@laptop.slkc.uswest.net
sasha@mysql.sashanet.com
sasha@mysql.sashanet.com
sasha@work.mysql.com
serg@serg.mysql.com
serg@serg.mysql.com
tim@threads.polyesthetic.msg
tim@threads.polyesthetic.msg
tim@work.mysql.com
yfaktoro@nslinuxw2.bedford.progress.com
yfaktoro@nslinuxw2.bedford.progress.com
client/thread_test.c
View file @
6b4967e3
...
@@ -16,10 +16,6 @@
...
@@ -16,10 +16,6 @@
MA 02111-1307, USA */
MA 02111-1307, USA */
#include <global.h>
#include <global.h>
#include <my_sys.h>
#include <my_pthread.h>
#include "mysql.h"
#include <getopt.h>
#ifndef THREAD
#ifndef THREAD
...
@@ -30,6 +26,11 @@ int main(int argc, char **argv)
...
@@ -30,6 +26,11 @@ int main(int argc, char **argv)
}
}
#else
#else
#include <my_sys.h>
#include <my_pthread.h>
#include "mysql.h"
#include <getopt.h>
static
my_bool
version
,
verbose
;
static
my_bool
version
,
verbose
;
static
uint
thread_count
,
number_of_tests
=
1000
,
number_of_threads
=
2
;
static
uint
thread_count
,
number_of_tests
=
1000
,
number_of_threads
=
2
;
static
pthread_cond_t
COND_thread_count
;
static
pthread_cond_t
COND_thread_count
;
...
...
sql/ha_berkeley.cc
View file @
6b4967e3
...
@@ -1375,8 +1375,9 @@ int ha_berkeley::external_lock(THD *thd, int lock_type)
...
@@ -1375,8 +1375,9 @@ int ha_berkeley::external_lock(THD *thd, int lock_type)
&&
!
(
thd
->
options
&
OPTION_BEGIN
))
&&
!
(
thd
->
options
&
OPTION_BEGIN
))
{
{
/*
/*
F_UNLOCK is done without a transaction commit / rollback. This
F_UNLOCK is done without a transaction commit / rollback.
means that something went wrong.
This happens if the thread didn't update any rows or if
something went wrong during an update.
We can in this case silenty abort the transaction.
We can in this case silenty abort the transaction.
*/
*/
DBUG_PRINT
(
"trans"
,(
"aborting transaction"
));
DBUG_PRINT
(
"trans"
,(
"aborting transaction"
));
...
...
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