mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
after merge fix
myisam/Makefile.am: put zlib at the end (libtool adds the whole bunch of dependencies right after that) sql/Makefile.am: put zlib at the end (libtool adds the whole bunch of dependencies right after that)
This commit is contained in:
@ -21,8 +21,7 @@ INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include
|
|||||||
LDADD = @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \
|
||||||
$(top_builddir)/mysys/libmysys.a \
|
$(top_builddir)/mysys/libmysys.a \
|
||||||
$(top_builddir)/dbug/libdbug.a \
|
$(top_builddir)/dbug/libdbug.a \
|
||||||
@ZLIB_LIBS@ \
|
$(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@
|
||||||
$(top_builddir)/strings/libmystrings.a
|
|
||||||
pkglib_LIBRARIES = libmyisam.a
|
pkglib_LIBRARIES = libmyisam.a
|
||||||
bin_PROGRAMS = myisamchk myisamlog myisampack myisam_ftdump
|
bin_PROGRAMS = myisamchk myisamlog myisampack myisam_ftdump
|
||||||
myisamchk_DEPENDENCIES= $(LIBRARIES)
|
myisamchk_DEPENDENCIES= $(LIBRARIES)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
create table t1 (a int) type=innodb;
|
create table t1 (a int) engine=innodb;
|
||||||
begin;
|
begin;
|
||||||
insert into t1 values(1);
|
insert into t1 values(1);
|
||||||
flush tables with read lock;
|
flush tables with read lock;
|
||||||
|
@ -8,8 +8,11 @@ connect (con1,localhost,root,,);
|
|||||||
connect (con2,localhost,root,,);
|
connect (con2,localhost,root,,);
|
||||||
connect (con3,localhost,root,,);
|
connect (con3,localhost,root,,);
|
||||||
connection con1;
|
connection con1;
|
||||||
|
|
||||||
|
--disable_warnings
|
||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
create table t1 (a int) type=innodb;
|
--enable_warnings
|
||||||
|
create table t1 (a int) engine=innodb;
|
||||||
|
|
||||||
# blocks COMMIT ?
|
# blocks COMMIT ?
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ noinst_PROGRAMS = gen_lex_hash
|
|||||||
bin_PROGRAMS = mysql_tzinfo_to_sql
|
bin_PROGRAMS = mysql_tzinfo_to_sql
|
||||||
gen_lex_hash_LDFLAGS = @NOINST_LDFLAGS@
|
gen_lex_hash_LDFLAGS = @NOINST_LDFLAGS@
|
||||||
LDADD = @isam_libs@ \
|
LDADD = @isam_libs@ \
|
||||||
@ZLIB_LIBS@ \
|
|
||||||
$(top_builddir)/myisam/libmyisam.a \
|
$(top_builddir)/myisam/libmyisam.a \
|
||||||
$(top_builddir)/myisammrg/libmyisammrg.a \
|
$(top_builddir)/myisammrg/libmyisammrg.a \
|
||||||
$(top_builddir)/heap/libheap.a \
|
$(top_builddir)/heap/libheap.a \
|
||||||
@ -38,7 +37,7 @@ LDADD = @isam_libs@ \
|
|||||||
$(top_builddir)/mysys/libmysys.a \
|
$(top_builddir)/mysys/libmysys.a \
|
||||||
$(top_builddir)/dbug/libdbug.a \
|
$(top_builddir)/dbug/libdbug.a \
|
||||||
$(top_builddir)/regex/libregex.a \
|
$(top_builddir)/regex/libregex.a \
|
||||||
$(top_builddir)/strings/libmystrings.a
|
$(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@
|
||||||
|
|
||||||
mysqld_LDADD = @MYSQLD_EXTRA_LDFLAGS@ \
|
mysqld_LDADD = @MYSQLD_EXTRA_LDFLAGS@ \
|
||||||
@bdb_libs@ @innodb_libs@ @pstack_libs@ \
|
@bdb_libs@ @innodb_libs@ @pstack_libs@ \
|
||||||
|
@ -476,7 +476,7 @@ int ha_commit_trans(THD *thd, THD_TRANS* trans)
|
|||||||
#ifdef USING_TRANSACTIONS
|
#ifdef USING_TRANSACTIONS
|
||||||
if (opt_using_transactions)
|
if (opt_using_transactions)
|
||||||
{
|
{
|
||||||
bool operation_done= 0;
|
bool transaction_commited= 0;
|
||||||
bool operation_done= 0, need_start_waiters= 0;
|
bool operation_done= 0, need_start_waiters= 0;
|
||||||
|
|
||||||
/* If transaction has done some updates to tables */
|
/* If transaction has done some updates to tables */
|
||||||
|
@ -498,7 +498,7 @@ int mysql_alter_db(THD *thd, const char *db, HA_CREATE_INFO *create_info)
|
|||||||
VOID(pthread_mutex_lock(&LOCK_mysql_create_db));
|
VOID(pthread_mutex_lock(&LOCK_mysql_create_db));
|
||||||
|
|
||||||
// do not alter database if another thread is holding read lock
|
// do not alter database if another thread is holding read lock
|
||||||
if ((error=wait_if_global_read_lock(thd,0)))
|
if ((error=wait_if_global_read_lock(thd,0,1)))
|
||||||
goto exit2;
|
goto exit2;
|
||||||
|
|
||||||
/* Check directory */
|
/* Check directory */
|
||||||
|
@ -48,7 +48,7 @@ bool mysql_rename_tables(THD *thd, TABLE_LIST *table_list)
|
|||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wait_if_global_read_lock(thd,0))
|
if (wait_if_global_read_lock(thd,0,1))
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
VOID(pthread_mutex_lock(&LOCK_open));
|
VOID(pthread_mutex_lock(&LOCK_open));
|
||||||
if (lock_table_names(thd, table_list))
|
if (lock_table_names(thd, table_list))
|
||||||
|
@ -1206,7 +1206,7 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
|
|||||||
my_error(ER_TABLE_EXISTS_ERROR, MYF(0), alias);
|
my_error(ER_TABLE_EXISTS_ERROR, MYF(0), alias);
|
||||||
DBUG_RETURN(-1);
|
DBUG_RETURN(-1);
|
||||||
}
|
}
|
||||||
if (wait_if_global_read_lock(thd, 0))
|
if (wait_if_global_read_lock(thd, 0, 1))
|
||||||
DBUG_RETURN(error);
|
DBUG_RETURN(error);
|
||||||
VOID(pthread_mutex_lock(&LOCK_open));
|
VOID(pthread_mutex_lock(&LOCK_open));
|
||||||
if (!tmp_table && !(create_info->options & HA_LEX_CREATE_TMP_TABLE))
|
if (!tmp_table && !(create_info->options & HA_LEX_CREATE_TMP_TABLE))
|
||||||
|
Reference in New Issue
Block a user