mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/d1/users/tim/src/mysql
This commit is contained in:
commit
6b4967e3e5
3 changed files with 14 additions and 6 deletions
|
@ -1,8 +1,14 @@
|
|||
jani@prima.mysql.com
|
||||
jcole@tetra.bedford.progress.com
|
||||
jcole@tetra.spaceapes.com
|
||||
monty@donna.mysql.com
|
||||
monty@narttu.mysql.fi
|
||||
mwagner@evoq.home.mwagner.org
|
||||
mwagner@work.mysql.com
|
||||
sasha@laptop.slkc.uswest.net
|
||||
sasha@mysql.sashanet.com
|
||||
sasha@work.mysql.com
|
||||
serg@serg.mysql.com
|
||||
tim@threads.polyesthetic.msg
|
||||
tim@work.mysql.com
|
||||
yfaktoro@nslinuxw2.bedford.progress.com
|
||||
|
|
|
@ -16,10 +16,6 @@
|
|||
MA 02111-1307, USA */
|
||||
|
||||
#include <global.h>
|
||||
#include <my_sys.h>
|
||||
#include <my_pthread.h>
|
||||
#include "mysql.h"
|
||||
#include <getopt.h>
|
||||
|
||||
#ifndef THREAD
|
||||
|
||||
|
@ -30,6 +26,11 @@ int main(int argc, char **argv)
|
|||
}
|
||||
#else
|
||||
|
||||
#include <my_sys.h>
|
||||
#include <my_pthread.h>
|
||||
#include "mysql.h"
|
||||
#include <getopt.h>
|
||||
|
||||
static my_bool version,verbose;
|
||||
static uint thread_count,number_of_tests=1000,number_of_threads=2;
|
||||
static pthread_cond_t COND_thread_count;
|
||||
|
|
|
@ -1375,8 +1375,9 @@ int ha_berkeley::external_lock(THD *thd, int lock_type)
|
|||
&& !(thd->options & OPTION_BEGIN))
|
||||
{
|
||||
/*
|
||||
F_UNLOCK is done without a transaction commit / rollback. This
|
||||
means that something went wrong.
|
||||
F_UNLOCK is done without a transaction commit / rollback.
|
||||
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.
|
||||
*/
|
||||
DBUG_PRINT("trans",("aborting transaction"));
|
||||
|
|
Loading…
Add table
Reference in a new issue